Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now
Image to VideoxAI

Grok Imagine Video 1.5 Reference to Video

API docs
x-ai/grok-imagine-video/1.5/reference-to-video

Grok Imagine Video 1.5 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. Tag references as <IMAGE_0>, <IMAGE_1>, etc.
The aspect ratio of the generated image.
Resolution of the output video.
115
Video duration in seconds. Range: 1 to 15.

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

One or more reference image URLs to guide the video generation as style and content references. Reference in prompt as <IMAGE_0>, <IMAGE_1>, etc. Maximum 7 images.

Fill in prompt, images to run

Per run$1.13
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

Grok Imagine Video 1.5 Reference to Video

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

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 4,096 characters.
aspect_ratio21:916:93:24:35:41:14:53:42:39:16—Output frame shape.
resolution480p / 720p720pSets the per-second rate.
durationinteger 1–158Output length in seconds.
imagesimage URL[], required—Reference images, Image 1, Image 2, …

Billing

Per output second: $0.08 at 480p and $0.14 at 720p, plus $0.01 per reference image.

Output480p720p
8s (default)$0.65$1.13
15s$1.21$2.11

Failed runs are not charged.

Prompting

  • Describe subject, action, camera, and sound.

Also on SandBase

Other Grok Imagine Video 1.5 endpoints: xai/grok-imagine-video/1.5/text-to-video, xai/grok-imagine-video/1.5/image-to-video, xai/grok-imagine-video/1.5/lite/text-to-video, xai/grok-imagine-video/1.5/lite/image-to-video, xai/grok-imagine-video/text-to-video (previous version).