content 数组的 image_url video_url audio_url 类型条目中添加 "subject_type": "person",即可触发真人过白功能。{
"type": "image_url",
"image_url": { "url": "https://..." },
"subject_type": "person",
"role": "reference_image"
}⚠️ 注意: subject_type: person时图片只支持 URL 格式,不支持 Base64,否则报错: >Only URL inputs are supported for image, video, and audio assets. Base64 encoding is not supported.
/v1/video/generations 的区别:content 在顶层)content 数组在顶层(而非 metadata 中)prompt 可在顶层或作为 content 数组中的 text 类型duration 字段(整数类型,如 5 或 -1)ratio、resolution、watermark 等)在顶层content 含 image_url(subject_type=person)+ text 类型content 包含 text 类型content 包含 text + image_url 类型content 包含 text + video_url 类型content 可同时包含图片、视频、音频引用GET /api/v3/contents/generations/tasks/{task_id} 查询任务状态。💡 格式提示:如需使用 OpenAI 兼容格式,请使用 POST /v1/video/generations路由。