CQTAI
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.

请求参数

参数类型必填说明
modelstring必填Fixed: grok-imagine-video-1.5-preview
promptstring—Video description
imageUrlsstring[]—Image-to-video reference image, single only (optional).
durationinteger—Duration (sec), custom >=1, default 6; directly affects billing.
resolutionstring—480p / 720p only (invalid falls back to 480p), default 480p.
aspectRatiostring—Ratio 2:3 / 3:2 / 1:1 / 16:9 / 9:16, default 16:9
modestring—fun / normal / spicy (invalid ignored)
nsfwCheckerboolean—Enable NSFW check, default false
callBackUrlstring—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"
  }
}

响应字段说明

字段类型说明
codenumberStatus code; 200 means success
msgstringStatus message; "success" on success
data.idstringTask ID (taskId); use it to poll GET /api/cqt/info
data.statusstringTask status: succeeded / failed / otherwise still processing
data.resultUrlstringURL of the generated video; returned when status = succeeded, null otherwise
data.errorMsgstring | nullFailure reason; null on success
data.createTimestringTask creation time
data.completeTimestring | nullTask completion time; null until finished