Create video (Seedance)
This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats).
Used to create video generation tasks and query status and results via task ID.
Core fields for task creation:
model: Required. Model name.prompt: Required. Primary description for video generation.content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.function_mode: Optional. Commonly used for advanced modes such as Omni-Reference.
Compatible input parameters:
mode:t2v / i2v / i2v_first_last / reference_images / reference_materialimage_url / image_urls / input_referenceend_image_url / last_image_urlvideo_urls / audio_urlsseconds / durationaspect_ratio / ratio / sizequality / resolutionfpsgenerate_audio / watermark
Call details:
- When using
mode=reference_materialorfunction_mode=omni_reference, it is recommended to pass text and reference materials viacontent. contenttext items are written as{ "type": "text", "text": "测试文字" }.contentimage, video, and audio material items use theimage_url,video_url, andaudio_urlobject formats respectively, for example{ "type": "image_url", "image_url": { "url": "https://example.com/ref.png" }, "role": "reference_image", "name": "1" }.rolecan be used to identify the purpose of the material, andnamecan be referenced by name in prompts.ratio,duration,resolution, andfpswill affect the final generation configuration.
Gemini Omni invocation:
gemini-omnican also be invoked through this Seedance task API.mode=t2vis used for text-to-video,mode=r2vfor generation with reference images/reference materials, andmode=editfor video editing.- Text can be placed in the
textitem ofpromptorcontent; images can be placed inimage_url / image_urls / reference_images / input_reference / content; videos can be placed invideo_urls / content. - The duration field can use
durationorseconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.
Key fields in query results:
items[].statusitems[].content.video_urloritems[].video_urlitems[].erroritems[].progress
Error fields: error.code, error.message.
{
"error": {
"code": "invalid_request_error",
"message": "requires at least one image in `images`"
}
}
Authorizations
Use Bearer Token authentication.
Format: Authorization: Bearer sk-xxxxxx
Body
Required. Model name. You can pass the external-facing Seedance model, or gemini-omni.
doubao-seedance-1-0-lite-i2v-250428, doubao-seedance-1-0-lite-t2v-250428, doubao-seedance-1-0-pro-250528, doubao-seedance-1-0-pro-fast-251015, doubao-seedance-1-5-pro-251215, doubao-seedance-2-0-260128, doubao-seedance-2-0-fast-260128, gemini-omni "doubao-seedance-2-0-260128"
Required. The primary description for video generation; cannot be empty.
"参考素材生成一段剧情短视频"
Optional. The Volcano Ark content array, which interleaves text and media items in order. Text items use { "type": "text", "text": "..." }; image, video, and audio items use image_url, video_url, and audio_url objects respectively, with url placed inside them. These can be used together with role (such as reference_image, reference_video, and reference_audio) and name for text references.
Optional. Advanced feature mode, such as omni_reference for all-in-one reference.
Optional. Compatibility mode fields, such as t2v, i2v, i2v_first_last, reference_images, and reference_material; gemini-omni supports t2v, r2v, and edit.
Optional. URL of a single reference image.
Optional. A list of URLs for multiple reference images.
Optional. Compatible with reference input fields.
Optional. The URL of the last-frame reference image.
Optional. URL alias for the last frame reference image.
Optional. List of reference video URLs.
Optional. List of reference audio URLs.
Optional. Video duration in seconds; compatible with duration.
Optional. Video duration in seconds; compatible with seconds.
Optional. Aspect ratio, such as 16:9.
Optional. Aspect ratio aliases, such as 16:9.
Optional. Field for resolution or dimension compatibility.
Optional. Generation quality configuration.
Optional. The output resolution.
Optional. Frame rate.
Optional. Whether to generate audio.
Optional. Whether to add a watermark.
