You're looking at a specific version of this model. Jump to the model overview.
xai /grok-imagine-video-extension:af262425
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 description of what should happen next in the video
|
|
| video |
string
|
Source video to extend. Must be MP4 format (H.264, H.265, or AV1 codec), 2-15 seconds long. The extension is generated from the last frame of the input video.
|
|
| duration |
integer
|
6
Min: 2 Max: 10 |
Length of the extension in seconds
|
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'}