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

Grok Imagine Video Image to Video

API docs
x-ai/grok-imagine-video/image-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 description of desired changes or motion in the video.

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

URL of the input image for video generation.
Resolution of the output video.
115
Video duration in seconds. Range: 1 to 15.
Output aspect ratio. Omit to match the input image.

Fill in prompt, image to run

Per run$0.422
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

Grok Imagine Video Image to Video

Grok Imagine Video image-to-video: animate a picture into a 1–15 second clip with native audio.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 4,096 characters.
imageimage URL, required—First frame. JPEG, PNG, or WebP URL.
resolution480p / 720p720pSets the per-second rate.
durationinteger 1–156Output length in seconds.
aspect_ratio16:94:33:21:12:33:49:16—Output frame shape.

Billing

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

Output480p720p
6s (default)$0.302$0.422
10s$0.502$0.702
15s$0.752$1.052

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/reference-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).