Seedance 2.5 720p · Seedance 2.0 API

Two model families on this page, one endpoint:

Text-to-video, first frame, first-last frame, reference image / video / audio and audio output are all supported; 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
Seedance 2.5: without reference video seedance-2.5-720p-hmt; with reference video seedance-2.5-ref-720p-hmt
Seedance 2.5 flash: seedance-2.5-flash-720p-hmt / seedance-2.5-flash-480p-hmt; with reference video seedance-2.5-flash-ref-720p-hmt
Seedance 2.0: all 12 models in section 08
Required params
model, prompt, duration (integer seconds)
Client timeout
Recommended total polling timeout ≥ 600 s

Resolution is fixed by the model name — don't send it. Seedance 2.5 is always 720p; Seedance 2.5 flash renders at the 480p / 720p in the name; Seedance 2.0 renders at the resolution in the name. Any resolution in the request body is overwritten with the matching value.

02Models & pricing (Seedance 2.5)

Seedance 2.0 pricing is in section 08. Seedance 2.5 bills per output second: unit price × output seconds = total, in CNY per second.

Model nameTask typeUnit price4 s10 s30 s
seedance-2.5-720p-hmtWithout reference video (text / first frame / first-last frame / reference image / reference audio)¥0.88 / s¥3.52¥8.80¥26.40
seedance-2.5-ref-720p-hmtWith reference video (may also carry reference image / audio)¥0.98 / s¥3.92¥9.80¥29.40
seedance-2.5-flash-720p-hmt2.5 flash 720p, without reference video¥0.79 / s¥3.16¥7.90¥23.70
seedance-2.5-flash-480p-hmt2.5 flash 480p, without reference video¥0.36 / s¥1.44¥3.60¥10.80
seedance-2.5-flash-ref-720p-hmt2.5 flash 720p, with reference video¥0.97 / s¥3.88¥9.70¥29.10

Pick the model name by whether you send reference video. If the request contains reference_video you must use seedance-2.5-ref-720p-hmt; otherwise you must use seedance-2.5-720p-hmt (same for flash: seedance-2.5-flash-ref-720p-hmt with reference video, seedance-2.5-flash-720p-hmt / seedance-2.5-flash-480p-hmt without; flash with reference video is 720p only). Using the wrong one returns 400 with no charge.

Reference-video duration is not charged — billing follows output seconds only. Reference images, reference audio and audio output cost nothing extra either.

03Billing

Charged on successful submit at “unit price × output seconds”; a failed or timed-out task is refunded in full automatically.

CaseFormula
seedance-2.5-720p-hmt (without reference video)¥0.88 × output seconds
seedance-2.5-ref-720p-hmt (with reference video)¥0.98 × output seconds
seedance-2.5-flash-720p-hmt (without reference video)¥0.79 × output seconds
seedance-2.5-flash-480p-hmt (without reference video)¥0.36 × output seconds
seedance-2.5-flash-ref-720p-hmt (with reference video)¥0.97 × output seconds

Output seconds are exactly the duration you send (an integer from 4 to 30).

04Reference asset rules

This section gives the Seedance 2.5 limits; the image spec applies to both families. Seedance 2.0 limits are in section 08.

AssetLimit
Reference imagesUp to 30
Reference videoUp to 10 (only with seedance-2.5-ref-720p-hmt / seedance-2.5-flash-ref-720p-hmt)
Reference audioUp to 10 clips
Audio onlySupported
First / last frameSupported
Output duration4–30 s

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

Reference image / frame spec

Every image must satisfy the table below; one bad image fails the whole task (refunded automatically). Check and crop / resize before submitting.

ItemRequirement
Width and heightboth between 300 and 6000 px
Aspect ratio (w ÷ h)0.4–2.5 (no long strips or flat panes)
FormatJPG / PNG / WEBP recommended
SizeUnder 30 MB each

Small icons and avatar thumbnails are the usual trap. A 199 × 199 image, for instance, fails the whole task because its sides are under 300 px. The failure reason names the offending image (e.g. “reference image 4: …”) — see section 07.

05Submit a task

5.1 Request format

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

rolePurpose
first_frame / last_frameFirst / last frame (a lone first frame means image-to-video from it)
reference_imageReference image (subject / style / composition)
reference_videoReference video (camera / motion), requires seedance-2.5-ref-720p-hmt
reference_audioReference audio (rhythm / ambience)

Top-level parameters: duration (required, integer seconds), ratio (optional: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive). For a video with sound, pass metadata in "generate_audio": true; no extra cost.

Don't send ratio. In this mode the aspect ratio follows the first-frame image; sending ratio gets the task rejected upstream (failed, refunded automatically).

In other modes, if you omit ratio this gateway does not fill in a default, and with reference assets the ratio may follow the asset. To lock 16:9 or any other ratio, send ratio.

Task type omni_reference_task_type (Seedance 2.5)

With reference video the upstream may classify the task as video editing based on the prompt; editing follows the source video for ratio and duration, so sending ratio or duration gets rejected and the task fails. To avoid that misclassification, this gateway sends "omni_reference_task_type": "reference" (full multimodal reference) for you by default, honouring your ratio and duration. In practice you can ignore this parameter.

This parameter only applies when the request carries reference materials (reference image / video / audio). Text-to-video and first-frame / first-last-frame requests never carry it; if you send it, the gateway strips it, otherwise the upstream would reject the request.

ValueMeaning
reference (default)Full multimodal reference: images / video / audio are references only; output follows the request ratio, duration to render
autoThe upstream infers the task type from the prompt; it may pick video editing and fail — not recommended

To set it yourself, put it at the top level or inside metadata; when both are present, metadata wins. Seedance 2.0 does not take this parameter.

Video editing / continuation is not supported yet. Both take their duration from the source video, which conflicts with per-second billing — do not send edit, extend.

5.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-720p-hmt",
    "prompt": "neon city at night, slow push-in, wet streets reflecting the lights",
    "duration": 5,
    "ratio": "16:9"
  }'

Seedance 2.5 flash 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-flash-480p-hmt",
    "prompt": "Neon city at night, slow push-in, rain-soaked street reflecting the lights",
    "duration": 5,
    "ratio": "16:9"
  }'

5 s at 480p = ¥0.36 × 5 = ¥1.80. For 720p use seedance-2.5-flash-720p-hmt; with reference video use seedance-2.5-flash-ref-720p-hmt (720p only). First frame, reference image, reference audio etc. are written exactly like the Seedance 2.5 examples below — just change the model name.

5.3 First frame / first-last frame

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-hmt",
    "prompt": "a smooth transition from the first image into the second",
    "duration": 5,
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/first.png"},"role":"first_frame"},
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/last.png"},"role":"last_frame"}
      ]
    }
  }'

5.4 Reference image + reference audio + sound

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-hmt",
    "prompt": "the character matches image 1, motion locked to the beat of audio 1",
    "duration": 8,
    "ratio": "16:9",
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/char.png"},"role":"reference_image"},
        {"type":"audio_url","audio_url":{"url":"https://your-cdn.com/bgm.mp3"},"role":"reference_audio"}
      ],
      "generate_audio": true
    }
  }'

5.5 Reference video (use seedance-2.5-ref-720p-hmt)

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-ref-720p-hmt",
    "prompt": "the character matches image 1, camera follows video 1",
    "duration": 10,
    "ratio": "16:9",
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/char.png"},"role":"reference_image"},
        {"type":"video_url","video_url":{"url":"https://your-cdn.com/motion.mp4"},"role":"reference_video"}
      ]
    }
  }'

5.6 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-720p-hmt",
  "status": "queued",
  "progress": 0,
  "created_at": 1791600000
}

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

06Poll & 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 as resp["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-720p-hmt",
  "status": "completed",
  "progress": 100,
  "created_at": 1791600000,
  "completed_at": 1791600160,
  "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.

07Error handling

HTTPTypical messageFix
404bad response status code 404You used /v1/chat/completions; switch to POST /v1/videos
400duration out of rangeInteger; 4–30 s for Seedance 2.5, 4–15 s for Seedance 2.0
400reference_video_not_allowed / reference_video_requiredModel name does not match the reference video: with ref video use seedance-2.5-ref-720p-hmt; without it use seedance-2.5-720p-hmt
400too_many_reference_images / videos / audiosReduce the asset count; limits are in section 04 (2.5) / section 08 (2.0)
400invalid_audio_only_inputSeedance 2.0 only: reference audio must be paired with at least one reference image or video
—Task failed: ratio is not valid … follows the first-frame imageFor first / last frame tasks, remove ratio
—Task failed: reference image size out of range (300–6000 px)Swap the image or resize it, then retry; spec in section 04
—Task failed: reference image aspect ratio out of range (0.4–2.5)Crop it and retry
—Task failed: unsupported reference image formatUse JPG / PNG / WEBP
—Task failed: asset download failedMedia URLs must be publicly downloadable
—Task failed: content moderation rejected / real person detectedAdjust the prompt or assets, then retry
403token quota is not enoughInsufficient balance — top up or use another token
503No available channelModel name typo or the token group has no access

You see the real failure reason. When a task enters failed, the error.message in the poll response explains the cause and the fix; when a specific asset is at fault it carries a prefix such as “reference image 4: reference image size out of range…”. Show that text to your own users verbatim — no need to contact us.

200 response · failed
{
  "id": "task_wD4efMzF414I6eMTQ7j2A3bW1Wluh44L",
  "object": "video",
  "model": "seedance-2.5-720p-hmt",
  "status": "failed",
  "error": {
    "code": "...",
    "message": "reference image aspect ratio (width / height) must be between 0.4 and 2.5"
  },
  "metadata": { "url": "" }
}

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.

08Seedance 2.0 / fast / mini (12 models)

Endpoint, request format, polling, download and error handling are identical to the above — only the model names, durations, pricing and asset limits differ.

8.1 Model names

As with Seedance 2.5, each model has two names, split by whether reference video is sent: the reference-video variant carries an extra ref. The name itself states the output resolution, so resolution is not needed.

VersionResolutionWithout reference videoWith reference video
Seedance 2.0720pseedance-2.0-720p-hmtseedance-2.0-ref-720p-hmt
Seedance 2.01080pseedance-2.0-1080p-hmtseedance-2.0-ref-1080p-hmt
Seedance 2.0 fast720pseedance-2.0-fast-720p-hmtseedance-2.0-fast-ref-720p-hmt
Seedance 2.0 fast1080pseedance-2.0-fast-1080p-hmtseedance-2.0-fast-ref-1080p-hmt
Seedance 2.0 mini720pseedance-2.0-mini-720p-hmtseedance-2.0-mini-ref-720p-hmt
Seedance 2.0 mini1080pseedance-2.0-mini-1080p-hmtseedance-2.0-mini-ref-1080p-hmt

Pick the model name by whether you send reference video. If the request contains reference_video you must use the name with ref; otherwise use the name without ref. Using the wrong one returns 400 (reference_video_required / reference_video_not_allowed) with no charge. First frame, first-last frame, reference image and reference audio all use the name without ref.

8.2 Pricing & billing

Billed per output second: unit price × duration = total, charged on submit; failures and timeouts are refunded in full. With and without reference video the price is the same, and reference-video duration is not charged separately.

Version720p unit price1080p unit price720p · 10 s1080p · 10 s
Seedance 2.0¥0.75 / s¥1.61 / s¥7.50¥16.10
Seedance 2.0 fast¥0.60 / s¥1.30 / s¥6.00¥13.00
Seedance 2.0 mini¥0.37 / s¥0.81 / s¥3.70¥8.10

8.3 Parameters & asset limits

ItemSeedance 2.0 / fast / mini
durationInteger 4–15 s, required
ratio16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive (omit for first / last frame tasks)
Reference imagesUp to 9
Reference videoUp to 3
Reference audioUp to 3 clips; must be paired with at least one reference image or video — audio-only is not supported
Audio outputmetadata.generate_audio: true

The image spec is the same as section 04. Request format as in section 05; just change model to a 2.0 model name.

8.4 Example: first-frame image-to-video, 1080p output

curl
curl -X POST https://www.salpx.com/v1/videos \
  -H "Authorization: Bearer $SALPX_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.0-fast-1080p-hmt",
    "prompt": "the figure turns and walks to the window, camera following slowly",
    "duration": 10,
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/first.png"},"role":"first_frame"}
      ],
      "generate_audio": true
    }
  }'

8.5 Example: reference image + reference video, 720p output (name with ref)

curl
curl -X POST https://www.salpx.com/v1/videos \
  -H "Authorization: Bearer $SALPX_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.0-ref-720p-hmt",
    "prompt": "the character matches image 1, camera follows video 1",
    "duration": 8,
    "ratio": "16:9",
    "metadata": {
      "content": [
        {"type":"image_url","image_url":{"url":"https://your-cdn.com/char.png"},"role":"reference_image"},
        {"type":"video_url","video_url":{"url":"https://your-cdn.com/motion.mp4"},"role":"reference_video"}
      ]
    }
  }'

Polling and download match section 06, and the video URL is still in metadata.url.