GET

/v1/schemas/grok/video/v1%2Fvideos%2Fextensions

kind inputactivity videohash 6c347cffextracted Jul 6, 2026version currentsource upstream spec ↗

Request body

6 properties · 2 required · 5 $defs
propertytypedescriptionconstraints
prompt*stringPrompt describing what should happen next in the video.
video*VideoUrlInput video to extend. The extension continues from the end of this video. Input video must be between 2 and 15 seconds long.
durationanyDuration of the extension segment to generate in seconds (2-10). Defaults to 6 seconds if not specified.format: int32
modelanyModel to be used.
outputVideoOutputOptional output destination for generated video.nullable
storage_optionsStorageOptionsOptional output storage configuration. When present, the generated video is stored in the Files API and a `file_output` reference is returned in the response alongside the ephemeral URL.nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"grok","endpointId":"v1/videos/extensions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}