Skip to main content
POST /v1/videos/generations starts a video task.
The call returns a task id straight away:
Then wait for it:
When status is completed, the file is at result.videos[0].url[0].

Fields for p-video

A field that is not in this table returns HTTP 400. Reference images and audio are not supported yet.

Price

Priced per second of output. A 5-second 720p video is $0.10 at list. The whole price is reserved when you create the task and refunded if it fails.
Use "draft": true to test a prompt cheaply, then run it again without draft once you like the result. Pass the same seed to keep the composition close.

Timing

A short draft takes about half a minute. Longer and higher-resolution videos take a few minutes. A task that has not finished after 20 minutes is failed and refunded.