| 线路 | Base URL | 说明 |
|---|---|---|
| 国内加速(推荐) | https://cdn.wusag.com | 国内 CDN 加速节点 |
| 海外直连 | https://api.xinliu.one | 海外直连节点,国内加速异常时使用 |
POST {Base URL}/v1/videosAuthorization: Bearer 你的令牌Content-Type: application/json| model | 输出 |
|---|---|
grok-imagine-1.5-video-super-720p | 720P,10 秒 |
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 模型名 |
prompt | string | 是 | 提示词 |
input_reference | string | 是 | 参考图 URL 或 Base64 data URI。本模型仅支持图生视频,且只接受一张参考图 |
size | string | 否 | 分辨率,默认 720x1280。可选 720x1280 / 1280x720 / 1024x1024 / 1024x1792 / 1792x1024 |
{
"model": "grok-imagine-1.5-video-super-720p",
"prompt": "镜头向前推进,画面流畅,电影感",
"input_reference": "https://files.example.com/source.jpg",
"size": "1280x720"
}task_id,用 GET /v1/videos/{task_id} 轮询。任务完成后请直接使用响应中的 url 字段下载视频。model 字段返回 grok-imagine-video-1.5-preview;轮询与完成响应的 model 字段返回 grok-imagine-1.5-video-super-720p。{
"id": "task_xxx",
"task_id": "task_xxx",
"object": "video",
"model": "grok-imagine-video-1.5-preview",
"status": "queued",
"progress": 0,
"created_at": 1730000000,
"seconds": "10",
"size": "1280x720"
}{
"id": "task_xxx",
"status": "completed",
"progress": 100,
"model": "grok-imagine-1.5-video-super-720p",
"size": "1280x720",
"seconds": "10",
"url": "https://files.example.com/video/xxxxx.mp4",
"video_url": "https://files.example.com/video/xxxxx.mp4",
"result_url": "https://files.example.com/video/xxxxx.mp4",
"created_at": 1730000000,
"completed_at": 1730000060
}400 参数错误,或未提供参考图(本模型不支持文生视频)401 令牌无效404 模型不存在或未开通429 同时处理任务数量超限500 服务端错误