You're looking at a specific version of this model. Jump to the model overview.
xai /grok-imagine-video-1.5:2378f08d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Text prompt describing the motion or scene for the generated video.
|
|
| image |
string
|
Input image to animate (image-to-video). Supports jpg, jpeg, png, webp. The output aspect ratio defaults to the image's native aspect ratio.
|
|
| duration |
integer
|
5
Min: 1 Max: 15 |
Duration of the video in seconds.
|
| aspect_ratio |
None
|
auto
|
Aspect ratio of the output video. Defaults to the input image's native aspect ratio when 'auto' is selected.
|
| resolution |
None
|
720p
|
Resolution of the video.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}