curl --request POST \
--url https://api.omniall.ai/v1/video/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "db-sd2.5-1080p",
"prompt": "City night scene, slow push along a wet street, neon reflections, cinematic DOF",
"duration": 5,
"ratio": "16:9",
"generate_audio": true
}
'{
"id": "task_MVPe8uCjxrxe8szgdZWJvRub0ccg8gi0",
"task_id": "task_MVPe8uCjxrxe8szgdZWJvRub0ccg8gi0",
"status": "submitted",
"created_at": 1710000000
}Create video
Seedance (2.0 / 2.5) async video create.
Path: POST https://api.omniall.ai/v1/video/generations
Also accepts POST /v1/videos. Poll with returned id / task_id.
Model ids from the Model Square and Seedance status. Examples: db-sd2.0-1080p, db-sd2.5-1080p, doubao-seedance-2-0-260128-1080p, etc.
Auth: Authorization: Bearer sk-...
curl --request POST \
--url https://api.omniall.ai/v1/video/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "db-sd2.5-1080p",
"prompt": "City night scene, slow push along a wet street, neon reflections, cinematic DOF",
"duration": 5,
"ratio": "16:9",
"generate_audio": true
}
'{
"id": "task_MVPe8uCjxrxe8szgdZWJvRub0ccg8gi0",
"task_id": "task_MVPe8uCjxrxe8szgdZWJvRub0ccg8gi0",
"status": "submitted",
"created_at": 1710000000
}Headers
Bearer API key, e.g. Bearer sk-....
"Bearer sk-..."
Body
Seedance async create body (POST /v1/video/generations).
Video model id. Model ids from the Model Square and Seedance status. Examples: db-sd2.0-1080p, db-sd2.5-1080p, doubao-seedance-2-0-260128-1080p, etc.
"db-sd2.5-1080p"
Text prompt. Subject, scene, camera motion, style. Or use content text part.
"City night scene, slow push along a wet street, neon reflections"
Duration in seconds (often 4–15). Use -1 to follow reference video length for edit tasks. Alias: seconds.
5
Duration as string; equivalent to duration.
"5"
Aspect ratio. Aliases: size, aspect_ratio.
21:9, 16:9, 4:3, 1:1, 3:4, 9:16 "16:9"
Alias of ratio.
Alias of ratio.
Reference image URLs. Ignored when first/last frames are set.
Single reference image URL.
First frame URL (string or array). Aliases: start_frame, first_frame_url.
Last frame URL (string or array). Aliases: end_frame, last_frame_url.
Alias of first_frame.
Alias of last_frame.
Reference image URLs.
Reference video URLs.
Reference audio URLs.
Whether to generate audio track. Also extra_body.generate_audio.
true
Extensions, e.g. generate_audio.
Omni-reference task type (e.g. edit). Often with duration: -1.
"edit"
Multimodal content parts (alternative to top-level reference_* fields).
Show child attributes
Show child attributes