Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

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
Create with Grok Imagine Video
Preview for Grok Imagine Video

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.

How credits work · Use the API · Content guidelines

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 types, requirements and limits for xai/grok-imagine-video/text-to-video
InputTypeRequirementOptions and limits
promptTextRequiredMax. characters: 4096
aspect_ratioTextOptional16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16
durationWhole numberOptional1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · ≥ 1 · ≤ 15
resolutionTextOptional480p, 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 types, requirements and limits for xai/grok-imagine-video/image-to-video
InputTypeRequirementOptions and limits
image_urlTextRequired—
promptTextRequiredMax. characters: 4096
aspect_ratioTextOptionalauto, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16
durationWhole numberOptional≥ 1 · ≤ 15
resolutionTextOptional480p, 720p

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

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

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.