Google Veo · Video
First/Last Frame Video
📌 What is this:Generate a transition video between a first and last frame.
💡 When to use:Use to precisely control the start and end frames.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/veo |
| Query Result | GET | /api/cqt/info/veo?id={taskId} |
⏱ Recommended polling interval:Poll every 10-15s until status = succeeded / failed.
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | veo-3.1 / veo-3.1-fast |
| firstFrameUrl | string | Required | First frame image URL |
| lastFrameUrl | string | Required | Last frame image URL |
| prompt | string | — | Transition description |
| duration | integer | — | Duration (sec) 4 / 6 / 8 |
Request Example
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>" }Response Example
{
"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"
}
}Billing & Credits
Billed per the chosen model (x your user rate). Auto-refunded on failure.