Grok

grok-imagine-video

xAIPer Request
Create API Key

xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。

textimagevideo
Starting price
Per Request
Context
—
Maximum input window
Modalities
→

Pricing by Supplier

标准按次
图片音频视频等多模态按次计费
Price$0.2/ request

Capabilities / Supported modalities

Function callingToolsJSON modeStructured outputVision
Input
Output

Provider & data privacy

Provider
xAIDocs
Tokenizer
Grok tokenizer (BPE)
License
Proprietary (commercial)Proprietary
Data retention45 daysNot used for upstream training by default

Performance

About grok-imagine-video

xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Explore product storyboards and short promotional scenes.
  • Prototype camera movement and scene pacing before a full production.

Practical tips

Describe the subject, action, camera movement and lighting. Test a short scene first; check the API documentation for supported duration, resolution and reference inputs.

Example prompt

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.

API access

Code samples

Create taskPOST/v1/video/generations
Example request
Parameters
ParameterTypeDefault / rangeDescription
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
Query taskGET/v1/video/generations/{task_id}
Example request
Parameters
ParameterTypeDefault / rangeDescription
task_idrequired
string—Task identifier returned by the generation request

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

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.

Rate limits

SupplierRPMTPMRPD
标准按次600242K12K

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.

Frequently asked questions about grok-imagine-video

What is grok-imagine-video?

xAI 的 grok-imagine-video 模型,支持文本、图像输入和视频输出。

How do I call 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.

How is grok-imagine-video priced?

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.

How should I evaluate grok-imagine-video for my project?

Describe the subject, action, camera movement and lighting. Test a short scene first; check the API documentation for supported duration, resolution and reference inputs.