Guide
How to use the Seedance API: Seedance 2.5 in Python and curl, with cost per second
Prices checked Nov 26, 2026 · 4 min read

To use the Seedance API, send one POST /v1/tasks with model set to seedance-2-5, a prompt, a duration and a resolution. Then poll GET /v1/tasks/{id} or pass a callback_url, and read the video from output.urls. Seedance 2.5 costs $0.14 per second at 480p, $0.315 at 720p, $0.79 at 1080p and $1.255 at 4K on TapModels. Credits are held at submit and charged only on success.
The request
Video tasks are asynchronous. The base URL is https://api.tapmodels.com/v1 and auth is Authorization: Bearer sk_live_....
{
"model": "seedance-2-5",
"input": {
"prompt": "One continuous take through a night market, the camera following a courier on a bicycle",
"duration": "10",
"resolution": "720p",
"aspect_ratio": "16:9",
"audio": true
},
"callback_url": "https://your.app/hooks/tapmodels"
}
The reply is 202 { "id": "task_...", "status": "queued", "estimated_credits": 315 }, which is 10 seconds x 31.5 credits.
Parameters and valid values
| Field | Required | Valid values | Default |
|---|---|---|---|
prompt | yes | The shot, the motion and the camera | none |
image_url | no | First frame; turns the request into image to video | none |
duration | no | 5, 10, 20, 30 (seconds) | 5 |
resolution | no | 480p, 720p, 1080p, 4K | 480p |
aspect_ratio | no | 16:9, 9:16, 1:1 | 16:9 |
audio | no | true, false | true |
The catalog describes Seedance 2.5 as a model for single-take clips up to 30 seconds with many reference inputs. It lists text to video, image to video and video to video. The fields above come from the catalog's request schema. Read GET /v1/models/seedance-2-5 for the live schema, since staff can change it. A value outside the list returns 422 invalid_input and names the field.
Python example
If you searched "seedance api python", this is the whole thing. You only need requests.
import os, time, requests
BASE = "https://api.tapmodels.com/v1"
H = {"Authorization": f"Bearer {os.environ['TAPMODELS_API_KEY']}"}
r = requests.post(f"{BASE}/tasks", headers=H, json={
"model": "seedance-2-5",
"input": {
"prompt": "One continuous take through a night market, camera following a courier on a bicycle",
"duration": "10", "resolution": "720p",
},
})
r.raise_for_status()
task = r.json()
print("estimated credits:", task["estimated_credits"])
while task["status"] in ("queued", "running"):
time.sleep(5)
task = requests.get(f"{BASE}/tasks/{task['id']}", headers=H).json()
print(task["status"], task.get("output"), task["credits_charged"])
curl example
curl https://api.tapmodels.com/v1/tasks \
-H "Authorization: Bearer $TAPMODELS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"seedance-2-5","input":{"prompt":"One continuous take through a night market","duration":"10","resolution":"720p"}}'
curl https://api.tapmodels.com/v1/tasks/task_123 \
-H "Authorization: Bearer $TAPMODELS_API_KEY"
Polling or callback_url
Poll every few seconds in a script. In an app, pass callback_url. On a final status we POST the task object to it with an X-Signature header (t=<unix>,v1=<hex hmac-sha256 of "t.body">, signed with your account's webhook secret). Failed deliveries are retried with backoff for 24 hours, so key your handler on the task id. Output files are kept for 14 days.
Seedance API cost and pricing
Seedance is priced per second of video, and the price climbs steeply with resolution.
| Resolution | Per second | 5 seconds | 10 seconds | 30 seconds |
|---|---|---|---|---|
| 480p | $0.14 | $0.70 | $1.40 | $4.20 |
| 720p | $0.315 | $1.575 | $3.15 | $9.45 |
| 1080p | $0.79 | $3.95 | $7.90 | $23.70 |
| 4K | $1.255 | $6.275 | $12.55 | $37.65 |
Our catalog records no provider list price for Seedance, so we make no comparison against one.
Worked example: you want a 20 second 1080p scene and want to avoid a $15.80 surprise. A 20 second clip at 1080p costs 20 x $0.79 = $15.80 (1,580 credits). Draft first:
- Five 5 second drafts at 480p: 5 x $0.70 = $3.50
- Then the 20 second 1080p final: $15.80
- Total: $19.30
Skipping the drafts and rendering five 20 second 1080p takes would cost 5 x $15.80 = $79.00. Resolution is the main lever, then length. Since 480p costs under half of 720p per second ($0.14 against $0.315), iterate there and move up once the shot works.
A 30 second 4K clip holds $37.65 at submit. If your balance minus held credits is lower, the submit fails with 402 and nothing runs. The default submit limit is 20 new tasks per 10 seconds per account.
Common errors
| HTTP | Code | What to do |
|---|---|---|
| 401 | unauthorized | Check the key is present and not revoked |
| 402 | insufficient_credits | Balance minus held credits is below the estimate |
| 402 | key_limit_reached | The key's spend limit would be exceeded |
| 403 | model_not_allowed | The key's allowed_models excludes seedance-2-5 |
| 422 | invalid_input | A field is outside the valid values above |
| 429 | rate_limited | Wait for Retry-After, then retry |
task failed | upstream_error | Resubmit: 0 credits were charged |
Next step: put Seedance next to Kling in Kling vs Seedance, or open the Seedance pricing page.
Frequently asked questions
How do I use the Seedance API?
Send POST /v1/tasks with model seedance-2-5 and an input object with a prompt, a duration of 5, 10, 20 or 30 seconds and a resolution of 480p, 720p, 1080p or 4K. Poll GET /v1/tasks/{id} or pass a callback_url, then read the video from output.urls.
How much does the Seedance API cost?
Seedance 2.5 on TapModels costs $0.14 per second at 480p, $0.315 at 720p, $0.79 at 1080p and $1.255 at 4K. A 10 second 720p clip is 10 x $0.315 = $3.15. We publish no provider list price for Seedance, so we make no comparison.
Is there a Seedance 2 API?
The Seedance model in our catalog is Seedance 2.5, with model id seedance-2-5. We do not list a separate Seedance 2.0 model. For the Seedance family through our API, use seedance-2-5 and check GET /v1/models for the current list.
Can Seedance make video from an image?
Yes. The model is listed for text to video, image to video and video to video. For image to video, upload the first frame with POST /v1/files and pass the returned URL as image_url. The price depends on resolution and length, not on the input type.
Sources
- TapModels model catalog entry for Seedance 2.5 · checked Nov 26, 2026
Keep reading
- Seedance API pricingWhat Seedance costs per unit, with a worked example
- Seedance 2.5 APIPlayground, parameters and price
- Kling vs SeedancePrice, limits and which to pick
- Veo vs SeedancePrice, limits and which to pick
- Text to video APIEvery model we sell for this, ranked by price
- Image to video APIEvery model we sell for this, ranked by price