Veo 3.1 Lite · POST /v1/videos · 文生视频 / 图生视频 / 首尾帧
POST/v1/videos
Veo 3.1 Lite
公开模型名:veo3.1-lite。不要使用带下划线的内部名。
resolution:720p(默认)或1080p。只接受这两个值。- 参考图最多 3 张,放在
images。也可以用image_url传 1 张。 - 首尾帧传
first_last_frame: true,并且必须正好 2 张图。 - 提交
POST /v1/videos,查询GET /v1/videos/{task_id}。响应model保持veo3.1-lite。
cURL:文生视频
curl --location --request POST 'https://api.horver.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "veo3.1-lite",
"prompt": "一只玻璃香水瓶在晨光中缓慢旋转,电影级产品广告",
"resolution": "720p",
"aspect_ratio": "16:9"
}'
cURL:首尾帧 1080p
curl --location --request POST 'https://api.horver.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "veo3.1-lite",
"prompt": "从第一张图自然过渡到第二张图,镜头平滑推进",
"resolution": "1080p",
"first_last_frame": true,
"images": [
"https://example.com/start.png",
"https://example.com/end.png"
]
}'
Request
Responses
- 200
提交成功。响应里的 model 保持请求时的公开名。