外观
创建视频(参考图)
POST
https://www.aipro2.com/v1/video/createOmni-Flash · 统一视频创建(POST /v1/video/create,VEO relay 物理路由,主文档见 relay/veo)。 按 model=omni-flash / omni-flash-edit 走 Omni-Flash 链路;type 决定具体能力:
1=文生视频(仅需prompt)2=首尾帧(images需 1~2 张)3=垫图参考(images需 1~3 张)4=Omni-Flash 视频编辑(需input_reference)
返回 id(任务 ID),轮询 GET /v1/video/query?id= 获取结果。
Header 参数
Content-Typestring请求体数据格式示例application/jsonAcceptstring客户端期望接收的响应数据格式示例application/jsonAuthorizationstringAPI 认证密钥,格式为 Bearer + 空格 + 你的 API Key示例Bearer {{YOUR_API_KEY}}
请求体参数
application/jsonaspect_ratio*string“16:9”或“9:16”enable_upsample*string超分enhance_prompt*boolean由于 veo 只支持英文提示词,所以如果需要中文自动转成英文提示词,可以开启此开关imagesarray<string>支持:首帧、文本
veo2、veo2-fast、veo2-pro
支持:首尾帧、首帧、文本
veo2-fast-frames
veo3、veo3-fast、veo3-pro、veo3-frames、veo3-fast-frames、veo3-pro-frames
veo_3_1、veo_3_1-fast
veo3.1、veo3.1-fast、veo3.1-pro、veo3.1-4k、veo3.1-pro-4k
支持:参考图(1-3)、文本
veo_3_1-components、veo3.1-components、veo3.1-fast-components、veo3.1-components-4kmodel*string枚举值:
veo2
veo2-fast
veo2-fast-frames
veo2-fast-components
veo2-pro
veo3
veo3-fast
veo3-pro
veo3-pro-frames
veo3-fast-frames
veo3-framesprompt*string提示词veo_fl_close*boolean是否关闭自动首尾帧,默认falsewatermarkboolean是否删除水印
响应
application/jsonPostV1VideoCreateResponse
id*string资源或任务 IDstatus*string状态status_update_time*integer状态更新时间
