curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.0",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "Blow out candles",
"mediaUrls": ["https://example.com/photo.jpg"],
"ratio": "16:9",
"resolution": "1080p",
"duration": 5,
"fallback": true
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
Seedance Media-to-Video — Generate videos from images, videos, and audio
curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.0",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "Blow out candles",
"mediaUrls": ["https://example.com/photo.jpg"],
"ratio": "16:9",
"resolution": "1080p",
"duration": 5,
"fallback": true
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
callBackUrl when using this model so the result can be delivered as soon as it is ready. Continuous polling of the Query Task endpoint is not recommended.| Type | Formats | Usage | Supported Models |
|---|---|---|---|
| Image | .jpg, .jpeg, .png, .webp, .gif, .bmp | First/last frame or reference | All models |
| Video | .mp4, .mov, .m4v | Multimodal reference (total video duration max 15s) | seedance-2.0, seedance-2.0-fast only |
| Audio | .mp3, .wav | Multimodal reference (max 15s) | seedance-2.0, seedance-2.0-fast only |
seedance-2.0 and seedance-2.0-fast. The seedance-1.5-pro model only supports up to 2 images (first/last frame mode).seedance-2.0, seedance-2.0-fast, seedance-1.5-pro.Hide properties
@1, @2, @3 to reference materials by position (supports @图1 and @image1 as well).1:1, 4:3, 3:4, 16:9, 9:16.480p, 720p, 1080p.seedance-2.0 and seedance-2.0-fast support 4–15 seconds; seedance-1.5-pro supports 5 or 10.seedance-1.5-pro when a Seedance 2.0 model fails. Defaults to true. Set to false to disable fallback and return the original error directly. Only applies to seedance-2.0 and seedance-2.0-fast; ignored by seedance-1.5-pro. Note: multimodal requests (containing video/audio materials, >2 images, or @1/@2 placeholder references) never fall back regardless of this setting.failure_reason will be INVALID_PARAMETERS. For mediaUrls, check these rules first in order: 1 to 12 material URLs, at most 9 images, total uploaded video duration of 15 seconds or less, and total uploaded audio duration of 15 seconds or less.curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.0",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "Blow out candles",
"mediaUrls": ["https://example.com/photo.jpg"],
"ratio": "16:9",
"resolution": "1080p",
"duration": 5,
"fallback": true
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
| Condition | Mode | Description | Supported Models |
|---|---|---|---|
| 1 image | First Frame | Image becomes the first frame | All models |
| 2 images | First & Last Frame | Two images become the start and end frames | All models |
| 3+ images | Multi-Image Reference | Reference multiple images via @1, @2, @3 | seedance-2.0, seedance-2.0-fast only |
| Contains video or audio | Multimodal Reference | Mix images, videos, and audio as references | seedance-2.0, seedance-2.0-fast only |
{
"model": "seedance-2.0",
"input": {
"prompt": "Blow out candles",
"mediaUrls": ["https://example.com/dog.webp"]
}
}
{
"model": "seedance-2.0",
"input": {
"prompt": "Transform",
"mediaUrls": [
"https://example.com/3d-cartoon.jpg",
"https://example.com/dog.webp"
]
}
}
@1, @2, @3 in the prompt to reference the corresponding materials by position.
{
"model": "seedance-2.0",
"input": {
"prompt": "@1 and @2 are chatting, @3 is watching",
"mediaUrls": [
"https://example.com/person-a.jpg",
"https://example.com/person-b.jpg",
"https://example.com/person-c.jpg"
]
}
}
@1, @2, etc. to reference each material by position.
{
"model": "seedance-2.0",
"input": {
"prompt": "@1 dances to the rhythm of @2",
"mediaUrls": [
"https://example.com/dancer.jpg",
"https://example.com/music.mp3"
],
"ratio": "16:9",
"duration": 8
}
}
{
"model": "seedance-2.0",
"input": {
"prompt": "@1 performs the action shown in @2",
"mediaUrls": [
"https://example.com/character.jpg",
"https://example.com/reference-motion.mp4"
]
}
}
{
"model": "seedance-2.0",
"input": {
"prompt": "@1 and @2 dance together to @3",
"mediaUrls": [
"https://example.com/person-a.jpg",
"https://example.com/person-b.jpg",
"https://example.com/bgm.mp3"
],
"duration": 10
}
}
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "SUCCESS",
"input": {
"model": "seedance-2.0",
"prompt": "@1 dances to the rhythm of @2",
"mediaUrls": [
"https://example.com/dancer.jpg",
"https://example.com/music.mp3"
]
},
"result": {
"type": "video",
"urls": [
"https://example.com/output/video-example.mp4"
]
},
"created_at": "2026-02-10T23:00:00.000000Z",
"updated_at": "2026-02-10T23:03:25.000000Z"
}
}