Try Grok Imagine - Image to Video in the Workbench
Run this model interactively, tune parameters, and compare outputs.
xai-grok-imagine-video-image-to-video
Generate videos from images with audio using xAI’s Grok Imagine Video model.
Example request
- Sync
- Async
- Async with SSE
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
- Minimal
- All parameters
Fetch model details
The models endpoint returns the full model object, including itsjson_request_schema.
Request parameters
Required parameters
| Field | Type | Default | Description |
|---|---|---|---|
prompt | string | — | Text prompt describing the video to generate |
input_image | string | — | First frame image for image-to-video generation Format: uri. |
Optional parameters
| Field | Type | Default | Description |
|---|---|---|---|
resolution | string | "480p" | Resolution quality of the generated video One of: 720p, 480p. |
duration | integer | 6 | Duration of the video in seconds One of: 3, 6, 8, 10, 15. |
aspect_ratio | string | "auto" | Aspect ratio for the generated image One of: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3. |