xAI Grok Imagine Video 1.5 的预览版别名,用于生成视频;支持文字、图像和音频输入。
Grok tokenizer (BPE)/v1/video/generations| Parameter | Type | Default / range | Description |
|---|---|---|---|
promptrequired | string | — | Text description of the desired video |
size | enum | = 720p | Output video resolution |
seconds | integer | = 4>= 1 | Video length in seconds |
images | array | — | Reference images for image-to-video generation |
metadata | object | — | Provider-specific video generation options |
/v1/video/generations/{task_id}| Parameter | Type | Default / range | Description |
|---|---|---|---|
task_idrequired | string | — | Task identifier returned by the generation request |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| 标准按次 | 400 | 160K | 8.0K |
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.
Everything you need to decide before creating an account.