全部接口
文生视频查询任务(免费)
Seedance查询任务
图像生成
Chat(工具tools调用)
Flux
Recraftv3
文生图
Seedance文生视频
Seedance图生视频
Seedance首尾帧图生视频
模型信息
| 模型 ID | seedream-v5-pro/layer-decomposition | 供应商 | 火山豆包 |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 2026-08-10 23:09:29 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| Seedance首尾帧图生视频 | Seedance首尾帧图生视频 | 本站 AI 中转站 | POST | /v2/videos/generations |
POST /v2/videos/generations
### Seedance首尾帧图生视频
统一接口格式
{
"summary": "Seedance首尾帧图生视频",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### Seedance首尾帧图生视频\n统一接口格式",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Seedance首尾帧图生视频",
"$schema": "",
"required": [
"prompt",
"model",
"images"
],
"properties": {
"seed": {
"type": "integer",
"description": "一个随机数种子,用于控制模型生成的内容的随机性。该值必须在 [0, 2147483647] 的范围内。\n如果不提供此参数,则算法会自动为种子生成一个随机数。如果希望生成的内容保持相对稳定,可以使用相同的种子值。"
},
"model": {
"enum": [
"doubao-seedance-2.5",
"doubao-seedance-2-0-260128",
"doubao-seedance-2-0-fast-260128",
"doubao-seedance-2.0-mini",
"doubao-seedance-1-0-lite-i2v-250428"
],
"type": "string",
"description": "型号名称。示例:doubao-seedance-1-0-pro-250528"
},
"ratio": {
"type": "string",
"description": "生成视频的宽高比例\n21:9\n16:9 \n4:3\n1:1\n3:4\n9:16\n9:21\nkeep_ratio:所生成视频的宽高比与所上传图片的宽高比保持一致。\nadaptive:根据所上传图片的比例,自动选择最合适的宽高比。"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "参考图"
},
"prompt": {
"type": "string",
"description": "The text prompt supports Chinese and English, with a maximum length of 800 characters. Each Chinese character or letter counts as one character. Content that exceeds this limit will be truncated.\n文本提示支持中英文,最大长度为800个字符。每个汉字或字母算作一个字符。超过此限制的内容将被截断。\n\nExample: A kitten running in the moonlight.\n示例:一只小猫在月光下奔跑。"
},
"duration": {
"enum": [
5,
10
],
"type": "integer",
"description": "生成视频的持续时间(以秒为单位)。该参数固定为 5,无法修改。模型始终生成一个 5 秒的视频。"
},
"watermark": {
"type": "boolean",
"description": "指定是否添加水印。水印位于视频的右下角,注明“由人工智能生成”。"
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"description": "视频分辨率"
},
"camerafixed": {
"type": "boolean",
"description": "是否固定摄像头\ntrue:固定摄像头。平台会在用户提示词中追加固定摄像头,实际效果不保证。\nfalse:不固定摄像头。"
},
"generate_audio": {
"type": "boolean"
},
"return_last_frame": {
"type": "boolean",
"description": "仅doubao-seedance-1-0-lite-i2v支持该参\ntrue:返回生成视频的尾帧图像。尾帧图像的格式为 png,宽高像素值与生成的视频一致,无水印。您可通过查询视频生成任务接口获取视频的尾帧图像。\nfalse:不返回生成视频的尾帧图像。"
}
},
"x-apifox-id": "343464933"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | 本站 AI 中转站 | request | CNY 1 | per output image |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:POST /v2/videos/generations(Seedance首尾帧图生视频) | 2026-09-09 15:29:05 | |
| 价格分组:default(CNY 1/per output image) | 2026-09-09 15:29:05 | |
| 阶梯与倍率计费资料 | 2026-09-09 15:29:05 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:05 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-21 00:31:09 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-21 01:16:03 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high