智能多帧
更新时间:2026-11-04
POST
以起始图和多个关键帧分段生成连续视频。
请求参数完全对标 原厂文档,下表为常用字段。返回 任务 ID。
使用 TE 北京地域 API Key 鉴权。模型能力、调用约定见 Vidu 接口概览。
BearerAuthheader
AuthorizationBearer <token>TE 北京地域 API Key,填写后自动添加 Bearer 前缀。
application/json- body
model*string模型,如 viduq2-turbo
start_image*string起始图 URL
image_settings*array<>关键帧列表 [{prompt, key_image, duration}]
resolution?string分辨率,如 720p
成功;具体状态及结果见响应字段。
application/json- response
task_id?stringcurl -X POST 'https://vod.bj.baidubce.com/v3/aigc/vd/ent/v2/multiframe' \ -H 'Content-Type: application/json' \ -d '{ "model": "viduq2-turbo", "start_image": "https://example.com/start.jpeg", "image_settings": [ { "prompt": "飞起来", "key_image": "https://example.com/key-1.png", "duration": 5 }, { "prompt": "后空翻", "key_image": "https://example.com/key-2.webp", "duration": 5 } ], "resolution": "720p"}'响应示例200
{ "task_id": "tsk-xxxxxxxxxxxxxxxx"}
