Skip to main content
Doubao Seedance 2.5 is a ByteDance video model. Use the complete route ID doubao-seedance-2-5-260628; the version suffix is part of the ID. Full field definitions: Doubao API.

Model Parameters and Limits

  • Keep model, prompt, and asset at the root; every provider field belongs in metadata. Set asset=true for 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

Set MIXROUTE_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.