LoopToken
视频生成

Seedance 系列

豆包 Seedance 系列视频模型(方舟风格)

适用模型

模型说明
doubao-seedance-2-0-260128Seedance 2.0
doubao-seedance-2-0-fast-260128Seedance 2.0 Fast
doubao-seedance-2-0-mini-260615Seedance 2.0 Mini

实际可用模型以模型列表为准。

调用方式

异步两步协议(提交 + 轮询)与接口说明一致。Seedance 系列的请求体为方舟(火山引擎)风格:输入放在 content 数组,时长/分辨率既可写在 text 内的 --duration <秒>--resolution <720p|1080p> 指令,也可用 parameters.duration/parameters.size(二选一取舍规则见接口说明)。

参数类型必填说明
modelstring上表中的模型名
contentarray[{"type": "text", "text": "<提示词>"}],text 内可带 --duration/--resolution 指令
parameters.duration / parameters.sizeint / string结构化写法,存在 parameters 键时优先生效

图生视频(content 中传图片块)是否支持待实测确认后补充。

请求示例

curl https://api.looptoken.cc/v1/videos/generations \
  -H "Authorization: Bearer $LOOPTOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-2-0-fast-260128",
    "content": [{"type": "text", "text": "海边日落,海浪拍打礁石 --duration 5 --resolution 720p"}]
  }'

提交成功返回 202 与平台任务对象,完整轮询示例见接口说明

计费与错误

接口说明一致:按"时长 × 分辨率档位单价"计费,平台预扣按解析出的 duration/resolution,结算按上游实际用量多退少补;价格见模型列表,错误码见错误码

本页内容