POST /grok/v1/videos/extensions

Extend a video by generating continuation content. This is an asynchronous operation that returns a request_id for polling.<br/><br/>Note: Synced with official rules, content moderation failure will also be charged.

Request

Request body

promptstring required

Prompt describing what should happen next in the video.

durationinteger

Duration of the extension segment to generate in seconds (1-10). Defaults to 6 seconds if not specified.

model'grok-imagine-video'

Model to be used.

Example request

{
  "model": "grok-imagine-video"
}

Response

Request successful

request_idstring required

Request ID

Example response

{
  "request_id": "a3d1008e-4544-40d4-d075-11527e794e4a"
}

Changes

No recorded changes to this operation across all 1 revision of this API.