MLMux 上的 ByteDance 模型
ByteDance 開發了 Seedream 圖片模型與 Seedance 影片模型。Seedream 每張圖片採固定價格計費,Seedance 則依短片所消耗的 token 計費。預設的 official-cheap 路由價格為 Seedream 官方定價的 90% 以及 Seedance 官方定價的 92%。
模型
MLMux 上的所有 ByteDance 模型,包含其各項參數設定以及預設 official-cheap 路由的預估價格。official 路由則以官方原價計費。
| 模型與 API 模型 ID | 選項 | official-cheap 價格(預設) |
|---|---|---|
Seedance 2.5bytedance/seedance-2.5 | 影片模型尺寸:480p, 720p, 1080p4–30 秒片段 | 720p 每秒 $0.213official:$0.231 |
Seedance 2.0bytedance/seedance-2.0 | 影片模型尺寸:480p, 720p, 1080p, 4K4–15 秒片段 | 720p 每秒 $0.139official:$0.151 |
Seedance 2.0 Fastbytedance/seedance-2.0-fast | 影片模型尺寸:480p, 720p4–15 秒片段 | 720p 每秒 $0.111official:$0.121 |
Seedance 2.0 Minibytedance/seedance-2.0-mini | 影片模型尺寸:480p, 720p4–15 秒片段 | 720p 每秒 $0.07official:$0.076 |
Seedream 4.0bytedance/seedream-4.0 | 圖片模型尺寸:1K, 2K, 4K | 每張圖片 $0.027official:$0.03 |
Seedream 4.5bytedance/seedream-4.5 | 圖片模型尺寸:2K, 4K | 每張圖片 $0.036official:$0.04 |
Seedream 5.0bytedance/seedream-5.0 | 圖片模型尺寸:2K, 4K | 每張圖片 $0.032official:$0.035 |
Seedream 5 Probytedance/seedream-5.0-pro | 圖片模型尺寸:2K, 4K | 每張圖片 $0.081official:$0.09 |
快速入門
- 建立 API 金鑰
在主控台中建立金鑰,並將其儲存為 MLMUX_API_KEY 環境變數。
建立 API 金鑰 - 發送請求
範例會將 Seedance 2.5 (bytedance/seedance-2.5) 發送至 https://api.mlmux.com/v1/videos/generations。您可以將模型 ID 變更為上方表格中的任一模型。
- 讀取結果
回應為一個任務。每隔幾秒輪詢其 poll_url,直到 status 為 succeeded,即可下載影片,或設定 webhook 接收通知。
影片 API 參考文件
curl https://api.mlmux.com/v1/videos/generations \
-H "Authorization: Bearer $MLMUX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedance-2.5",
"route_mode": "official-cheap",
"prompt": "A red fox walks through fresh snow at sunrise, slow tracking shot, cinematic light",
"mode": "text_to_video",
"ratio": "adaptive",
"resolution": "1080p",
"duration": 10,
"generate_audio": true
}'
# The response is a task. Poll it until "status" is "succeeded", then read "video".
curl https://api.mlmux.com/v1/videos/generations/TASK_ID \
-H "Authorization: Bearer $MLMUX_API_KEY"常見問題
我可以在 MLMux 上使用哪些 ByteDance 模型?
共 8 種模型:Seedance 2.5、Seedance 2.0、Seedance 2.0 Fast、Seedance 2.0 Mini、Seedream 4.0、Seedream 4.5、Seedream 5.0和Seedream 5 Pro。每個模型都有專屬頁面,詳細列出參數選項、價格,並提供可在瀏覽器中直接測試的 Playground。
ByteDance 模型在 MLMux 上的費用是多少?
價格最低的是 Seedream 4.0,在預設的 official-cheap 路由上為 每張圖片 $0.027。所有價格均為隨用隨付,無需訂閱,失敗的請求不計費。
如何透過 API 呼叫 ByteDance 模型?
攜帶您的 MLMux API key,將模型 ID(例如 bytedance/seedance-2.5)發送至 https://api.mlmux.com/v1/videos/generations。MLMux 上的所有模型均採用相同的請求格式,因此更換模型只需修改一個欄位。
MLMux 與 ByteDance 有附屬關係嗎?
沒有。MLMux 是一項獨立服務,透過官方提供商路由執行 ByteDance 模型。模型名稱與商標均屬於其各自擁有者。