GET
/v1/schemas/openai/video/videos/edits
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace49bac5ba25ea5ce2dfd77d18652ae21b60f5880d5b9373e30942d2be88b8be88{
"fetchedAt": 1786770656,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| video* | string | object | ||
| prompt* | string | Text prompt that describes how to edit the source video. | length ≥ 1 · length ≤ 32000 |
Types
1 $defsVideoReferenceInputParamobject
Reference to the completed video.
| id* | string | The identifier of the completed video. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"videos/edits","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}