模板成片
更新时间:2026-11-11
POST
使用故事模板一键生成成片。
请求参数完全对标 原厂文档,下表为常用字段。返回任务 ID。
模型能力、调用约定见 Vidu 接口概览。
详见调用指南 - 鉴权。
详见调用指南 - 公共请求头。
application/json- body
story*string故事模板名,如 love_story
images*array<string>图片 URL 列表
成功;具体状态及结果见响应字段。
application/json- response
task_id?stringcurl -X POST 'https://vod.bj.baidubce.com/v3/aigc/vd/ent/v2/template-story' \ -H 'Content-Type: application/json' \ -d '{ "story": "love_story", "images": [ "https://example.com/story.png" ]}'响应示例200
{ "task_id": "tsk-xxxxxxxxxxxxxxxx"}