Video Extend
OpenAI Format
Video Extend
Use POST /v1/videos/{video_id}/extend to extend a segment based on an existing Grok video task.
POST
Video Extend
Video Extend
OpenAI format entry point. For unified videos, please use Video Extend (Unified Video) (POST /v1/video/extend, pass task_id in the Body).
Based on an existing Grok video task, extend the video content from a specified point in time via POST /v1/videos/{video_id}/extend.
- The path parameter
video_idis the original task ID. - The request body is JSON, with required
modelandprompt. - You can specify the second in the original video to start extending from via
start_time, and supplement reference images throughimages.
Method and Path
Request Example
Response Example
Authentication
Path Parameters
Original video task ID.
Body
Model name, for example
grok-video-3.Prompt for the extended segment.
List of reference image URLs, used to add visual constraints as needed.
Resolution specification, pass
720P or 1080P. The Apifox example also uses 1080p; it is recommended to standardize on uppercase 1080P.Video ratio, with values such as
3:2 used in the Apifox example.The second in the original video from which to start extending.
Whether to apply HD enhancement to the output.
Response
New extend task ID.
Task status. Common values include
processing, completed, and failed.Most recent status update time (Unix timestamp).