Video generation can take several minutes depending on the model and parameters. Use the Get Video endpoint to check the status.
Request Body
This endpoint acceptsmultipart/form-data.
string
required
The video generation model to use (e.g.,
sora-2).string
required
A text description of the video to generate.
string
The dimensions of the output video (e.g.,
1920x1080, 1080x1920, 1280x720).string
The duration of the video in seconds.
file
An optional reference image or video to guide generation.
Response
string
Unique identifier for the video generation task.
string
The current status of the video generation. Possible values:
pending, processing, completed, failed.integer
Unix timestamp of when the task was created.
Examples
Basic Video Generation
With Reference Image
Response Example
Workflow
- Create Video - Submit your prompt and receive a video ID
- Poll Status - Use Get Video to check when processing completes
- Download - Use Download Video to retrieve the final video
