As of 2026-11-13, seedance-2-mini-特价版 is offline for maintenance and cannot be called. Only seedance-2-fast-特价版 is on sale (¥0.13/s); since 2026-11-18 its 5 s and 15 s slots are discontinued — seconds must be 4 or 6–14; 5 or 15 returns 400 and is not charged. Everything on this page — submit, poll, download, billing — applies to fast as is.
01Quick start
This model runs as an async job: submit and get a task_id, poll until completed, then download the finished video.
The most common trap: using the wrong endpoint. The Seedance family uses POST /v1/videos, and must not use /v1/chat/completions— calling it through the chat endpoint returns 404, and no model name will fix that.
- Base URL
https://www.salpx.com/v1- Auth
Authorization: Bearer <SalpX Token>- Submit a task
POST /v1/videos- Query status
GET /v1/videos/{task_id}- Proxy download
GET /v1/videos/{task_id}/content- Token group
- must be
defaultor大额优惠; any other group returnsNo available channel - Render time
- Usually 5–15 minutes; after 45 minutes the task is failed automatically with a full refund
02Models & pricing
Two billing modes — picking the wrong one is a 10x difference. The per-second price is per second, while the per-task price covers the whole clip.
| Model name | Billing | Duration | Price | Cost per clip |
|---|---|---|---|---|
seedance-2-fast-特价版 |
per-second | 4 or 6–14 s (integer) 5 s and 15 s discontinued |
¥0.13 / s | 10s = ¥1.30 |
seedance-2-mini-特价版 maintenance |
per-second | 4–15 s (any integer) | paused | — |
seconds accepts 4, or any integer from 6 to 14. It is required — omit it and you get a 400. The 5 s and 15 s slots were discontinued on 2026-11-18: 5, 15 and out-of-range values (e.g. 3 or 20) are rejected with 400 and not charged.
Set the aspect ratio with aspect_ratio (or ratio). Allowed: auto, 9:16, 16:9, 1:1, 3:4, 4:3, 21:9. Anything else returns 400 invalid_aspect_ratio. You may still send size (e.g. 1280x720), which maps to the nearest ratio above; when both are sent, aspect_ratio / ratio wins.
2026-11-13 update: seedance-2-mini-特价版 is offline for maintenance and cannot be called right now (requests return No available channel). Only seedance-2-fast-特价版 is on sale: ¥0.13/s, 4 or 6–14 s (5 s and 15 s discontinued), 7 aspect ratios, up to 6 reference images. We will update this page and the pricing page when it is back.
Make sure your request includes seconds. This field is now required with no default — the old "omit it and you get 10 seconds" shortcut needs an explicit "seconds": 10.
2026-11-11 update: duration is now any integer from 4 to 15, plus a new aspect_ratio / ratio aspect-ratio field. Durations other than 10 s, and ratios other than 9:16 / 16:9, have less capacity and queue longer; when the queue is full you get 429 capacity_exhausted (the queue is currently busy) — retry in a few minutes.
A failure means an immediate refund — the task is never re-routed to another channel. Don't design retry logic around "a failure might still succeed" — a failure is final, and the money goes straight back.
03Submit a task
3.1 Text-to-video · per second (fast)
curl -X POST https://www.salpx.com/v1/videos \ -H "Authorization: Bearer $SALPX_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2-fast-特价版", "prompt": "a blue jellyfish drifting slowly through a neon sea, cinematic camera move", "seconds": 10 }'
Response:
{
"task_id": "task_HbomjItwROBzAYE8ugjgl37iqpSbf87A",
"object": "video",
"model": "seedance-2-fast-特价版",
"status": "queued",
"progress": 0,
"seconds": "10"
}
The 5 s and 15 s slots are discontinued. Copy the request above as is ("seconds": 10); sending 5 or 15 returns 400 and is not charged.
3.3 Image-to-video (reference image)
Add one reference-image field to the request: up to 6 images, duplicates are de-duplicated automatically, and more than 6 returns 400.
Prefer sending the image bytes directly (multipart file or base64). URLs also work, but we have to download the image before handing it to the renderer — if your image host is not readable by third parties, the submit is rejected.
curl -X POST https://www.salpx.com/v1/videos \ -H "Authorization: Bearer $SALPX_KEY" \ -F "model=seedance-2-fast-特价版" \ -F "prompt=slow push-in, flowing light and shadow" \ -F "seconds=10" \ -F "input_reference=@ref.png"
IMG=$(base64 -w0 ref.png) # on macOS use base64 -i ref.png cat > req.json <<EOF { "model": "seedance-2-fast-特价版", "prompt": "slow push-in, flowing light and shadow", "seconds": 10, "input_reference": "data:image/png;base64,$IMG" } EOF curl -X POST https://www.salpx.com/v1/videos \ -H "Authorization: Bearer $SALPX_KEY" \ -H "Content-Type: application/json" \ --data-binary @req.json
curl -X POST https://www.salpx.com/v1/videos \ -H "Authorization: Bearer $SALPX_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2-fast-特价版", "prompt": "slow push-in, flowing light and shadow", "seconds": 10, "input_reference": "https://your-cdn.com/ref.jpg" }'
Hard requirement for URLs: any third party must be able to GET the address directly. Object-storage presigned URLs (the ones with X-Amz-Signature), login-gated, Referer-gated and IP-allowlisted addresses can never be fetched by us. Submit then returns 400 reference_image_unreachable, passing through the error your image host returned verbatim (e.g. SignatureDoesNotMatch) so you can diagnose it.
These failures happen before any charge and cost nothing, and no task is created. If in doubt, skip the URL and use pattern ① or ② above.
First-last frame is not supported. The Value Edition only takes reference images, so thefirst_frame / last_frame pattern has no effect — it won't error, but the video is not generated from those frames.
Reference video / audio are not supported. This line supports reference images only (≤ 6) with no multimodal reference; don't send fields likereference_video / reference_audio.
Request fields
| Field | Type | Required | Notes |
|---|---|---|---|
model | string | Yes | Full model name, including the Chinese suffix |
prompt | string | Yes | Prompt, must not be blank |
seconds | number / string | Required | 4, or any integer 6–14 (5 and 15 discontinued); both the number 10 and the string "10" are accepted |
aspect_ratio | string | No | Aspect ratio: auto / 9:16 / 16:9 / 1:1 / 3:4 / 4:3 / 21:9; may also be written as ratio. Takes precedence over size |
size | string | No | e.g. 1280x720, mapped to the nearest ratio above |
duration | number / string | No | seconds is an equivalent alias — use either one |
input_reference | string / string[] | No | Reference images, ≤ 6, ≤ 10 MB total. Accepts multipart files, base64, thedata:image/png;base64, prefix form, or an image URL (which third parties must be able to download). Omit it for plain text-to-video |
images / image | string / string[] | No | input_reference is an equivalent alias with identical syntax and limits |
04Poll & fetch
Poll every 30–60 seconds after submitting; renders usually take 5–15 minutes.
curl https://www.salpx.com/v1/videos/task_HbomjItwROBzAYE8ugjgl37iqpSbf87A \ -H "Authorization: Bearer $SALPX_KEY"
Response once completed:
{
"id": "task_HbomjItwROBzAYE8ugjgl37iqpSbf87A",
"status": "completed",
"progress": 100,
"seconds": "10",
"url": "https://video.example.com/20260921/selfd_xxxx.mp4",
"video_url": "https://video.example.com/20260921/selfd_xxxx.mp4",
"result": { "data": [ { "url": "https://..." } ] }
}
Two ways to fetch the video
- Direct download:
urlfield is a public absolute URL — a plainGETworks, withno auth header at all. - Proxy download:
GET /v1/videos/{task_id}/content, requires theAuthorization. SalpX proxies it and returns the same file.
curl -L -o out.mp4 \ https://www.salpx.com/v1/videos/task_xxxx/content \ -H "Authorization: Bearer $SALPX_KEY"
Both return video/mp4 with byte-identical content. If downloads are slow, raise your client timeout to ≥ 600 s.
05Billing & refunds
Quota is held on submit and refunded in full if the task fails or times out (a refund line appears in billing).
| Model | Formula | Billing label | Measured charge |
|---|---|---|---|
fast-特价版 | ¥0.13 × seconds | Per second: N s | 10s → ¥1.30 |
mini-特价版 | Offline for maintenance, not billed | ||
Failed tasks are refunded automatically. An upstream 5xx, the 45-minute timeout, or a task entering failed → SalpX releases the held quota; nothing is actually charged.
Failures are never re-routed to another channel — the task simply fails and is refunded. Re-routing a mismatched spec would mean a different model and a second charge, so we deliberately don't do it.
06Error handling
| HTTP | Typical message | Cause | Fix |
|---|---|---|---|
| 404 | bad response status code 404 | You used /v1/chat/completions |
switch to POST /v1/videos |
| 400 | duration out of range | seconds is not 4 or 6–14 | send 4, or an integer between 6–14 inclusive |
| 400 | duration field is required | seconds was omitted | add seconds |
| 400 | reference_image_unreachable | We cannot fetch the reference image (presigned / private / auth-gated URL) | send the bytes via multipart or base64; the error carries your image host's message |
| 400 | reference_image_too_large | Reference images exceed 10 MB in total | compress them and retry |
| 400 | too_many_reference_images | More than 6 reference images | cut it to 6 or fewer |
| 403 | token quota is not enough | Token balance too low to hold the charge | top up or use another token |
| 503 | No available channel | Model name typo, or the wrong token group | Check the model name; the group must be default |
| 429 | capacity_exhausted | Render queue is full | back off a few minutes and retry |
| 400 | invalid_aspect_ratio | Aspect ratio not in the allowed list | switch to auto / 9:16 / 16:9 / 1:1 / 3:4 / 4:3 / 21:9 |
All three reference_image_* / too_many_reference_images errors happenbefore any charge: no quota held, no task created, no billing line — just fix the request and resend.
Make sure the Chinese model name is sent as UTF-8. Building JSON from shell variables tends to break the escaping; write the body to a file and submit it with --data-binary @file.json.
07Full example
Submit → poll → download, as a ready-to-run Python script.
# pip install requests import time, requests BASE = "https://www.salpx.com/v1" KEY = "sk-your-token" H = {"Authorization": f"Bearer {KEY}"} # 1. submit (seconds is required: 4 or 6–14) r = requests.post(f"{BASE}/videos", headers=H, json={ "model": "seedance-2-fast-特价版", "prompt": "a blue jellyfish drifting slowly through a neon sea, cinematic camera move", "seconds": 10, }, timeout=60) r.raise_for_status() task_id = r.json()["task_id"] print("submitted:", task_id) # 2. poll, wait up to 45 minutes deadline = time.time() + 45 * 60 url = None while time.time() < deadline: time.sleep(45) d = requests.get(f"{BASE}/videos/{task_id}", headers=H, timeout=60).json() st = d.get("status") print(st, d.get("progress"), "%") if st == "completed": url = d.get("url") or d["result"]["data"][0]["url"] break if st in ("failed", "FAILURE"): raise RuntimeError(d.get("fail_reason") or "generation failed, refunded automatically") if not url: raise TimeoutError("no output after 45 minutes; the system will refund automatically") # 3. download (the direct link needs no auth) mp4 = requests.get(url, timeout=600).content open("out.mp4", "wb").write(mp4) print("saved out.mp4", len(mp4), "bytes")