Omni Video
omni-fast Video Generation
Call omni-fast via POST /v1/videos to generate text-to-video, image-to-video, first/last frame, and multi-reference image video.
POST
omni-fast
omni-fast submits asynchronous video tasks with a JSON request body, suitable for text-to-video, first-frame image-to-video, first/last frame, and multi-reference image video.
- Asynchronous processing mode; returns
idortask_idafter submission. - Text-to-video only requires
model,prompt,seconds, and the aspect ratio field. - First-frame image-to-video uses
first_image_url. - First/last frame uses
first_image_urlandlast_image_url. - Multi-reference images use
images, up to 5; for reference video useomni-fast-v2v.
Method and Path
Request Examples
Response Examples
Authentication
Use Bearer Token authentication:Authorization header. JSON requests must also include:
Body
Fixed value
omni-fast. Example: "omni-fast".Video prompt. Example:
"Ocean waves gently rolling onto a sandy beach at golden hour".Video duration. Recommended as a string; recommended range is
4 to 30 seconds. Example: "8".Aspect ratio. Example values:
"16:9", "9:16".Resolution field. Example values:
"720p", "1080p", "2k", "4k".First frame image. Passing it enters first-frame image-to-video mode. Supports public URL or
data:image/...;base64,.... Example: "https://example.com/first-frame.jpg".Last frame image. Must be used together with
first_image_url. Example: "https://example.com/last-frame.jpg".Multi-reference image list, up to 5. Supports public URL or
data:image/...;base64,.... Example: ["https://example.com/character.jpg"].Response
Video task ID. Can be used later for
GET /v1/videos/{task_id} queries.Compatibility field for the video task ID. Usually the same as
id.Object type, usually
video.The model used for this task, for example
omni-fast.Task status. Common values are
queued, in_progress, completed, failed.Task progress, commonly in the range
0 to 100.The video URL after completion.
The error object returned when a task fails or an API error occurs, usually containing
message and code.Use Cases
Vertical Text-to-Video
First-Frame Image-to-Video
Multi-Reference Image Video
Notes
omni-fastdoes not support thevideo,video_url,input_videoreference-video fields.imagessupports up to 5 images.- Image fields use JSON; multipart is not required.
- It is recommended to poll
GET /v1/videos/{task_id}, and after completion retrieve the generated MP4 from the returnedvideo_url. - Reference-video editing or extension must use
omni-fast-v2v.