GET

/v1/schemas/openrouter/video/videos%2Fopenai%2Fsora-2-pro

kind inputactivity videohash e0946815extracted Jul 26, 2026version currentsource upstream spec ↗

Request body

10 properties · 1 required · 5 $defs
propertytypedescriptionconstraints
model*enumModel id (fixed for this model-constrained schema)openai/sora-2-pro
aspect_ratioenumAspect ratio of the generated video16:9 | 9:16
callback_urlstringURL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.format: uri
durationenumDuration of the generated video in seconds4 | 8 | 12 | 16 | 20 · n ≥ 1
generate_audiobooleanWhether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag, false if not set.
input_referencesInputReference[]Reference assets to guide video generation. Accepts image, audio, and video references. Audio and video references are only honored by providers that support them (currently BytePlus Seedance 2.0); other providers use image references and ignore the rest.
promptstringText prompt describing the video to generate. Optional for models that support generating a video from image input alone; required by all other models.
providerobjectProvider-specific passthrough configuration Passthrough parameters allowed for this model: quality, style.
resolutionenumResolution of the generated video720p | 1080p
sizeenumExact pixel dimensions of the generated video in "WIDTHxHEIGHT" format (e.g. "1280x720"). Interchangeable with resolution + aspect_ratio.1280x720 | 1080x1920 | 1920x1080 | 720x1280

Validate a payload

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