All models
xAIpremiumText → VideoImage → Video

Grok Imagine Video

xai/grok-imagine-video

Estimated

$0.60 / 5s @ 720p

Generates, edits and extends videos from text and image inputs with native synchronized audio including dialogue, sound effects and music.

Audio 480p 720p 1–15s

Image and video inputs are passed as objects with a url field.

Input schema

The exact fields accepted by this model. Values are validated before a generation starts.

promptstring

Text prompt describing the video.

imageimage

Input image for image-to-video (object with a url field).

durationintegerdefault: 5

Clip length.

Range: 115

aspect_ratiostringdefault: "16:9"

Aspect ratio of the output.

1:116:99:164:33:43:22:3
resolutionstringdefault: "720p"

Output resolution.

480p720p

Default values

{
  "duration": 5,
  "aspect_ratio": "16:9",
  "resolution": "720p"
}