Video
Grok Imagine Video
Grok Imagine Video creates video with audio from text or animates an image in a separate mode.
- Text to video
- Image to video
Sign in to create. Review the credit cost in the studio before running.
Catalog preview for Grok Imagine Video. Review your own result before publishing.
A starting point.
Describe one action, a camera direction and the intended sound for a short scene.
Before you publish.
Watch the whole clip with sound; check timing, subject continuity and distracting background changes.
Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.
Settings and model questionsCheck the available settings and guidance when preparing your input.
Inputs and settings
Default mode requires prompt. Select duration from 1–15 seconds, resolution as 480p or 720p and aspect_ratio for delivery.
Image-to-video requires image_url and prompt. Match the source composition to the intended shot and describe movement rather than replacing the whole scene.
Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.
Supported inputs
These fields come from the current studio form for xai/grok-imagine-video/text-to-video. Other modes may require different inputs.
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
prompt | Text | Required | Max. characters: 4096 |
aspect_ratio | Text | Optional | 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 |
duration | Whole number | Optional | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · ≥ 1 · ≤ 15 |
resolution | Text | Optional | 480p, 720p |
Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.
Other modes and their inputs
Open the operation you need and check its inputs. Settings from one mode do not automatically apply to another.
Image to videoxai/grok-imagine-video/image-to-video
Supported inputs
These fields come from the current studio form for xai/grok-imagine-video/image-to-video. Other modes may require different inputs.
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
image_url | Text | Required | — |
prompt | Text | Required | Max. characters: 4096 |
aspect_ratio | Text | Optional | auto, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 |
duration | Whole number | Optional | ≥ 1 · ≤ 15 |
resolution | Text | Optional | 480p, 720p |
Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.
Use Grok Imagine Video through the API.
Start with this model ID for the endpoint featured on this page:
xai/grok-imagine-video/text-to-video
Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.
Available modes
- text-to-video ·
xai/grok-imagine-video/text-to-video - image-to-video ·
xai/grok-imagine-video/image-to-video
Check the current model schema for supported inputs and options. Other tasks may use different model IDs.
From quote to result.
Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.
Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.