{
"contentType": "application/json",
"properties": {
"aspect_ratio": {
"description": "1.基础提供 \"16:9\",\"9.16\",\"4:3\",\"3:4\",\"1:1\" 画幅比\n2.v6, c1 额外支持 \"2:3\",\"3:2\",\"21:9\"",
"type": "string",
"x-i18n": {
"en-US": {
"description": "1.Basically provide \"16:9\", \"9.16\", \"4:3\", \"3:4\", \"1:1\" aspect ratio\n2.v6, c1 additionally supports \"2:3\", \"3:2\", \"21:9\""
}
}
},
"duration": {
"description": "视频生成时长\nv4.5 : 5/8 (v3.5 1080p 无法使用 8)\nv5 : 5/8\nv5.5/5.6 : 5/8/10 (1080p 无法使用 10)",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "Video generation duration\nv4.5 : 5/8 (v3.5 1080p cannot be used 8)\nv5: 5/8\nv5.5/5.6 : 5/8/10 (1080p not available 10)"
}
}
},
"generate_audio_switch": {
"description": "支持v5.6,v6, c1 / 控制开关Audio. true: Audio on , false: Audio off",
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "Support v5.6, v6, c1 / control switch Audio. true: Audio on, false: Audio off"
}
}
},
"image_references": {
"description": "图像引用数组(1–3 项),包含“主体”或“背景”\nv4.5/v5 : 最多3张\nv5.5/v5.6/v6 : 最多7张",
"items": {
"properties": {
"img_id": {
"description": "img_id 来自上传图片接口",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "img_id comes from the upload image interface"
}
}
},
"ref_name": {
"description": "可针对图片指定名字, 用来更精准效果. 只允许~30byte (utf-8 )文字",
"type": "string",
"x-i18n": {
"en-US": {
"description": "You can specify a name for the image for more precise effects. Only ~30byte (utf-8) text is allowed"
}
}
},
"type": {
"description": "\"subject\" or \"background\"",
"type": "string"
}
},
"required": [
"img_id"
],
"type": "object"
},
"type": "array",
"x-i18n": {
"en-US": {
"description": "Array of image references (1–3 items) containing \"body\" or \"background\"\nv4.5/v5: Up to 3 pictures\nv5.5/v5.6/v6: up to 7 pictures"
}
}
},
"model": {
"description": "\"v4.5\",\"v5\",\"v5.5\",\"v5.6\",,\"v6\", \"c1\"",
"type": "string"
},
"prompt": {
"description": "使用 @ref_name 精确描述场景\n1.\n@ref_name 后必须有空格,如 @cat plays\n2.\nprompt 中引用的名称必须与 image_references 中的 ref_name 完全一致",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Use @ref_name to describe the scene accurately\n1.\nThere must be a space after @ref_name, such as @cat plays\n2.\nThe name referenced in prompt must exactly match the ref_name in image_references"
}
}
},
"quality": {
"description": "\"360p\",\"540p\",\"720p\",\"1080p\"",
"type": "string"
},
"seed": {
"type": "integer"
}
},
"required": [
"image_references",
"prompt",
"model",
"duration",
"quality",
"aspect_ratio"
]
}