Seedance 2.5 · Per-second API (-yy)

480p uses seedance-2.5-480p-yy (¥0.324/s); 720p uses seedance-2.5-720p-yy (¥0.558/s). Text-to-video, reference images, and reference audio; 15–30 s. Billed per output second; failed tasks are refunded automatically.

01Quick start

Async job: submit and get an id, poll until completed, then download the finished video.

Don't use the wrong endpoint. This family uses POST /v1/videos, and must not use /v1/chat/completions — calling it through the chat endpoint returns 404.

Base URL
https://www.salpx.com/v1
Auth
Authorization: Bearer <SalpX Token>
Submit a task
POST /v1/videos
Query status
GET /v1/videos/{id}
Proxy download
GET /v1/videos/{id}/content
Model name
480p seedance-2.5-480p-yy; 720p seedance-2.5-720p-yy
Required params
model, prompt (up to 5,000 characters), duration (integer seconds, 15–30), ratio(16:9 or 9:16)
Client timeout
Recommended total polling timeout ≥ 900 s

Resolution is fixed by the model name — don't send it. Any resolution in the request body is overwritten with the resolution implied by the model name.

02Models & pricing

Billed per output second: unit price × duration = total. Prices are in CNY per second.

Model nameResolutionUnit price15 s20 s30 s
seedance-2.5-480p-yy480p¥0.324 / s¥4.86¥6.48¥9.72
seedance-2.5-720p-yy720p¥0.558 / s¥8.37¥11.16¥16.74

Reference images and audio are free, billed purely by output seconds. Charged on submit; fully refunded if the task fails or is rejected.

03Parameters & asset rules

ItemRule
Output duration durationInteger seconds, 15–30
Aspect ratio ratio16:9 or 9:16, must be sent explicitly
Reference imagesUp to 30
Reference audioUp to 10 clips, ≤ 30 s total; pair with at least one reference image
Reference videoNot supported (sending one returns 400 with no charge)

Media must be hosted at a publicly downloadable URL (the upstream server has to be able to fetch it). Private-cloud links, URLs behind a login, and hotlink-protected URLs will fail. audio_url must be a real audio file (wav / mp3, etc.).

Prompts and assets go through content moderation; violent, disturbing, sexual, or political content is rejected (the task ends up failed with an automatic refund).

04Submit a task

4.1 Request format

Put the text in the top-level prompt; put media in metadata.content, each with a role:

rolePurpose
reference_imageReference image (subject / style / composition)
reference_audioReference audio (music / rhythm / ambience)

4.2 Text-to-video

curl
curl -X POST https://www.salpx.com/v1/videos \
  -H "Authorization: Bearer $SALPX_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-480p-yy",
    "prompt": "a flower swaying gently in a light breeze, soft natural light, close-up shot",
    "duration": 15,
    "ratio": "16:9"
  }'

4.3 Reference image + reference audio

curl
curl -X POST https://www.salpx.com/v1/videos \
  -H "Authorization: Bearer $SALPX_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-720p-yy",
    "prompt": "same subject as image 1, slow dolly-in, with the background music from audio 1",
    "duration": 15,
    "ratio": "9:16",
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/product.png"},"role":"reference_image"},
        {"type":"audio_url","audio_url":{"url":"https://your-cdn.com/bgm.mp3"},"role":"reference_audio"}
      ]
    }
  }'

4.4 Successful submit response

The response returns the SalpX task ID(task_ prefix) — use it for both polling and download.

200 response
{
  "id": "task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L",
  "task_id": "task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L",
  "object": "video",
  "model": "seedance-2.5-480p-yy",
  "status": "queued",
  "progress": 0,
  "created_at": 1793700000
}

id and task_id are always the same value; new integrations only need id.

05Poll & fetch

Poll with GET /v1/videos/{id} at an interval of 15 s.

curl · query status
curl https://www.salpx.com/v1/videos/task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L \
  -H "Authorization: Bearer $SALPX_KEY"
statusMeaning
queuedQueued
in_progressIn progress
completedCompleted; the video URL is in metadata.url
failedFailed; the reason is in the top-level error; already refunded

The video URL is in metadata.url, not at the top level. Read it asresp["metadata"]["url"]. It is an empty string while the task is unfinished. progress is only a rough mapping of status — rely on status to decide whether the task has finished.

200 response · completed
{
  "id": "task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L",
  "task_id": "task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L",
  "object": "video",
  "model": "seedance-2.5-480p-yy",
  "status": "completed",
  "progress": 100,
  "created_at": 1793700000,
  "completed_at": 1793700400,
  "metadata": {
    "url": "https://video.example.com/xxxx.mp4"
  }
}
How to fetchNotes
Direct downloadmetadata.url is a public URL; a plain GET works
Proxy downloadGET /v1/videos/{id}/content, requires the Authorization; SalpX proxies back the same file

Save the video link promptly. Direct links are temporary and expire — don't use them as long-term storage.

06Error handling

HTTPTypical messageFix
404bad response status code 404You used /v1/chat/completions; switch to POST /v1/videos
400duration_out_of_range15–30 s, integer
400reference_video_not_allowedThis family does not accept reference video; drop the video_url
400Please specify an explicit ratio, e.g. 16:9ratio Send 16:9 or 9:16; do not send adaptive
400too_many_reference_images / audiosReduce the number of assets; the limits are in section 03
—Task failed: content rejected by moderationAdjust the prompt or assets, then retry
—Task failed: asset download failedMedia URLs must be publicly downloadable
403token quota is not enoughInsufficient balance — top up or use another token
503No available channel / model_not_foundModel name typo (only 480p and 720p exist) or the token group has no access

Failed tasks are refunded automatically. If a submit is rejected, the upstream fails, the request times out, or the task enters failed, the charged quota is refunded in full with no cost.