Seedance API:Seedance 2.5 / 2.0 影片生成 API
Seedance 是字節跳動的 AI 影片生成模型。Decode 透過火山引擎(中國)和 BytePlus(海外)官方通道提供 Seedance 2.5、2.0 的 API,介面與官方一致,中國 7.5 折(省 25%)、海外 8.5 折(省 15%)。
可用模型
Seedance 2.5 API
最長 30 秒 · 480p / 720p / 1080p
低至 ¥0.5044/秒 · $0.0874/秒
Seedance 2.0 API
最長 15 秒 · 480p / 720p / 1080p / 4K
低至 ¥0.3315/秒 · $0.0572/秒
| 模型 | 中國模型 ID | 海外模型 ID | 解析度 | 時長(秒) | 參考圖 / 影片 / 音訊上限 |
|---|---|---|---|---|---|
| Seedance 2.5 | doubao-seedance-2-5-261111 | dreamina-seedance-2-5-261111 | 480p、720p、1080p | 4–30 | 30 / 10 / 10 |
| Seedance 2.0 | doubao-seedance-2-0-261111 | dreamina-seedance-2-0-261111 | 480p、720p、1080p、4K | 4–15 | 9 / 3 / 3 |
Seedance 2.5:Seedance 2.5 是字節跳動 Seedance 系列目前最新的影片生成模型,單次最長生成 30 秒影片,解析度 480p / 720p / 1080p,每個請求最多 30 張參考圖、10 段參考影片、10 段參考音訊。
Seedance 2.0:Seedance 2.0 是字節跳動的多模態影片生成模型,支援最高 4K 輸出、同步生成音訊,解析度 480p / 720p / 1080p / 4K,每個請求最多 9 張參考圖、3 段參考影片、3 段參考音訊。
按功能選擇 API
| 模型 | 文生影片 | 圖生影片 | 參考生影片 |
|---|---|---|---|
| Seedance 2.5 | Seedance 2.5 文生影片 API | Seedance 2.5 圖生影片 API | Seedance 2.5 參考生影片 API |
| Seedance 2.0 | Seedance 2.0 文生影片 API | Seedance 2.0 圖生影片 API | Seedance 2.0 參考生影片 API |
中國與海外兩個通道
| 通道 | 模型名 | 計價 | 優惠 |
|---|---|---|---|
| 中國:火山引擎官方 | doubao-seedance-* | 人民幣 | 7.5 折(省 25%) |
| 海外:BytePlus 官方 | dreamina-seedance-* | 美元 | 8.5 折(省 15%) |
| 中國特價線 | seedance-2.5-px、seedance-2.0-px | 人民幣 | 6.4 折(省 36%) |
兩個通道的生成和查詢介面、參數完全相同,只是模型名不同,並共用同一個素材庫。中國大陸用戶建議使用介面位址 https://cn.decode8.com。
特價線是另一條中國上游,同樣的介面,參數限制更多(不支援 ratio: adaptive、bitrate_mode、樣片和回呼等),Key 需選擇「国内特价px」分組。價格見特價模型價格,參數限制見介面文件。
Seedance API 價格速覽
| 模型 | 解析度 | 官方價 / 百萬 tokens | Decode 價 / 百萬 tokens | 官方價 / 秒 | Decode 價 / 秒 | 10 秒影片(Decode) | 優惠 |
|---|---|---|---|---|---|---|---|
| Seedance 2.5 | 480p | ¥70.00 | ¥52.50 | ¥0.6725 | ¥0.5044 | ¥5.04 | 7.5 折(省 25%) |
| 720p | ¥70.00 | ¥52.50 | ¥1.5120 | ¥1.1340 | ¥11.34 | 7.5 折(省 25%) | |
| 1080p | ¥77.00 | ¥57.75 | ¥3.7422 | ¥2.8067 | ¥28.07 | 7.5 折(省 25%) | |
| Seedance 2.0 | 480p | ¥46.00 | ¥34.50 | ¥0.4419 | ¥0.3315 | ¥3.31 | 7.5 折(省 25%) |
| 720p | ¥46.00 | ¥34.50 | ¥0.9936 | ¥0.7452 | ¥7.45 | 7.5 折(省 25%) | |
| 1080p | ¥51.00 | ¥38.25 | ¥2.4786 | ¥1.8590 | ¥18.59 | 7.5 折(省 25%) | |
| 4K | ¥26.00 | ¥19.50 | ¥5.0544 | ¥3.7908 | ¥37.91 | 7.5 折(省 25%) |
資料日期 2026-11-23。官方價:中國為火山方舟人民幣定價,海外為 BytePlus ModelArk 美元定價。按秒價格按 16:9、24 fps 估算(tokens = 寬 × 高 × 24 × 秒數 ÷ 1024),實際以上游回傳的 tokens 結算;其他長寬比的像素數略有不同。以上為新用戶預設價,月用量大的客戶可聯絡業務申請專屬折扣;即時價格以控制台「模型廣場」為準。
三步開始
curl https://decode8.com/api/v3/contents/generations/tasks \
-H "Authorization: Bearer $DECODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedance-2-0-261111",
"content": [
{
"type": "text",
"text": "一隻橘貓在灑滿陽光的窗台上伸懶腰,鏡頭緩慢推近,暖色調,電影感"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}'import os
import time
import requests
BASE_URL = "https://decode8.com/api/v3/contents/generations/tasks"
HEADERS = {"Authorization": f"Bearer {os.environ['DECODE_API_KEY']}"}
payload = {
"model": "doubao-seedance-2-0-261111",
"content": [
{
"type": "text",
"text": "一隻橘貓在灑滿陽光的窗台上伸懶腰,鏡頭緩慢推近,暖色調,電影感"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": True
}
# 1. 提交任務,取得任務 ID
task_id = requests.post(BASE_URL, headers=HEADERS, json=payload).json()["id"]
# 2. 每 10 秒查詢一次,直到結束
while True:
task = requests.get(f"{BASE_URL}/{task_id}", headers=HEADERS).json()
if task["status"] in ("succeeded", "failed", "cancelled", "expired"):
break
time.sleep(10)
print(task["status"], task.get("content", {}).get("video_url"))const BASE_URL = 'https://decode8.com/api/v3/contents/generations/tasks'
const headers = {
Authorization: `Bearer ${process.env.DECODE_API_KEY}`,
'Content-Type': 'application/json',
}
const payload = {
"model": "doubao-seedance-2-0-261111",
"content": [
{
"type": "text",
"text": "一隻橘貓在灑滿陽光的窗台上伸懶腰,鏡頭緩慢推近,暖色調,電影感"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
// 1. 提交任務,取得任務 ID
const { id } = await fetch(BASE_URL, {
method: 'POST',
headers,
body: JSON.stringify(payload),
}).then((res) => res.json())
// 2. 每 10 秒查詢一次,直到結束
let task
do {
await new Promise((resolve) => setTimeout(resolve, 10_000))
task = await fetch(`${BASE_URL}/${id}`, { headers }).then((res) => res.json())
} while (['queued', 'running'].includes(task.status))
console.log(task.status, task.content?.video_url)常見問題
Seedance 2.0 API 多少錢一秒?
720p 不含影片輸入時,中國通道 Decode 價 ¥34.50/百萬 tokens,約 ¥0.7452/秒(官方 ¥0.9936/秒);海外通道約 $0.1285/秒(官方 $0.1512/秒)。
Seedance 2.5 API 多少錢?
720p 不含影片輸入時,中國 ¥52.50/百萬 tokens(約 ¥1.1340/秒),海外 $9.10/百萬 tokens(約 $0.1965/秒)。一支 10 秒 720p 影片在中國約 ¥11.34。
Seedance 2.5 和 2.0 有什麼區別?
Seedance 2.5 單次最長 30 秒,每個請求最多 30 張參考圖、10 段參考影片、10 段參考音訊,解析度到 1080p;Seedance 2.0 最長 15 秒,最多 9 圖 / 3 影片 / 3 音訊,解析度到 4K,價格更低。
Decode 的 Seedance API 是官方的嗎?
是官方通道:中國模型 doubao-seedance-* 走火山引擎官方,海外模型 dreamina-seedance-* 走 BytePlus 官方。介面與官方完全一致,價格低於官方定價。
Seedance API 怎麼按秒計算價格?
Seedance 按輸出影片的 tokens 計費:tokens ≈ 寬 × 高 × 24 × 秒數 ÷ 1024。720p(1280×720)每秒約 21,600 tokens,所以每秒價格 ≈ 每百萬 tokens 單價 × 0.0216。
有免費額度或大量優惠嗎?
預設售價已低於官方價;月用量較大的客戶可以聯絡我們申請專屬分組倍率和階梯價。