GET

/v1/schemas/openai/video/videos

kind inputactivity videohash f95724e5…extracted Aug 15, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
49bac5ba25ea5ce2dfd77d18652ae21b60f5880d5b9373e30942d2be88b8be88
{
  "fetchedAt": 1786770656,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

5 properties · 1 required · 4 $defs
propertytypedescriptionconstraints
prompt*stringText prompt that describes the video to generate.length ≥ 1 · length ≤ 32000
modelstring | enumThe video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`.
input_referencestring | object
secondsenumClip duration in seconds (allowed values: 4, 8, 12). Defaults to 4 seconds.4 | 8 | 12
sizeenumOutput resolution formatted as width x height (allowed values: 720x1280, 1280x720, 1024x1792, 1792x1024). Defaults to 720x1280.720x1280 | 1280x720 | 1024x1792 | 1792x1024

Types

4 $defs

ImageRefParam-2object

image_urlstringA fully qualified URL or base64-encoded data URL.length ≤ 20971520 · format: uri
file_idstring

VideoModelstring | enum

VideoSecondsenum

4 | 8 | 12

VideoSizeenum

720x1280 | 1280x720 | 1024x1792 | 1792x1024

Validate a payload

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