doubao-seedance-2-5-260628; the version suffix is part of the ID.
Full field definitions: Doubao API.
For the existing Draft capability and its request route, see Draft mode.
Model Parameters and Limits
- Keep
model,prompt, andassetat the root; every provider field belongs inmetadata. Setasset=truefor the media-input examples. - Frame roles and
reference_*roles are separate input modes; do not combine them. - The default ratio is adaptive. First-frame, first/last-frame, editing, and extension modes require adaptive. Editing requires duration=-1 and a 4-30 second source video.
- Multimodal references allow up to 30 images, 10 videos, and 10 audio clips; audio-only references are supported.
Examples
SetMIXROUTE_API_KEY and replace image/video/audio placeholders with accessible source media before calling.
Text-to-Video
Python
First-Frame Image
Task Result
Retain the submitted MixRoute task ID and use Query Video Task. Read the video URL only after a successful terminal status; submission does not mean generation is complete.Draft mode
Draft is a generation mode of Seedance 2.5, not a separate model or model version. It produces a 480p preview for checking composition, camera movement and subject motion. MixRoute exposes different request IDs for standard and Draft generation. The-draft suffix identifies the platform route, not an additional official model. Keep the full Draft route ID used in the example; do not remove its suffix or assume that changing only the flag selects an equivalent route.
Keep
model, prompt and asset at the top level. Put draft, resolution, content, duration, ratio, generate_audio and other provider fields inside metadata. Keep the top-level prompt consistent with the text item in content.
Create a Draft preview
SetMIXROUTE_API_KEY before calling. This text-only example requests a 4-second silent preview with asset=false. Submission creates a billable task; do not automatically resubmit after a timeout.
Query the preview task
ReplaceMIXROUTE_TASK_ID with the MixRoute task ID returned by submission. Wait for a successful terminal status before opening the video. See Query Video Task for response fields and status handling.