图生视频
Last updated: Nov 4, 2026
POST
根据图片生成视频。
返回 任务 ID,可通过 任务详情接口查询状态。
使用 TE 北京地域 API Key 鉴权。模型能力、调用约定见 PixVerse 接口概览。
BearerAuthheader
AuthorizationBearer <token>TE 北京地域 API Key,填写后自动添加 Bearer 前缀。
application/json- body
model*stringv3.5、v4、v4.5、v5、v5.5、v5.6、v6、c1
prompt*string正向提示词,2048 字符以内
duration*integerv3.5/v4/v4.5:5/8(v3.5 1080p 不支持 8);v5:5/8;v5.5/v5.6:5/8/10(1080p 不支持 10);v6/c1:1~15 任意
quality*string360p、540p、720p、1080p
image_list*array<>图片列表;effect 为多图模板时可传多个,否则仅 1 个
negative_prompt?string反向提示词,2048 字符以内
seed?integer随机种子,0~2147483647
style?stringanime、3d_animation、day、cyberpunk、comic
motion_mode?stringnormal、fast;fast 仅 v3.5/v4/v4.5,不支持 8s
effect?string模板名,见 effect 字段;与 generate_audio_switch 互斥
generate_audio_switch?boolean开启音频,仅 v5.5/v5.6/v6/c1
thinking_type?string提示词优化,v5.5/v5.6 可用
成功;具体状态及结果见响应字段。
application/json- response
taskId?string任务 ID
requestId?string请求 ID,用于排查
code?string错误码,异常时返回
message?string错误信息,异常时返回
curl -X POST 'https://vod.bj.baidubce.com/v3/aigc/pv/video/img/generate' \ -H 'Content-Type: application/json' \ -d '{ "duration": 5, "model": "v5.6", "motion_mode": "normal", "negative_prompt": "不要晃", "prompt": "女生在草地缓缓走路", "quality": "720p", "seed": 0, "image_list": [ { "image_url": "https://example.com/person.png" } ], "generate_audio_switch": true, "thinking_type": "enabled"}'Example Response200
{ "taskId": "tsk-xxxxxxxxxxxxxxxx", "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}
