Skip to main content
Extend a previously generated video using xAI’s Grok Imagine model via HTTP streaming. Provide the task_id of a completed video generation and choose between preset mode or custom mode.
Extend only works on videos generated with Grok Imagine Video (xai/grok-imagine-video, the speed-optimized 1.5 build). Task IDs from Grok Imagine Video 1.5 (xai/grok-imagine-1.5-video) are not supported — that model is API-level and separate.

Model

Modes

There are two mutually exclusive modes:

Parameters

Example Requests

Preset Mode

Custom Mode

Response