创建 Grok 1.5 视频
创建 Grok 1.5 视频生成任务。任务创建后,请使用通用视频任务查询接口获取生成状态和结果。
task_id。请使用 查询视频任务 接口轮询任务状态,任务完成后从 result.video_url 获取视频地址。支持的模型
| model | 说明 |
|---|---|
grok-imagine-video-1.5 | Grok 1.5 视频模型,支持 10、15 秒与自定义比例,必须且仅支持提供 1 张参考图 |
grok-1.5、grok_1_5 等别名会归一化为 grok-imagine-video-1.5。
参数限制
- 参考图片:
grok-imagine-video-1.5必须搭配参考图片使用。请在image_urls(或images)字段中上传恰好 1 张参考图。 - 时长:仅支持 10 或 15 秒(默认值为 10)。
- 比例:支持
16:9、9:16、1:1、3:2、2:3(默认值为16:9)。
示例请求
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
Model name. grok-imagine-video-1.5, grok-1.5, and grok_1_5 normalize to grok-imagine-video-1.5.
grok-imagine-video-1.5 Text prompt for video generation
Reference image URL list. grok-imagine-video-1.5 requires exactly 1 reference image.
Video duration in seconds. Only supports 10 or 15 seconds. Defaults to 10.
10, 15 Video aspect ratio (e.g., 16:9, 9:16). Takes precedence over orientation.
16:9, 9:16, 1:1, 3:2, 2:3 Video orientation. Active only when ratio is empty: landscape maps to 16:9, portrait maps to 9:16.
landscape, portrait Compatibility field for common OpenAPI image inputs; used when image_urls is empty. Requires exactly 1 image.