Seedance 2.5 Flash
Seedance 2.5 Flash is the tier of the Seedance 2.5 series that balances speed and cost. It keeps 2.5's joint audio-video generation, multi-shot stories of up to 30 seconds in one task, and the reference / edit / extend modes, while generating faster and costing less, at 480p / 720p with up to 10 images, 5 videos and 5 audio clips as references. It suits batch short videos, e-commerce assets and fast creative iteration.
Set model to seedance-2.5-flash; everything else is in the shared guide.
Authentication
- Base URL
https://api.dreamto.ai- Authorization
Authorization: Bearer YOUR_API_KEY- Content-Type
application/json- Model name (model)
seedance-2.5-flash
Parameters
Out-of-range values return 400; no task is created and nothing is billed.
| Field | Default | Allowed for this model |
|---|---|---|
model | — | seedance-2.5-flash |
duration | -1 (smart duration) | Integer 4–30 seconds, or -1 for smart duration |
resolution | 720p | 480p / 720p |
ratio | adaptive | adaptive / 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 21:9 |
generate_audio | true | true / false |
omni_reference_task_type | omitted (derived) | auto / reference / edit / extend |
All parameters: Create video task.
Reference media
| Type | Limit for this model | Purpose |
|---|---|---|
Image image_url | 10 | First frame / last frame / reference |
Video video_url | 5 | Reference video (edit / extend) |
Audio audio_url | 5 | Reference audio |
Media can be public http(s) URLs, asset://<asset Id>, or inline Base64 data:<kind>/<format>;base64,<data> (the kind matches the item, e.g. data:image/png;base64,... for image_url; up to 45 MB each after decoding and 64 MB for the whole request body; the gateway stores it as a URL before submitting, so prefer URLs for large videos and audio); exceeding a limit fails the task.
Quick start
Create a task and poll it; when status is succeeded, read content.video_url.
# 1. Create the task
curl -X POST "https://api.dreamto.ai/api/v3/contents/generations/tasks" \
-H "Authorization: Bearer $DREAMTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5-flash",
"content": [
{
"type": "text",
"text": "A city street after rain, neon reflected in the puddles; a low-angle camera follows a bicycle slowly riding past"
}
],
"ratio": "16:9",
"duration": 5,
"resolution": "720p"
}'
# 2. Get the task (use the id returned above)
curl "https://api.dreamto.ai/api/v3/contents/generations/tasks/task_8c1d2e3f4a5b6c7d8e9f0a1b" \
-H "Authorization: Bearer $DREAMTO_API_KEY"Examples
Common errors
| Case | HTTP | Returns |
|---|---|---|
duration outside 4–30 or not an integer | 400 | duration must be an integer from 4 to 30 seconds, or -1 (smart duration) |
resolution not in 480p / 720p | 400 | resolution must be one of: 480p, 720p |
Sending a field this model does not support: camera_fixed / real_person_mode / draft / bitrate_mode / task_nickname | 400 | <field> is not supported by this model |
| Invalid Base64 media data | 400 | content[n].image_url.url is not valid base64 data |
| Base64 media over 45 MB after decoding | 400 | content[n].video_url.url exceeds 45 MB; use an http/https URL |
| Model not enabled for your account | 404 | error.code is not_found |
All codes: Errors.