Grok Imagine Extend Video
xAI
Grok Imagine Extend Video
POST
Grok Imagine Extend Video
Extend source videos with xAI’s Grok Imagine Video model
Authorizations
API Key for API endpoints
Body
Text description of what should happen next in the video
URL of the source video to extend. Must be MP4 format (H.264, H.265, or AV1 codec), 2-15 seconds long.
Length of the extension in seconds
Required range:
2 <= x <= 10Number of results to generate (1-4)
Required range:
1 <= x <= 4Response
Generation submission accepted
Generation id.
Queue status
Available options:
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED, CANCELED Normalized input payload for the generation task.
Credit usage breakdown for the request
Machine-readable generation error code. Present when status is FAILED.
Sanitized human-readable failure message. Present when status is FAILED.