Create an Omni video
Create a beta Omni video task through CometAPI with POST /v1/videos, then poll the task and download the completed MP4 file.
id and poll the task until it reaches a terminal status.
Beta
POST /v1/videos uses multipart/form-data; pass scalar controls as form fields.
Choose an input mode
| Goal | Required fields | Optional fields |
|---|---|---|
| Text-to-video | model, prompt | seconds, aspect_ratio, resolution |
model=omni-fast for this page.
Set duration, ratio, and resolution
Omni is marked beta because generation stability can vary by input and selected route. Keep the first request small, then inspect the completed video before relying on a specific rendered duration or frame size.| Setting | Supported values | Default | Boundary behavior |
|---|---|---|---|
seconds | Start with 4 | 4 | Use short clips first while this endpoint is beta. |
aspect_ratio | 16:9, 9:16, 1:1 | 16:9 | 9:16 can render portrait output. 1:1 can be accepted while rendering as landscape. |
resolution | Start with 720p; 1080p can be accepted | 720p | Current production output can normalize to 720p even when 1080p is requested. |
| Request | Observed completed frame |
|---|---|
resolution=720p, aspect_ratio=16:9 | 1280x720 |
resolution=720p, aspect_ratio=9:16 | 720x1280 |
resolution=720p, aspect_ratio=1:1 | 1280x720 |
resolution=1080p, aspect_ratio=16:9 | 1280x720 |
aspect_ratio and resolution as generation preferences and verify the downloaded MP4 before depending on final pixels.
Task flow
Poll the task
status is completed or failed.Download the result
completed, call Retrieve Omni video content to download the MP4 file.Authorizations
Bearer authentication. Use your CometAPI API key.
Body
Omni model ID for this endpoint. Use omni-fast for text-to-video.
omni-fast "omni-fast"
Text prompt that describes the video to generate.
"Ocean waves rolling onto a sandy beach at golden hour"
Requested clip duration in seconds. Start with 4 while this endpoint is beta.
"4"
Output aspect ratio preference. 16:9 and 9:16 are the most predictable; 1:1 can be accepted but may render as landscape.
16:9, 9:16, 1:1 "16:9"
Output resolution preference. Start with 720p. 1080p can be accepted but current production output may normalize to 720p.
"720p"
Response
Task accepted. Store the returned id and poll GET /v1/videos/{task_id}.
Task ID. Use this value with retrieve and content endpoints.
"task_example"
Object type. Video tasks return video.
"video"
Model ID used for the task.
"omni-fast"
Task lifecycle status. Poll until the value is completed, failed, or error.
queued, in_progress, completed, failed, error "queued"
Task progress as a coarse percentage.
0 <= x <= 1000
Task creation time as a Unix timestamp in seconds.
1779938152
Compatibility alias for id when present.
"task_example"
Task completion time as a Unix timestamp in seconds. This field appears on completed tasks.
1779938219
Temporary video delivery URL. This field appears on completed tasks.
"<temporary-video-url>"
Failure details. This field appears when the task fails.