Repository Public
1<!-- source: https://docs.x.ai/developers/model-capabilities/video/image-to-video (from https://docs.x.ai/llms-full.txt, retrieved 2026-09-19T05:28:55Z) -->2#### Model Capabilities34# Image-to-Video56Transform a still image into a video by providing a source image along with an optional prompt. The model animates the image content based on your instructions. On `grok-imagine-video-1.5`, image-to-video supports native 1080p. Sending `image` alone is image-to-video. Combining it with `last_frame` or `reference_images` is reference-to-video with that image as the pinned first frame. See [First & Last frame](/developers/model-capabilities/video/reference-to-video#first--last-frame).78You can provide the source image as:910* A **public URL** pointing to an image11* A **base64-encoded data URI** (e.g., `data:image/jpeg;base64,...`)12* A **`file_id`** from the [Files API](/developers/files) — see [Imagine → Files API Integration](/developers/model-capabilities/imagine/files/inputs)1314The demo below shows this in action; hold to animate a still image:1516In the Vercel AI SDK, the `prompt` parameter accepts an object with `image` and `text` fields for image-to-video generation. The `image` field can be a URL string, base64-encoded string, `Uint8Array`, `ArrayBuffer`, or `Buffer`.1718## Related1920* [Video Generation](/developers/model-capabilities/video/generation) — Generate videos from text prompts21* [Reference-to-Video](/developers/model-capabilities/video/reference-to-video) — Guide a video with reference images, or pin the first & last frame22* [Model page: grok-imagine-video-1.5](/developers/models/grok-imagine-video-1.5)23* [Videos API](/developers/rest-api-reference/inference/videos) — Video generation endpoints24* [Video Editing](/developers/model-capabilities/video/editing) — Edit existing videos25* [API Reference](/developers/rest-api-reference) — Full endpoint documentation26* [Imagine API Landing Page](https://x.ai/api/imagine) — Showcase of the Imagine API in action27