Volcengine: volcengine/doubao-seedance-2-5-260628
doubao-seedance-2-5
volcengine/doubao-seedance-2-5-260628Capabilities
4
Context length
—
Tokens
Max output tokens
—
Tokens
Type
Video
Volcengine
Playground
Output
Ready to generate
Configure the options and submit a prompt. Task status and generated videos will appear here.
Pricing
Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
10% off
Output video tokens
5 price tiers
Output resolution: 480p or 720p; Input video duration (s) = 5
9 credits / 1M
Output resolution: 480p or 720p; Input video duration (s) > 2
5.4 credits / 1M
Output resolution: 1080p; Input video duration (s) = 5
9.9 credits / 1M
Output resolution: 1080p; Input video duration (s) > 2
5.9139 credits / 1M
All other cases
9 credits / 1M
Billing items are additive. Only one matching price tier applies to each item. Charges are calculated from actual usage per request, with each item rounded up.
API
cURL example
Request type
request.sh
POST
/v1/contents/generations/tasksAsynchronousNative
CREATE_RESPONSE=$(curl "http://127.0.0.1:11113/v1/contents/generations/tasks" \ -X POST \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "volcengine/doubao-seedance-2-5-260628", "content": [ { "type": "text", "text": "Explain model gateways in one sentence." } ], "resolution": "720p", "ratio": "adaptive", "duration": 5, "generate_audio": true, "output_format": "mp4"}')# Requires jq.TASK_ID=$(printf '%s' "$CREATE_RESPONSE" | jq -r '.id')for attempt in $(seq 1 120); do RESPONSE=$(curl -sS "http://127.0.0.1:11113/v1/tasks/"$TASK_ID -H "Authorization: Bearer $API_KEY") STATUS=$(printf '%s' "$RESPONSE" | jq -r '.status') case "$STATUS" in queued|running) sleep 10 ;; *) printf '%s' "$RESPONSE"; break ;; esacdoneThis request creates a task
The example creates a task, polls the platform task endpoint every 10 seconds, and prints the terminal JSON response. It stops after 120 attempts.
Set your API_KEY environment variable before running. Keep your key server-side.