Seedance 2.5 Flash API
Account and deployment availability
Requires eligible legacy billing or expanded USD generation, plus a configured provider.
Flash requires the reference-media schema. If you use expanded USD generation, keep the signed quote intact.
Call GET /api/v1/models with your API key to see the models and options available to your account.
Request fields
- model
seedance-2-5-flash- provider
apimart- quality
draft (480p), standard (720p)- outputCount
1–4- Prompt limit
- 2000
- seed
- Optional integer seed. Omit it or pass null to let the provider choose.
0–2147483647 - generateAudio
- Use generateAudio to turn audio on or off.
The video draft uses asset fields to select its input mode. Omit the mode field.
| Input mode | Asset fields | size | Duration in seconds |
|---|---|---|---|
| text-to-video | None | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | 4–30 |
| first-frame | firstFrameAssetId | adaptive | 4–30 |
| first-last-frame | firstFrameAssetId, lastFrameAssetId | adaptive | 4–30 |
| reference-images | Provide at least one of these fields referenceAssetIds, referenceVideoAssetIds, referenceAudioAssetIds (0–10 images) | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | 4–30 |
Use distinct images and leave frame fields empty for reference mode.
Reference image limits image/jpeg, image/png, image/webp · 300–6000 px · 0.400–2.50 (W:H)
Use distinct asset IDs in referenceAssetIds, referenceVideoAssetIds, and referenceAudioAssetIds. You can submit up to 10 images, 5 H.264 MP4 clips, and 5 PCM WAV or MPEG-1 or MPEG-2 Layer III clips. Each clip must be 2–30 seconds and at most 10 MiB. Video and audio each have a separate 30-second total limit. Use non-fragmented MP4 with one video track and AAC or MP3 if it contains audio. Reference video requires 24–60 fps, 300–6000 pixels per side, a width-to-height ratio of 0.4–2.5, and 409,600–8,295,044 total pixels.
Quote examples
Replace any REPLACE_WITH_* asset IDs with IDs returned by your own completed uploads. Send the draft to the quote endpoint. Upload a reference
text-to-video
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
-H "Authorization: Bearer $GAPTI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"draft": {
"kind": "video",
"prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
"model": "seedance-2-5-flash",
"duration": 4,
"quality": "standard",
"outputCount": 1,
"seed": null,
"firstFrameAssetId": null,
"lastFrameAssetId": null,
"provider": "apimart",
"size": "16:9",
"generateAudio": false
}
}'first-frame
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
-H "Authorization: Bearer $GAPTI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"draft": {
"kind": "video",
"prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
"model": "seedance-2-5-flash",
"duration": 4,
"quality": "standard",
"outputCount": 1,
"seed": null,
"firstFrameAssetId": "REPLACE_WITH_FIRST_IMAGE_ASSET_ID",
"lastFrameAssetId": null,
"provider": "apimart",
"size": "adaptive",
"generateAudio": false
}
}'first-last-frame
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
-H "Authorization: Bearer $GAPTI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"draft": {
"kind": "video",
"prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
"model": "seedance-2-5-flash",
"duration": 4,
"quality": "standard",
"outputCount": 1,
"seed": null,
"firstFrameAssetId": "REPLACE_WITH_FIRST_IMAGE_ASSET_ID",
"lastFrameAssetId": "REPLACE_WITH_LAST_IMAGE_ASSET_ID",
"provider": "apimart",
"size": "adaptive",
"generateAudio": false
}
}'reference-images
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
-H "Authorization: Bearer $GAPTI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"draft": {
"kind": "video",
"prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
"model": "seedance-2-5-flash",
"duration": 4,
"quality": "standard",
"outputCount": 1,
"seed": null,
"firstFrameAssetId": null,
"lastFrameAssetId": null,
"provider": "apimart",
"size": "16:9",
"generateAudio": false,
"referenceAssetIds": [
"REPLACE_WITH_FIRST_IMAGE_ASSET_ID"
]
}
}'Mixed image, video, and audio references
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
-H "Authorization: Bearer $GAPTI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"draft": {
"kind": "video",
"prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
"model": "seedance-2-5-flash",
"duration": 4,
"quality": "standard",
"outputCount": 1,
"seed": null,
"firstFrameAssetId": null,
"lastFrameAssetId": null,
"provider": "apimart",
"size": "16:9",
"generateAudio": false,
"referenceAssetIds": [
"REPLACE_WITH_FIRST_IMAGE_ASSET_ID"
],
"referenceVideoAssetIds": [
"REPLACE_WITH_VIDEO_ASSET_ID"
],
"referenceAudioAssetIds": [
"REPLACE_WITH_AUDIO_ASSET_ID"
]
}
}'Submit and download
Pass normalizedDraft as draft and the full quote as quoteAcknowledgement. Review the returned credits before submitting.
Submit the job