Seedance 2.0 Mini API guide
Seedance 2.0 Mini API: Generate video from text, frame images, or multimodal references with Seedance 2.0 Mini. Keep first/last frames and image, video, and audio references in their respective fields, and use the matching input mode.
Model overview
Generate video from text, frame images, or multimodal references with Seedance 2.0 Mini. Keep first/last frames and image, video, and audio references in their respective fields, and use the matching input mode.
API integration
| Documentation | Value |
|---|---|
| API invocation identifier | seedance-2.0-mini |
| Integration | Async task API |
Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.
Request parameters
Select a mode to highlight its required inputs. Mode selection does not change the API field names.
Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.
Additional requirements depend on other values. See model rules.
Text prompt describing the desired video.
Length: minimum 1.
Required for First and Last Frames, First Frame.
Additional requirements depend on other values. See model rules.
Optional first-frame image URL. Requires a prompt and Generate Audio turned off. Use separately from reference images, video, or audio.
Length: minimum 1.
Media types: image/*.
Required for First and Last Frames.
Additional requirements depend on other values. See model rules.
Optional last-frame image URL. Requires a first-frame image, a prompt, and Generate Audio turned off. Use separately from reference images, video, or audio.
Length: minimum 1.
Media types: image/*.
Required for Image References.
Additional requirements depend on other values. See model rules.
Up to 9 reference image URLs. Accepts public URLs and approved asset:// URLs.
Item count: maximum 9.
Additional requirements depend on other values. See model rules.
Up to 3 reference video URLs or approved asset:// URLs. Combined duration must be greater than 1.8 and less than 15.2 seconds; reference resolution must be 480p to 720p. Cannot be combined with first/last-frame controls.
Item count: maximum 3.
Up to 3 reference audio URLs or approved asset:// URLs, with combined duration at most 15 seconds. Requires reference images or videos; cannot be combined with first/last-frame controls.
Item count: maximum 3.
Video resolution. Seedance 2.0 Mini supports 480p and 720p; defaults to 720p.
Allowed values: "480p", "720p".
Studio preset: "720p".
Video duration in seconds, from 4 to 15 seconds. Defaults to 5 seconds.
Value: minimum 4; maximum 15.
Studio preset: 5.
Whether to generate audio for the video.
Studio preset: true.
Output aspect ratio. Supports 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or adaptive; defaults to 16:9.
Allowed values: "16:9", "9:16", "1:1", "4:3", "3:4", "21:9", "adaptive".
Studio preset: "16:9".
Standard quantity control field. The allowed range for this item is 1-4.
Repeats MuseSpark execution within one logical task. This is separate from a model-native output count.
Value: minimum 1; maximum 4.
Studio preset: 1.
Whether to return the last frame of the generated video.
Studio preset: false.
Whether to enable NSFW content checking.
Studio preset: false.
Random seed for reproducible generation.
Value: minimum 0; maximum 2147483647.
List of tool objects to apply during generation.
No parameters match. Clear the search or reset the filters.
Model rules
Input modes
Select a mode by supplying its required public inputs. The mode identifier describes a documentation/form choice; do not send input_mode as a model parameter.
| Mode | Required inputs |
|---|---|
| Text to Video | prompt |
| Image References | prompt, image_urls |
| Video and Audio References | prompt |
| First and Last Frames | prompt, first_frame_image, last_frame_image |
| First Frame | prompt, first_frame_image |
- When the input mode is Text to Video, provide
prompt. - When
audio_urlsis provided andimage_urlsis omitted andvideo_urlsis omitted, provideimage_urls; keepimage_urls, when supplied, at least 1 items. - When the input mode is Text to Video, provide
prompt; omitaudio_urls; omitimage_urls; omitvideo_urls. - When the input mode is Image References, provide
image_urls; omitaudio_urls; keepimage_urls, when supplied, at least 1 items; omitvideo_urls. - When the input mode is Video and Audio References and
video_urlsis omitted andaudio_urlsis omitted, providevideo_urls; keepvideo_urls, when supplied, at least 1 items. - When
image_urlsis omitted andvideo_urlsis omitted andaudio_urlsis omitted, provideprompt; keepprompt, when supplied, at least 1. - When
first_frame_imageis omitted, omitfirst_frame_image. - When
last_frame_imageis omitted, omitlast_frame_image. - When
first_frame_imageis provided, provideprompt; omitaudio_urls; omitimage_urls; omitvideo_urls. - When
last_frame_imageis provided, provideprompt,first_frame_image; omitaudio_urls; omitimage_urls; omitvideo_urls. - When the input mode is First and Last Frames, provide
prompt,first_frame_image; omitaudio_urls; omitimage_urls; omitvideo_urls. - When
first_frame_imageis provided orlast_frame_imageis provided, usefalseforgenerate_audio. - When the input mode is First and Last Frames, provide
prompt,first_frame_image,last_frame_image; omitaudio_urls; omitimage_urls; omitvideo_urls. - When the input mode is First Frame, provide
prompt,first_frame_image; omitaudio_urls; omitimage_urls; omitvideo_urls; omitlast_frame_image. - When the input mode is Text to Video, omit
last_frame_image; omitfirst_frame_image. - When the input mode is Image References, omit
last_frame_image; omitfirst_frame_image. - When the input mode is Video and Audio References, omit
last_frame_image; omitfirst_frame_image.
Parameter meaning
- Resolution support differs between standard, Fast, and Mini variants. Use the enum for the exact item being called.
- Reference order distinguishes first and last frames. More general media-reference generation is a separate mode with different inputs.
- For motion generation, specify action, camera movement, and style concisely. Excessively long prompts can weaken attention to individual details.
batch_size controls repeated MuseSpark executions. Output grouping, sequential image generation, and video shot count are separate concepts.
Request examples
Replace example media URLs and YOUR_... input identifiers with your own valid resources. Examples are checked against the exported item schema; media access and paid execution are separate runtime checks.
Set MUSESPARK_API_KEY and a stable MUSESPARK_REQUEST_ID before submitting. Preserve the request ID for retries of the same request and use a new ID for new work. Python examples use requests; JavaScript examples use Node.js 20 or later. The standalone Quickstart includes task polling and recovery.
Text to Video
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "seedance-2.0-mini",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"return_last_frame": false,
"prompt": "A paper city under soft morning light"
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · generate_audio · return_last_frame · prompt.
Image References
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "seedance-2.0-mini",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"return_last_frame": false,
"prompt": "A paper city under soft morning light",
"image_urls": [
"https://example.com/input-1.png"
]
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · generate_audio · return_last_frame · prompt · image_urls.
Video and Audio References
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "seedance-2.0-mini",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"return_last_frame": false,
"prompt": "A paper city under soft morning light",
"video_urls": [
"https://example.com/input-1.mp4"
]
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · generate_audio · return_last_frame · prompt · video_urls.
First and Last Frames
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "seedance-2.0-mini",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"return_last_frame": false,
"prompt": "A paper city under soft morning light",
"first_frame_image": "YOUR_FIRST_FRAME_IMAGE",
"last_frame_image": "YOUR_LAST_FRAME_IMAGE"
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · generate_audio · return_last_frame · prompt · first_frame_image · last_frame_image.
First Frame
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "seedance-2.0-mini",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"return_last_frame": false,
"prompt": "A paper city under soft morning light",
"first_frame_image": "YOUR_FIRST_FRAME_IMAGE"
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · generate_audio · return_last_frame · prompt · first_frame_image.
Output
Creation returns a task ID inside data. Poll that task until completion, then save data.result.output_urls and any data.result.batch_results. See the task lifecycle for terminal states, result retention, and errors.
Troubleshooting
For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.
If creation times out, preserve the request identity and any known task ID. Follow Errors, timeouts and retries before submitting again.
Related docs
The public input snapshot was exported on 2026-11-09. Current prices and availability are listed in the model center.