Grok Video 1.5
Grok Video 1.5 的 API 模型、参数和调用说明。
模型 ID
grok-video-1.5
参数
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
prompt | string | - | 必填的视频描述 |
input_mode | string | text_to_video | text_to_video、first_frame_to_video、reference_to_video |
duration | integer | 6 | 1–6 秒 |
resolution | string | 720p | 480p 或 720p |
aspect_ratio | string | 16:9 | 1:1、16:9、9:16、3:2、2:3 |
first_frame_image_url | string | - | 首帧模式的图片 URL |
reference_images | string[] | - | 参考图模式的图片 URL |
请先调用 GET /v1/models 读取该模型实时 schema.fields。不同区域的可用路由和价格可能不同。
- 文字模型使用
POST /v1/chat/completions或POST /v1/responses。 - 视频模型使用
POST /v1/generations;视频时长、画幅和参考媒体必须以 schema 为准。
示例
{
"model": "grok-video-1.5",
"prompt": "Describe the desired result clearly"
}
