Google Veo · 视频生成
首尾帧视频暂时下线
⏸ 该模型暂时下线,文档仅供参考,暂不可调用。恢复时间请关注公告。
📌 这是什么:给定开头帧和结尾帧,生成两者之间的过渡视频。
💡 什么时候用:想精确控制视频开头和结尾画面时用。
接口地址
| 用途 | 方法 | 路径 |
|---|---|---|
| 提交任务 | POST | /api/cqt/generator/veo |
| 查询结果 | GET | /api/cqt/info/veo?id={taskId} |
⏱ 建议轮询时间:建议每 10~15 秒轮询一次,直到 status = succeeded / failed。
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 必填 | veo-3.1 / veo-3.1-fast |
| firstFrameUrl | string | 必填 | 首帧图 URL |
| lastFrameUrl | string | 必填 | 尾帧图 URL |
| prompt | string | — | 过渡描述 |
| duration | integer | — | 时长(秒)4 / 6 / 8 |
请求示例
curl -X POST https://api.cqtai.com/api/cqt/generator/veo \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "veo-3.1-fast",
"prompt": "smooth transition between the two frames",
"firstFrameUrl": "https://example.com/first.jpg",
"lastFrameUrl": "https://example.com/last.jpg",
"duration": 6
}'
# -> { "code":200, "data":"<taskId>" }响应示例
{
"code": 200,
"data": {
"id": "<taskId>",
"status": "succeeded",
"resultUrl": "https://.../result.mp4",
"createTime": "2026-06-15 10:00:00",
"completeTime": "2026-06-15 10:02:00"
}
}计费与积分
按所用模型计费(× 你的用户费率)。任务失败自动退回。