Seedance 2.0
Seedance 2.0 asynchronous video generation. Supports text-to-video, image-to-video, first/last-frame generation, up to 9 reference images, 3 reference videos and 3 reference audios (motion and subject are learned, source pixels are not kept), native audio, 480p to 4K output and 4-15 second duration.
Price
$0.142/s
Endpoint
/videos
Delivery pattern
Async task lifecycle
Availability
Available now
API documentation
Build and copy the request
Choose the options this model accepts. The code below updates as you choose.
https://www.aisplice.store/v1/videosBearer API keyAsync taskOptionsOnly options published for this model are shown.
# Requires curl and jq
API_KEY="${API_KEY:-YOUR_API_KEY}"
# 1. Submit once
SUBMITTED=$(curl --fail-with-body -sS https://www.aisplice.store/v1/videos \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: model-docs-$(date +%s)-$$" \\
-d '{
"model": "Seedance 2.0",
"prompt": "A cinematic scene with careful composition",
"duration": 5,
"resolution": "720p",
"size": "16:9",
"metadata": {
"generate_audio": true
}
}')
TASK_ID=$(printf '%s' "$SUBMITTED" | jq -r '.task_id // .id // empty')
if [ -z "$TASK_ID" ]; then
printf '%s\n' "$SUBMITTED" >&2
exit 1
fi
echo "task_id=$TASK_ID"
# 2. Poll until terminal
while true; do
STATUS_JSON=$(curl --fail-with-body -sS \
"https://www.aisplice.store/v1/videos/$TASK_ID" \
-H "Authorization: Bearer $API_KEY")
STATUS=$(printf '%s' "$STATUS_JSON" | jq -r '.status // empty' | tr '[:upper:]' '[:lower:]')
echo "status=$STATUS"
case "$STATUS" in
completed|succeeded|success) break ;;
failed|failure|cancelled|canceled)
printf '%s\n' "$STATUS_JSON" | jq .
exit 1
;;
esac
sleep 5
done
# 3. Fetch the final result
curl --fail-with-body -sS \
"https://www.aisplice.store/v1/videos/$TASK_ID/content" \
-H "Authorization: Bearer $API_KEY" | jq .- 1Submit the task
- 2Poll the status
- 3Fetch the content
This model requires public media URLs. Upload a local file first, then put public_url into the model request. Avoid large Base64 bodies.
Read the upload guideParameter reference
modelExact model identifier for this request.
doubao-seedance-2.0promptVideo prompt, up to 4000 characters; 500 or fewer recommended.
durationOutput seconds from 4 to 15.
resolutionRequested output resolution.
480p720p1080p4ksizeAspect ratio between 0.5 and 2.5.
16:99:161:14:33:421:9adaptiveimagesUp to 9 public reference-image URLs, or exactly one first-frame image when image_tail is set.
videosUp to 3 public reference-video URLs, 1.8-15.2 seconds each. Reference only: motion, composition and subject are learned, source pixels are not kept. Not available with first/last frames.
Response lifecycle
Task status, terminal states, and result response examples.
Response lifecycle
Task status, terminal states, and result response examples.
{
"id": "task_xxx",
"task_id": "task_xxx",
"object": "video",
"model": "Seedance 2.0",
"status": "queued"
}Waiting
queued · submitted · in_progress · processing
Success
completed · succeeded · success
Failure
failed · failure · cancelled · canceled
Errors and production
Retry rules, idempotency, and the minimum production checklist.
Errors and production
Retry rules, idempotency, and the minimum production checklist.
400 / 422Fix the request fields or unsupported option; do not retry unchanged.
401Check that the API key is present, active, and sent as a Bearer token.
402The account balance is insufficient.
409The Idempotency-Key is processing or was reused with another body.
429Back off according to Retry-After before retrying.
5xxRetry with exponential backoff and keep the original Idempotency-Key.
- Keep API keys on your server for public mobile and browser applications.
- Set a unique Idempotency-Key for every billable async operation.
- Persist task_id so polling can resume after a restart.
- Use a timeout for every HTTP request and surface the request ID in support reports.
- Read live model metadata instead of hard-coding prices and supported options.
Price and tiers
Request price
$0.142/s
Tiered pricing
Base price $0.142/s
Tier pricing — the final price depends on the options you request. Unlisted tiers bill at the base price. Billed per second of generated output.
- 16:9×1$0.142/s
- 1:1×1$0.142/s
- 21:9×1$0.142/s
- 3:4×1$0.142/s
- 4:3×1$0.142/s
- 9:16×1$0.142/s
- adaptive×1$0.142/s
- 480p×0.464788732394$0.066/s
- 720p×1$0.142/s
- 1080p×2.495774647887$0.3544/s
- 4k×5.084507042254$0.722/s
- 480p×0.281690140845$0.04/s
- 720p×0.604507042254$0.08584/s
- 1080p×1.518873239437$0.21568/s
- 4k×3.129014084507$0.44432/s
- 4×4$0.568
- 5×5$0.71
- 6×6$0.852
- 7×7$0.994
- 8×8$1.136
- 9×9$1.278
- 10×10$1.42
- 11×11$1.562
- 12×12$1.704
- 13×13$1.846
- 14×14$1.988
- 15×15$2.13
The price shown here is exactly what you are billed — failed calls are refunded automatically.
Related models