Sora 2 · Video Generation
Image to Video
📌 What is this:Turn a still image into a moving video.
💡 When to use:Use when you have an image and want it animated.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/sora2 |
| Query result | GET | /api/cqt/info/sora2?id={taskId} |
⏱ Recommended polling interval:Poll every 10-15s until status = succeeded / failed.
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | — | Fixed sora-2 |
| prompt | string | Required | Video description |
| url | string | Required | Input image URL |
| aspectRatio | string | — | Ratio 16:9 / 9:16 |
| duration | integer | — | Duration (sec) 4 / 8 / 12 |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/sora2 \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "sora-2",
"prompt": "make this photo come alive",
"url": "https://example.com/input.jpg",
"aspectRatio": "9:16",
"duration": 4
}'
# -> { "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
10 credits x duration (sec) (x your user rate). Auto-refunded on failure.