Grok Imagine Video Image to Video API

xai/grok-imagine-video/image-to-video
6 / 10 seconds · 3 modes

Grok Imagine Video Image to Video turns a still image into a short clip with text-directed subject action and camera movement. The reference establishes the scene’s appearance, while the motion prompt guides how that scene develops over the selected duration.

Get API Key
Input
579/5000
1/1
Reference image 1: Reference 1

Examples

Animate the reference as one quiet continuous six-second wildlife shot. The same pangolin slowly raises its small head to sniff the damp air; its long scaled tail makes a slight natural movement without changing shape. One droplet falls from a bamboo leaf near it. Preserve the pangolin's anatomy, scale pattern, position and the bamboo forest composition. Subtle breathing and gentle background leaf motion, soft overcast light, locked camera, no walking away, no extra limbs, no transformation, no cuts or text.

Bring the same small blue ceramic clockwork crab to life in a six-second handcrafted stop-motion animation. It takes exactly two small sideways steps across the checkerboard table, pauses, then raises one claw in a cheerful little salute. Keep the same number of legs and claws, the same glossy cobalt glaze with tiny handmade imperfections, and the same visible brass winding key. Body remains rigid ceramic, legs rotate at their joints. Fixed camera, steady warm kitchen light, no extra objects, no cuts, no morphing, no text or logos.

Grok Imagine Video Image to Video

Grok Imagine Video Image to Video is xAI’s model for adding motion to a still image through text instructions. The reference provides the scene and subject appearance, while the prompt describes the action and camera movement to develop from that visual starting point. It suits product image animation, illustrated scene studies, and atmosphere shots built around an existing photo, with selectable durations and generation modes.

Why Choose Grok Imagine Video Image to Video?

  • A visual starting point you chooseAn existing photograph or illustration establishes the scene before motion is added, making the endpoint useful when the subject’s look has already been selected.

  • Motion described separately from appearanceThe image supplies the visual context, leaving the prompt to focus on subject action, environmental movement, and camera direction.

  • Still assets become short video conceptsProduct pictures and scene illustrations can form the basis of a moving shot, extending an existing image workflow into short video exploration.

  • Compare motion from the same referenceReuse a source image with different motion instructions, clip lengths, or modes to explore how a scene should unfold.

Parameters

ParameterRequirementDescription
promptRequired

Describe the desired scene and motion. Enter 1–5,000 characters.

image_urlsRequired

Provide exactly one publicly accessible HTTP(S) image URL.

modeOptional

Generation style: fun, normal, or spicy.

funnormalspicy
durationOptional

Video duration in seconds. Choose 6 or 10; defaults to 6.

Default610

How to Use

  1. Upload an image and describe motionUpload one reference and describe subject action separately from camera movement.

  2. Choose the duration and modeSelect Duration and Mode for the intended animation.

  3. Run and view the resultReview the price and select Run, then preview and download the completed result.

Pricing

One credit equals $0.005.

UsageRateDetails
6-second video30 credits / video$0.150 / video
10-second video40 credits / video$0.200 / video

Use Cases

  • Product image animationStart with a product picture and describe a camera push-in or movement in its surroundings to explore a short presentation shot.

  • Illustrated scene studiesUse a scene illustration as the reference and describe character movement or environmental motion to develop an animation concept.

  • Atmosphere from a photographUse a landscape or interior photo and describe moving clouds, drifting steam, or a camera movement for a short mood shot.

Prompt Tips

  • Choose a reference where the main subject and the area around it are easy to distinguish.
  • Describe what should move and what should stay still, separating subject action from camera movement.
  • Name a visible subject by its position or appearance when the image contains several objects.
  • Match the planned action to 6 or 10 seconds, keeping the scene focused on one movement or a short progression.
  • Keep the reference image unchanged when comparing different motion prompts or generation modes.

Usage Notes

  • Save the task_id to retrieve the result, or provide callback_url for a completion notification.

Related Models

Grok Imagine Video Image to Video API frequently asked questions

What is the Grok Imagine Video Image to Video API?

Grok Imagine Video Image to Video is an xAI model for animating a still image with text instructions. It creates 6- or 10-second clips with motion prompts and selectable generation modes. The reference establishes the subject and scene, while the prompt directs the action and camera movement added to that visual starting point. You can call it through the API or try it in the Playground tab.

How should I prepare a reference for Grok Imagine Video Image to Video?

Choose one image with a clear main subject and readable surroundings. Provide it as the single URL in image_urls, or upload it in the Playground, then describe the motion to develop from the visible scene.

How do I describe motion for Grok Imagine Video Image to Video?

Name the subject that should move and specify the camera’s role. For example: “Keep the cup centered; let steam rise while the camera moves closer.” This distinguishes the source appearance from the requested motion.

Can Grok Imagine Video Image to Video animate a product picture?

Yes. A product picture can supply the reference scene, with the prompt describing a camera movement or motion in the surroundings. Identify the product and the intended movement so the shot has a clear focus.

How long are Grok Imagine Video Image to Video clips?

Select 6 or 10 seconds using duration. The default is 6 seconds when the field is omitted; choose the length around the action you want to develop from the reference image.

Which modes can I use in Grok Imagine Video Image to Video?

The mode field accepts fun, normal, and spicy. Keep the same reference and motion prompt when comparing modes to explore their treatment of the scene.

When should I choose Grok Imagine Video Image to Video instead of Grok Imagine Video Text to Video?

Choose Grok Imagine Video Image to Video when you already have the photograph or illustration that should establish the scene. Grok Imagine Video Text to Video starts from a written scene description.

How is Grok Imagine Video Image to Video animation priced?

A 6-second video costs 30 credits ($0.150); a 10-second video costs 40 credits ($0.200). Each generated clip is billed at the selected duration’s rate.