▥ Seedance 2.5 现已上线! ›
模型厂商

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

快速开始

  1. 创建 API 密钥

    在控制台中创建密钥并将其保存为 MLMUX_API_KEY 环境变量。

    创建 API 密钥
  2. 发送请求

    该示例将 Seedance 2.5(bytedance/seedance-2.5)发送至 https://api.mlmux.com/v1/videos/generations。你可以将模型 ID 更改为上表中的任意模型。

  3. 获取结果

    响应为一个任务。每隔几秒轮询一次其 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 密钥,将模型 ID(例如 bytedance/seedance-2.5)发送至 https://api.mlmux.com/v1/videos/generations。MLMux 上所有模型的请求格式均完全一致,切换模型只需更改一个字段。

MLMux 与 ByteDance 有附属或合作关系吗?

没有。MLMux 是一项独立服务,基于各厂商的官方路由运行 ByteDance 模型。模型名称和商标归各自所有者所有。