Text to Video
Generate videos from text descriptions using AI video generation models. Supported model_id are wan2.2 and ltx-2.3. Any other models passed will be ignored and defauted to wan2.2
POST
Generate video from text prompt
Request
Make aPOST request to the endpoint below with the required parameters.
Body
json
Async Pattern
Since video generation takes time, use this pattern:Tips for Better Videos
Describe Motion
Describe Motion
Unlike images, videos need motion descriptions:
- ❌ “A cat”
- ✅ “A cat walking across a sunny room, tail swaying”
Keep It Simple
Keep It Simple
Video models work best with clear, focused prompts. Avoid overly complex scenes.
Use Upscaling
Use Upscaling
Generate at 512x512 then use upscale parameters for higher resolution output.
Choose Output Format
Choose Output Format
- MP4: Best for most uses, smaller file size
- GIF: Good for short loops, works everywhere
Body
application/json
Response
Video generation response

