Create Video
Submits an asynchronous video generation job. Video generation is a long-running process, so this endpoint returns immediately with a job ID. Use the Get Video Status endpoint to poll for completion, then Download Video to retrieve the result.Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | The video generation model to use. |
prompt | string | Yes | A text description of the video to generate. |
duration | number | No | Duration of the video in seconds. |
aspect_ratio | string | No | Aspect ratio of the output video (e.g., 16:9, 9:16, 1:1). |
Example Request
Response
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the video generation job. |
status | string | Initial status of the job. Always queued on creation. |
Next Steps
After submitting a video job:- Poll GET /v1/videos/ until
statusiscompletedorfailed. - Once completed, download the video from GET /v1/videos//download.