← All models
Generate videos using multiple reference images with xAI's Grok Imagine video model
Example
Details
- Accepts
- image
Pricing
- Price
- 6.25 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| promptrequired | string | Text prompt describing the video to generate. Use @Image1, @Image2, etc. to reference specific images from reference_image_urls in order. |
| duration | integer | Video duration in seconds. |
| resolution | stringenum: 480p, 720p | Resolution of the output video. |
| aspect_ratio | stringenum: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4… | Aspect ratio of the generated video. |
| reference_image_urlsrequired | array | One or more reference image URLs to guide the video generation as style and content references. Reference in prompt as @Image1, @Image2, etc. Maximum 7 images. |
Output
| Field | Type | Description |
|---|---|---|
| video | — | The generated video. |