xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。
Grok tokenizer (BPE)xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。
Starting points for evaluation; supported inputs and options are listed in API access.
Describe the subject, action, camera movement and lighting. Test a short scene first; check the API documentation for supported duration, resolution and reference inputs.
A ceramic cup on a wooden table at sunrise. Steam rises slowly as the camera moves closer. Warm side lighting, a quiet background, one continuous shot.
/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 |
|---|---|---|---|
| 标准按次 | 600 | 242K | 12K |
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.
xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。
Create an API key with access to grok-imagine-video, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
Describe the subject, action, camera movement and lighting. Test a short scene first; check the API documentation for supported duration, resolution and reference inputs.
