← All models
Grok Imagine Video is xAI's image-to-video model that animates still images into short videos with synchronized audio. Use Grok Imagine Video with an API.
Example
Details
- Accepts
- text + image + video
Pricing
- Price
- 6.25 cr / second
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| image | string | Input image (URL or data URI). |
| promptrequired | string | The text prompt. |
| duration | integer | Duration in seconds. |
| resolution | stringenum: 480p, 720p | |
| aspect_ratio | stringenum: 16:9, 9:16, 1:1, 4:3, 3:4, 3:2… | |
| image_url | string | URL of the input image for video generation. |
| video_url | string | URL of the source video to extend. Must be MP4 format (H.264, H.265, or AV1 codec), 2-15 seconds long. |
| video | string | Input video to edit (video editing mode). Must be a direct link, max 8.7 seconds. Supports mp4, mov, webm. |
Output
| Field | Type | Description |
|---|---|---|
| video | object | Generated video ({ url }). |