Grok Video · 视频生成
grok-imagine-video-1.5-previewNEW
📌 这是什么:Grok imagine 1.5 preview video model: single reference image only; 480P / 720P only.
💡 什么时候用:Use to generate video with grok-imagine-video-1.5-preview.
接口地址
| 用途 | 方法 | 路径 |
|---|---|---|
| 提交任务 | POST | /api/cqt/generator/grok |
| 查询结果 | GET | /api/cqt/info/grok?id={taskId} |
⏱ 建议轮询时间:Video is generated asynchronously — poll every 15s until status = succeeded / failed.
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 必填 | Fixed: grok-imagine-video-1.5-preview |
| prompt | string | — | Video description |
| imageUrls | string[] | — | Image-to-video reference image, single only (optional). |
| duration | integer | — | Duration (sec), custom >=1, default 6; directly affects billing. |
| resolution | string | — | 480p / 720p only (invalid falls back to 480p), default 480p. |
| aspectRatio | string | — | Ratio 2:3 / 3:2 / 1:1 / 16:9 / 9:16, default 16:9 |
| mode | string | — | fun / normal / spicy (invalid ignored) |
| nsfwChecker | boolean | — | Enable NSFW check, default false |
| callBackUrl | string | — | Completion callback URL |
请求示例
curl -X POST https://api.cqtai.com/api/cqt/generator/grok \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "grok-imagine-video-1.5-preview",
"prompt": "a paper plane flying over a city",
"duration": 6,
"resolution": "480p",
"aspectRatio": "16:9"
}'
# -> { "code":200, "data":"<taskId>" }响应示例
{
"code": 200,
"msg": "success",
"data": {
"id": "35592194e2c14f868b960061311d3955",
"resultUrl": "https://r2.geeknow.top/videos/288/task_Vpw2drsWF6DKZQY2rpNQ8XjtUvGa2i02.mp4",
"status": "succeeded",
"errorMsg": null,
"createTime": "2026-07-10 10:53:11",
"completeTime": "2026-07-10 10:53:55"
}
}响应字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | number | Status code; 200 means success |
| msg | string | Status message; "success" on success |
| data.id | string | Task ID (taskId); use it to poll GET /api/cqt/info |
| data.status | string | Task status: succeeded / failed / otherwise still processing |
| data.resultUrl | string | URL of the generated video; returned when status = succeeded, null otherwise |
| data.errorMsg | string | null | Failure reason; null on success |
| data.createTime | string | Task creation time |
| data.completeTime | string | null | Task completion time; null until finished |
计费与积分
Per second = per-second credits × duration (sec) × your rate. Per-second: 480P=6, 720P=7. (x your user rate). Auto-refunded on failure.