Skip to main content
Skip to main content

Seedance 2.5

Seedance 2.5 is ByteDance Seed's next-generation audio-video joint generation model, built on the unified multimodal architecture introduced with Seedance 2.0 and aimed at the thing short-clip models cannot do: telling a complete story in one generation.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:ByteDancePrice: $0.085 / second
Open docs

API DOCS / SIMPLIFIED

Task API overview

Create a task for Seedance 2.5 with its model ID and parameters, then use the returned task ID to check its status. Include your MuseSpark API key in each request.

Input mode
X-API-Key on every request
POST /api/v1/openapi/task
GET /api/v1/openapi/task/status/{task_id}
Async task workflow

Create a task and retrieve its status

Replace the API key placeholder and review the example parameters before sending the request. Each example checks status once; repeat the status request until the task finishes. For cURL, also replace the task ID placeholder with the ID returned by the create request.

Task API

API_KEY="<API_KEY>"
BASE_URL="https://api.musespark.ai"
REQUEST_BODY='{
  "model_id": "seedance-2-5",
  "parameters": {
    "prompt": "A cinematic drone shot over a futuristic city at sunrise, volumetric light, realistic motion",
    "resolution": "720p",
    "duration": 5,
    "generate_audio": true,
    "aspect_ratio": "adaptive",
    "batch_size": 1
  }
}'

CREATE_RESPONSE=$(curl --request POST "$BASE_URL/api/v1/openapi/task" \
  --header "X-API-Key: $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw "$REQUEST_BODY")

printf '%s\n' "$CREATE_RESPONSE"
TASK_ID="<TASK_ID_FROM_CREATE_RESPONSE>"

curl "$BASE_URL/api/v1/openapi/task/status/$TASK_ID" \
  --header "X-API-Key: $API_KEY"

Request and response

The request creates a task; the response shown is an example from a status lookup. Inline comments explain fields and must be removed before sending or parsing the copied JSON.

Create task request

Send this request body to the task creation endpoint with values appropriate for your use case.

Request Body · JSON
{
"model_id": "seedance-2-5",// target model
"parameters": {
"prompt": "A cinematic drone shot over a futuristic city at sunrise, volumetric light, realistic motion",// required nonblank generation prompt · min 1 · min length 1
"resolution": "720p",// enum: 480p | 720p | 1080p
"duration": 5,// output video duration in seconds. Supports 4-30 seconds or -1 for automatic duration; omitted defaults to 5 seconds · max 30 · enum: Auto | 4s | 5s | 6s | 7s | 8s | 9s | 10s | 11s | 12s | 13s | 14s | 15s | 16s | 17s | 18s | 19s | 20s | 21s | 22s | 23s | 24s | 25s | 26s | 27s | 28s | 29s | 30s
"generate_audio": true,// generate audio. Defaults to true; also accepted upstream as audio
"aspect_ratio": "adaptive",// output aspect ratio. Supports 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive. Video edit and first/last-frame tasks require adaptive · enum: 16:9 | 4:3 | 1:1 | 3:4 | 9:16 | 21:9 | adaptive
"batch_size": 1// standard quantity control field. The allowed range for this item is 1-4 · min 1 · max 4
}
}

Available parameters and their requirements depend on the selected model or tool and input mode.

Task status response

A completed task may return output in its result. The result fields and output format depend on the model or tool.

Response Body · JSON
{
"code": 200,// 200 on success
"msg": "success",
"data": {
"task_id": "task_01HQX8N2QJ0YQ8Q0T7G6N4V6K2",// use for status polling
"status": "completed",// enum: queued | running | completed | failed | cancelled
"progress": 100,// 0-100 if available
"completed_at": 1760000000,// unix timestamp
"expires_at": 1760001800,// unix timestamp
"result": {
"output_urls": [// generated files
"https://cdn.example.com/output.png"
]
}
}
}

Poll every 2-5 seconds and stop once status becomes completed, failed, cancelled.