Seedance 3.0 API Documentation
Unified asynchronous REST contract for Seedance 3.0 API (Pre-launch) and Seedance 2.5 / 2.5 Flash. Phase 2a supports Text-to-Video, Image-to-Video, and First/Last Frame (4–30s, 480p/720p/1080p); reference video & 4K follow in Phase 2b.
1. Authentication & Free Sandbox Mode
Pass your API key in the Authorization header. Production keys use prefix sk_sd30_; free mock sandbox keys use sk_sd30_test_ and return the full deterministic 202 -> processing -> succeeded lifecycle with zero wallet charges.
Base URL: https://seedance30api.com/v1
Authorization: Bearer sk_sd30_your_key_here
Idempotency-Key: <unique-uuid-v4>
X-Max-Price: 3.50 # optional max USD hold guard2. Create Video Task — POST /v1/videos/generations
Atomically reserves the exact clip price and returns 202 Accepted in under 1.5s. Requesting seedance-3.0 while in Pre-launch returns 503 model_not_yet_live with charged: false.
curl -X POST "https://seedance30api.com/v1/videos/generations" \
-H "Authorization: Bearer $SEEDANCE30_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: req-20261201-01" \
-d '{
"model": "seedance-2.5",
"prompt": "Studio tracking shot of a titanium watch over dark slate",
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9",
"generate_audio": true
}'
# Response (202 Accepted)
{
"task_id": "tsk_01J...",
"model": "seedance-2.5",
"status": "processing",
"held_usd": 3.15,
"poll_url": "https://seedance30api.com/v1/tasks/tsk_01J..."
}3. Poll Task Status — GET /v1/tasks/{task_id}
Poll every 5 seconds until status reaches succeeded or failed. Generation typically completes in 2–5 minutes.
curl "https://seedance30api.com/v1/tasks/tsk_01J..." \
-H "Authorization: Bearer $SEEDANCE30_API_KEY"
# Completed Response (200 OK)
{
"task_id": "tsk_01J...",
"status": "succeeded",
"output": { "video_url": "https://...", "duration_sec": 5, "resolution": "720p" },
"billing": { "charged": true, "amount_usd": 3.15, "balance_usd": 46.85 }
}4. Structured Error Codes (Agent-Friendly)
| HTTP | Code | Charged | Retry |
|---|---|---|---|
| 400 | invalid_params / price_exceeds_limit | false | false (fix payload / X-Max-Price) |
| 402 | insufficient_balance | false | false (top up balance) |
| 429 | rate_limited / max_inflight_reached | false | true (respect Retry-After) |
| 503 | model_not_yet_live | false | false (switch to seedance-2.5) |
API Documentation FAQ
Are the live API endpoints accepting production keys right now?
We are currently in Phase 1 (public architecture, documentation, and Launch Alert preview). Live API keys, Sandbox execution, and PayPal checkout open in Phase 2.
How do I migrate from Seedance 2.5 to Seedance 3.0 without code changes?
Use the unified POST /v1/videos/generations endpoint and read model from an environment variable (SEEDANCE_MODEL=seedance-2.5). When Seedance 3.0 launches, update that single env value to seedance-3.0.
How does Idempotency-Key protect my wallet balance?
Send a unique Idempotency-Key header (up to 128 chars) on POST /v1/videos/generations. Retrying the same request within 24 hours returns the original task_id and current status without creating a second job or charging twice.