模板成片
Last updated: Nov 4, 2026
POST
使用故事模板一键生成成片。
请求参数完全对标 原厂文档,下表为常用字段。返回 任务 ID。
使用 TE 北京地域 API Key 鉴权。模型能力、调用约定见 Vidu 接口概览。
BearerAuthheader
AuthorizationBearer <token>TE 北京地域 API Key,填写后自动添加 Bearer 前缀。
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" ]}'Example Response200
{ "task_id": "tsk-xxxxxxxxxxxxxxxx"}
