{
"contentType": "application/json",
"properties": {
"content": {
"description": "多模态内容,text 在前,image_url 在后",
"examples": [
[
{
"text": "图片1中的角色向镜头微笑,高清电影感。",
"type": "text"
},
{
"image_url": {
"url": "asset://asset-20260318071009-xxxxx"
},
"role": "reference_image",
"type": "image_url"
}
]
],
"items": {
"properties": {
"image_url": {
"properties": {
"url": {
"description": "私域素材用 asset://{AssetId}(须已 Active)",
"examples": [
"asset://asset-20260318071009-xxxxx"
],
"type": "string"
}
},
"type": "object"
},
"role": {
"description": "type=image_url 时填写",
"examples": [
"reference_image"
],
"type": "string"
},
"text": {
"description": "type=text 时填写。用「图片1」指代参考图",
"examples": [
"图片1中的角色向镜头微笑,高清电影感。"
],
"type": "string"
},
"type": {
"enum": [
"text",
"image_url"
],
"examples": [
"text"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"duration": {
"description": "视频时长(秒,可选)",
"examples": [
5
],
"type": "integer"
},
"generate_audio": {
"description": "是否生成音频(可选)",
"examples": [
true
],
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "Whether to generate audio(Optional)"
}
}
},
"model": {
"enum": [
"doubao-seedance-2-0-260128",
"doubao-seedance-2-0-fast-260128"
],
"type": "string",
"x-apifox-enum": [
{
"description": "",
"name": "",
"value": "doubao-seedance-2-0-260128"
},
{
"description": "",
"name": "",
"value": "doubao-seedance-2-0-fast-260128"
}
]
},
"ratio": {
"description": "视频比例,如 16:9 / 9:16 / 1:1(可选)",
"examples": [
"16:9"
],
"type": "string"
}
},
"required": [
"model",
"content"
]
}{
"content": [
{
"text": "全程使用视频1的第一视角构图,全程使用音频1作为背景音乐。第一人称视角果茶宣传广告,seedance牌「苹苹安安」苹果果茶限定款;首帧为图片1,你的手摘下一颗带晨露的阿克苏红苹果,轻脆的苹果碰撞声;2-4 秒:快速切镜,你的手将苹果块投入雪克杯,加入冰块与茶底,用力摇晃,冰块碰撞声与摇晃声卡点轻快鼓点,背景音:「鲜切现摇」;4-6 秒:第一人称成品特写,分层果茶倒入透明杯,你的手轻挤奶盖在顶部铺展,在杯身贴上粉红包标,镜头拉近看奶盖与果茶的分层纹理;6-8 秒:第一人称手持举杯,你将图片2中的果茶举到镜头前(模拟递到观众面前的视角),杯身标签清晰可见,背景音「来一口鲜爽」,尾帧定格为图片2。背景声音统一为女生音色。",
"type": "text"
},
{
"image_url": {
"url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/r2v_tea_pic1.jpg"
},
"role": "reference_image",
"type": "image_url"
},
{
"image_url": {
"url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/r2v_tea_pic2.jpg"
},
"role": "reference_image",
"type": "image_url"
},
{
"role": "reference_video",
"type": "video_url",
"video_url": {
"url": "https://pro.filesystem.site/cdn/20260403/0e80a635b859e7716671a40d836135.mp4"
}
},
{
"audio_url": {
"url": "https://ark-project.tos-cn-beijing.volces.com/doc_audio/r2v_tea_audio1.mp3"
},
"role": "reference_audio",
"type": "audio_url"
}
],
"duration": 11,
"generate_audio": true,
"model": "doubao-seedance-2-0-260128",
"ratio": "21:9",
"watermark": false
}{
"contentType": "application/json",
"properties": {
"content": {
"type": "array"
},
"duration": {
"description": "4–30,或 -1。视频编辑任务必须为 -1",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "4–30, or -1. Video editing tasks must be -1."
}
}
},
"generate_audio": {
"type": "boolean"
},
"model": {
"description": "固定 doubao-seedance-2-5-260628",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Fixed to doubao-seedance-2-5-260628"
}
}
},
"omni_reference_task_type": {
"description": "auto、reference、edit、extend。带参考视频且指定宽高比、时长时建议 reference",
"type": "string",
"x-i18n": {
"en-US": {
"description": "auto, reference, edit, extend. It is recommended to use reference when there is a reference video and specified aspect ratio and duration."
}
}
},
"output_format": {
"description": "mp4 或 mov,仅 Seedance 2.5。默认 mp4",
"type": "string",
"x-i18n": {
"en-US": {
"description": "mp4 or mov, only for Seedance 2.5. Default is mp4."
}
}
},
"ratio": {
"description": "16:9、4:3、1:1、3:4、9:16、21:9、adaptive。编辑、延长、首帧、首尾帧只支持 adaptive",
"type": "string",
"x-i18n": {
"en-US": {
"description": "16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive. Editing, extending, first frame, and first-last frame only support adaptive."
}
}
},
"resolution": {
"description": "480p、720p、1080p。默认 720p,不支持 4k",
"type": "string",
"x-i18n": {
"en-US": {
"description": "480p, 720p, 1080p. Default is 720p, 4k is not supported."
}
}
},
"watermark": {
"type": "boolean"
}
},
"required": [
"model",
"content"
]
}[
"视频生成/豆包 视频生成"
]