GET
/v1/schemas/grok/video/v1%2Fvideos%2Fedits
Accept:
Request body
6 properties · 2 required · 5 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Prompt for video editing. | |
| video* | VideoUrl | Input video to perform edit on. | |
| model | any | Model to be used. | |
| output | VideoOutput | Optional output destination for generated video. | nullable |
| storage_options | StorageOptions | Optional 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 |
| user | any | A unique identifier representing your end-user. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"grok","endpointId":"v1/videos/edits","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}