Grok Imagine Video Reference to Video

Grok Imagine Video is xAI's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.
xai/grok-imagine-video/reference-to-video

Grok Imagine Video is xAI's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.

Try the model

Playground

Open playground
Input
Text prompt describing the video to generate. Use @Image1, @Image2, etc. to reference specific images from reference_image_urls in order.

PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 7

One or more reference image URLs to guide the video generation as style and content references. Reference in prompt as @Image1, @Image2, etc. Maximum 7 images.
Additional Settings More

Customize your input with more control.

The aspect ratio of the generated image. Allowed values: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16.
Resolution of the output video. Allowed values: 480p, 720p.
110
Video duration in seconds. Range: 1 to 10.
Result
Example
  1. What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.562. Final charges follow the model’s billing rules below.

Grok Imagine Video Reference to Video

Grok Imagine Video reference-to-video: up to 7 reference images keep characters and objects consistent in a 1–10 second clip.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 4,096 characters.
aspect_ratio16:9 / 4:3 / 3:2 / 1:1 / 2:3 / 3:4 / 9:1616:9Output frame shape.
resolution480p / 720p720pSets the per-second rate.
durationinteger 1–108Output length in seconds.
reference_image_urlsimage URL[] (≤7), required—Reference images, up to 7.

Billing

$0.07 per output second at 720p and $0.05 at 480p, plus $0.002 per request.

Output480p720p
6s$0.302$0.422
8s (default)$0.402$0.562
10s$0.502$0.702

Failed runs are not charged.

Prompting

  • Describe subject, action, camera, and sound.

Also on SandBase

Other Grok Imagine Video endpoints: xai/grok-imagine-video/text-to-video, xai/grok-imagine-video/image-to-video, xai/grok-imagine-video/video-edit, xai/grok-imagine-video/video-extend, xai/grok-imagine-video/1.5/text-to-video (1.5, newer).