Model Information
Capabilities and Usage
- Output: 480p, 720p, or 1080p; default 720p. Duration: 4-30 seconds or -1 for automatic duration.
- Keep model, prompt, and asset at the root. Put content, resolution, duration, ratio, generate_audio, and other provider fields in metadata.
- For editing, set metadata.duration=-1; editing and extension use metadata.ratio=adaptive. 1080p output uses 10-bit H.265/HEVC and needs a compatible player.
Request Example
SetMIXROUTE_API_KEY before making the request.
Draft Mode Example
The example below usesdreamina-seedance-2-5-260628 to request a 4-second silent Draft video. Set MIXROUTE_API_KEY before running it.
Set both metadata.draft: true and metadata.resolution: "480p". Setting only resolution: "480p" does not enable Draft mode; requesting another resolution with draft: true causes an error. Keep model, prompt, and asset at the root and all provider fields inside metadata.
MIXROUTE_TASK_ID with the MixRoute task ID returned by the submission response, not a provider Draft task ID. Query the task until it finishes successfully before opening the preview video.
Request Fields
Submission creates an asynchronous task. Save the returned MixRoute task ID and poll Query Video Task until a terminal state. Do not resubmit solely because a client times out.
Complete request format: dreamina.