Video Generation
Grok Imagine Video Series
xAI Grok Imagine 1.0 video tier — text/image-to-video, 5 aspect ratios, 480p / 720p, 6-30 seconds
POST
Grok Imagine Video Series
xAI Grok Imagine 1.0 video generation model — the video tier of the Grok multimodal family.
Concise fields, low parameter overhead. Suited for social-media short videos, quick concept demos, and low-cost content pipelines.
After submission, poll status with
The Grok Imagine series has two lines: an image tier and a video tier. For image generation see Grok Imagine Image; this page only covers the video tier.
Pricing
Billed per second by video duration, flat unit price across all resolutions:$0.0074375 / sec.
| Duration | Cost |
|---|---|
| 5 sec | $0.037 |
| 10 sec | $0.074 |
| 30 sec (max) | $0.223 |
Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
| Model ID | Description |
|---|---|
grok-imagine-1.0-video | xAI Grok Imagine 1.0 video tier, T2V / I2V, 5 aspect ratios, 480p / 720p, 6-30 seconds |
Common Parameters
Fixed value
grok-imagine-1.0-videoOperation type. Allowed values:
generate— text-to-video (T2V)image2video— image-to-video (I2V), used withimage_urls
Video description. Required for T2V; in I2V mode, serves as motion / style guidance
Frame aspect ratio. Only effective in T2V; in I2V mode, automatically follows the reference image’s ratio. Allowed values:
16:9— landscape widescreen9:16— portrait tall1:1— square3:2— landscape2:3— portrait
Output resolution. Allowed values:
480p720p
Video duration in seconds, any integer in 6-30. Note: 30 seconds is the upper bound, which differs from most other video models (typically 5/10/15)
Reference image URL array, up to 7 images. Passing this triggers I2V mode; the system automatically matches the reference image’s aspect ratio
Webhook callback URL, invoked when the task reaches a terminal state. See Callbacks
Callback event subscription list, by default only terminal-state events are pushed
Notes
- Aspect ratio auto-matched in I2V mode — once
image_urlsis passed, theaspect_ratiofield is ignored and the output ratio follows the first reference image. - Unusual duration range —
6-30seconds, different from most video models in the catalog (which use the5/10/15tiers). When validating form input on the business side, remember to allow the full range. - Availability subject to upstream — upstream xAI / Grok quotas may fluctuate. For production, configure
callback_urlfor async push instead of pure polling.
Resource Limits
| Item | Limit |
|---|---|
| Reference images | Up to 7, JPG/PNG/WEBP |
| Duration | 6-30 seconds |
| Resolution | 480p / 720p |
| Output | MP4, link valid for 24 hours |
Related Docs
- Grok Imagine Image Tier — image generation in the same series
- Task System — task state machine / polling cadence / async push
- Request & Response Format — common error codes / Headers / rate limits
- Authentication — API Key issuance and usage
Grok Imagine Video Series