Seedance 2.5 API:用一個介面生成電影級 AI 影片
Seedance 2.5 是字節跳動 Seedance 系列目前最新的影片生成模型,單次最長生成 30 秒影片,解析度 480p / 720p / 1080p,每個請求最多 30 張參考圖、10 段參考影片、10 段參考音訊。
用 Seedance 2.5 API 開始開發
Seedance 2.5 文生影片 API
只用一段文字提示詞生成帶音訊的影片。
Seedance 2.5 圖生影片 API
用一張圖片作首幀(可加尾幀)生成影片,主體與構圖保持一致。
Seedance 2.5 參考生影片 API
用多張參考圖、參考影片和參考音訊控制人物、風格、動作和聲音。
如何取得 Seedance 2.5 API
- 註冊 Decode 並在「錢包」儲值。
- 在「API 金鑰」中建立以
sk-開頭的 Key。 - 呼叫
POST /api/v3/contents/generations/tasks,model填doubao-seedance-2-5-261111。 - 輪詢任務,狀態為
succeeded後從content.video_url下載影片。
不想寫程式?登入後在「影片控制台」直接生成。
Seedance 2.5 的特點
單次最長 30 秒
一次請求生成 4–30 秒影片,長鏡頭和完整敘事不用多段拼接。
最多 30 張參考圖
再加 10 段參考影片、10 段參考音訊,多角色、多服裝、多場景也能保持一致。
原生音訊
generate_audio: true 時同時生成音效、環境聲和對白。
官方雙通道
中國走火山引擎官方,海外走 BytePlus 官方;兩個通道共用一個素材庫。
與官方 API 一致
已串接官方 API 的程式碼只需改介面位址和 Key,官方 SDK 也可直接使用。
失敗不扣費
預扣後按實際用量多退少補,任務失敗、素材審核不通過都不扣費。
規格參數
| 中國模型 ID | doubao-seedance-2-5-261111 |
|---|---|
| 海外模型 ID | dreamina-seedance-2-5-261111 |
| 功能 | 文生影片 · 圖生影片 · 參考生影片 |
| 解析度 | 480p / 720p / 1080p |
| 時長 | 4–30 秒 |
| 長寬比 | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 21:9 / adaptive |
| 參考素材上限 | 30 圖 / 10 影片 / 10 音訊 |
| 音訊 | 支援同步生成(generate_audio) |
| 計費 | 按輸出影片 tokens 計費,含影片輸入時單價不同 |
Seedance 2.5 API 價格(官方價 vs Decode)
以 720p、不含影片輸入為例:中國通道官方價 ¥70.00/百萬 tokens,Decode ¥52.50(約 ¥1.1340/秒,10 秒影片約 ¥11.34);海外通道官方價 $10.70/百萬 tokens,Decode $9.10(約 $0.1965/秒)。中國 7.5 折(省 25%),海外 8.5 折(省 15%)。
| 模型 | 解析度 | 官方價 / 百萬 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%) |
| 模型 | 解析度 | 官方價 / 百萬 tokens | Decode 價 / 百萬 tokens | 優惠 |
|---|---|---|---|---|
| Seedance 2.5 | 480p | ¥42.00 | ¥31.50 | 7.5 折(省 25%) |
| 720p | ¥42.00 | ¥31.50 | 7.5 折(省 25%) | |
| 1080p | ¥46.00 | ¥34.50 | 7.5 折(省 25%) |
| 模型 | 解析度 | 官方價 / 百萬 tokens | Decode 價 / 百萬 tokens | 官方價 / 秒 | Decode 價 / 秒 | 10 秒影片(Decode) | 優惠 |
|---|---|---|---|---|---|---|---|
| Seedance 2.5 | 480p | $10.70 | $9.10 | $0.1028 | $0.0874 | $0.87 | 8.5 折(省 15%) |
| 720p | $10.70 | $9.10 | $0.2311 | $0.1965 | $1.96 | 8.5 折(省 15%) | |
| 1080p | $11.70 | $9.95 | $0.5686 | $0.4833 | $4.83 | 8.5 折(省 15%) |
| 模型 | 解析度 | 官方價 / 百萬 tokens | Decode 價 / 百萬 tokens | 優惠 |
|---|---|---|---|---|
| Seedance 2.5 | 480p | $6.40 | $5.44 | 8.5 折(省 15%) |
| 720p | $6.40 | $5.44 | 8.5 折(省 15%) | |
| 1080p | $7.00 | $5.95 | 8.5 折(省 15%) |
資料日期 2026-11-23。官方價:中國為火山方舟人民幣定價,海外為 BytePlus ModelArk 美元定價。按秒價格按 16:9、24 fps 估算(tokens = 寬 × 高 × 24 × 秒數 ÷ 1024),實際以上游回傳的 tokens 結算;其他長寬比的像素數略有不同。以上為新用戶預設價,月用量大的客戶可聯絡業務申請專屬折扣;即時價格以控制台「模型廣場」為準。
預算有限?中國特價模型 seedance-2.5-px 按中國官方價 6.4 折計費,參數限制更多,見特價模型價格。
應用情境
- 電商商品影片與廣告素材
- 短劇、影視分鏡與預演
- 社群短影音大量製作
- 品牌行銷與 MV
- 遊戲與動畫概念影片
- 教育與知識講解影片
程式碼範例
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-5-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-5-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-5-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.5 是什麼?
Seedance 2.5 是字節跳動 Seedance 系列目前最新的影片生成模型,單次最長生成 30 秒影片,解析度 480p / 720p / 1080p,每個請求最多 30 張參考圖、10 段參考影片、10 段參考音訊。
Seedance 2.5 API 怎麼收費?多少錢一秒?
以 720p、不含影片輸入為例:中國通道官方價 ¥70.00/百萬 tokens,Decode ¥52.50(約 ¥1.1340/秒,10 秒影片約 ¥11.34);海外通道官方價 $10.70/百萬 tokens,Decode $9.10(約 $0.1965/秒)。中國 7.5 折(省 25%),海外 8.5 折(省 15%)。
如何取得 Seedance 2.5 API?
在 Decode 註冊並儲值,建立 API Key 後即可呼叫,無需排隊申請;中國、海外兩個通道都可用。
Seedance 2.5 支援哪些輸入?
支援文字提示(文生影片)、首幀 / 尾幀圖片(圖生影片)、參考圖 + 參考影片 + 參考音訊(參考生影片)。解析度 480p、720p、1080p,時長 4–30 秒。
中國境內能直接呼叫嗎?
可以。中國大陸建議使用 https://cn.decode8.com,生成的影片從中國境內儲存下載;海外用戶使用 https://decode8.com。
還有哪些 Seedance 模型?
Decode 同時提供 Seedance 2.0,介面相同,只需更換模型 ID。