Skip to main content
Text, images or video → video. Depending on the model: text-to-video, image-to-video from a start (and often an end) frame, reference-to-video, and editing or extending a video you supply. Many models also generate audio. Each model has its own endpoint, POST /v1/videos/{model}.

Models

19 models. Each name opens its API reference with every parameter. Modes, lengths and resolutions differ by model. Video generation modes compares them, and Video output format explains the codec each one returns.

How a request works

  1. Send POST /v1/videos/{model} with your prompt and inputs. The response returns a job id right away.
  2. Poll GET /v1/videos/{job_id} every 15 to 30 seconds until status is succeeded; video takes minutes. The response then holds the video URL.
Async jobs covers job statuses and errors, and Media inputs covers passing images, video and audio.

Pricing

Video is priced per second of output, by resolution, and some inputs add to that. GET /v1/models?type=video returns current prices, and POST /v1/cost quotes a request before you send it. You pay only for jobs that succeed; see Pricing & credits.