Skip to main content
POST

Headers

Authorization
string
required
Example:

"Bearer sk-..."

Body

application/json
model
string
required

omni-fast or omni-fast-v2v (video reference).

Example:

"omni-fast"

prompt
string
required

Text prompt (motion / camera / subject).

first_image_url
string

First-frame image URL or base64. Required with last_image_url.

last_image_url
string

Last-frame image URL or base64. Must use with first_image_url.

video
string

Reference video (MP4 URL or data URI). Aliases: video_url, input_video.

video_url
string
input_video
string
seconds
string

Duration seconds, suggested 4–30. Example "8".

aspect_ratio
string

e.g. 16:9, 9:16.

resolution
string

e.g. 720p, 1080p, 2k, 4k.

images
string[]

Up to 5 reference images (URL or base64).

Maximum array length: 5

Response

200 - application/json

Task accepted

id
string
task_id
string
object
string
model
string
status
string
progress
integer
created_at
integer
completed_at
integer
video_url
string
error
object