Grok Imagine Video Extend
[Core Function] Grok Imagine Video Extend continues an existing video, generating additional footage beyond its end. [Strengths] It excels at seamlessly extending a clip with new prompt-guided motion. [Best For] Highly recommended for: lengthening short clips, continuing a scene, and adding follow-on action. [Limitations] Do NOT use the duration parameter expecting it to set the total video length; it only controls the length of the appended segment (2-10 seconds). Input video constraints are enforced by the upstream provider. [Routing] Use this model when the user wants to make a video longer. To restyle or modify an existing video, use Video Edit.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
xAI Grok Imagine video extend request. duration controls the length of the appended segment, not the total video length.
Text description guiding the extended footage
1"The camera continues forward into the tunnel"
Input video URL or base64 data URI
1"https://example.com/input.mp4"
Length in seconds of the appended segment (not the total video length)
2 <= x <= 108