GET
/v1/schemas/openrouter/video/videos/openai/sora-2-pro?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracebea6d54d1204f94f33dd464a5541046b17744e118c2eff27e3268865fe65f201{
"fetchedAt": 1789709411,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
7 properties · 3 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | The video job ID, in the `gen-vid-<timestamp>-<20 alphanumerics>` generation ID format. Pass it as `previous_job_id` to continue the generation. | |
| polling_url* | string | ||
| status* | enum | pending | in_progress | completed | failed | cancelled | expired | |
| error | string | ||
| generation_id | string | The generation ID associated with this video generation job. Available once the job has been processed. | |
| unsigned_urls | string[] | ||
| usage | VideoGenerationUsage | Usage and cost information for the video generation. Available once the job has completed. |
Types
1 $defsVideoGenerationUsageobject
Usage and cost information for the video generation. Available once the job has completed.
| cost | any | The cost of the video generation in USD. | format: double |
| is_byok | boolean | Whether the request was made using a Bring Your Own Key configuration. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openrouter","endpointId":"videos/openai/sora-2-pro","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}