Skip to main content
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

TT-API-KEY
string
header
required

You can obtain your API key from the TTAPI Dashboard.

Body

application/json
prompt
string
required

Prompt describing what should happen next in the video.

video
object
required

Video input object. Accepts a public URL, Base64-encoded data URL, or file_id. Maximum input video duration is 15 seconds.

duration
integer
default:6

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

Required range: 1 <= x <= 10
model
enum<string>
default:grok-imagine-video

Model to be used.

Available options:
grok-imagine-video
Example:

"grok-imagine-video"

Response

Request successful

status
string
required
Example:

"SUCCESS"

message
string
required
Example:

"success"

data
object
required
Example:
Last modified on June 11, 2026