POST /v1/videossubmits the task and returns itsid.GET /v1/videos/{id}reports progress untilstatusiscompletedorfailed.GET /v1/videos/{id}/contentdownloads the MP4.
Authorization: Bearer YOUR_API_KEY. The request shape follows the OpenAI Videos API; model-specific options go in metadata or in the fields listed on each model page.
1. Submit
2. Poll
A video takes from about a minute to half an hour depending on the model, length and load. Poll every 15–30 seconds; faster polling does not make it finish sooner.
3. Download
Input files
First frames, last frames and reference media must be publichttp(s) URLs. Base64 and file uploads are not accepted, except where a model page says otherwise. Make sure the URL is reachable without cookies or sign-in.
Billing
Video is billed by the second. When you submit, the cost of the requested length is held from your balance; when the task finishes, it is settled against the actual length, and a failed task is refunded in full. Prices per second are on Models & pricing.Common errors
See also Errors.