Input
image_urls
File 1

File uploads require configured image storage. A public HTTPS image URL can be used directly.
Provide one external image URL as a reference for video generation (only one image is supported). This is one of two image input options — you can either upload an external image or specify a task_id + index from a Grok-generated image below. Do not provide both image_urls and task_id at the same time.In your prompt, reference an uploaded image by typing @image(n) followed by a space (for example: @image1 a sunset over the ocean).
Enter the task_id of an image previously generated with the Grok model on {{appName}}. Use it together with the index below to select a specific image from that generation. When using this method, do not provide image_urls. Unlike external images, this method supports Spicy mode.
When using a task_id, specify which image to use (Grok generates 6 images per task). This parameter only works with task_id and is ignored if image_urls is used(0-based).
The text prompt describing the desired video motion25/5000
Note: When generating videos using external image inputs, Spicy mode is not supported and will automatically switch to Normal.
The aspect ratio of the video. This parameter is invalid if it is a single image.
The duration of the generated video in seconds
Resolution of the generated video
A configurable parameter. Defaults to true in the Playground.
Output
Examples
Explore different use cases and parameter configurations
Explore more Image to Video models
More AI models from Grok
Latest and popular AI models
README
Complete guide to using grok-imagine/image-to-video









