cURL
Grok
Video Extension
Extend a video by generating continuation content. This is an asynchronous operation that returns a job_id for querying results.
POST
cURL
This is the video extension endpoint of the Grok Video API, which extends a video by generating continuation content.
If you want to see the full API catalog, recommended integration workflow and related capabilities, please read Grok Video API Overview.
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
application/json
Prompt describing what should happen next in the video.
Video input object. Accepts a public URL, Base64-encoded data URL, or file_id. Maximum input video duration is 15 seconds.
Duration of the extension segment to generate in seconds (1-10). Defaults to 6 seconds if not specified.
Required range:
1 <= x <= 10Model to be used.
Available options:
grok-imagine-video Example:
"grok-imagine-video"
Last modified on June 11, 2026