GET
/v1/schemas/openai/video/videos?kind=output
Accept:
Response body
13 properties · 13 required · 4 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | Unique identifier for the video job. | |
| object* | enum | The object type, which is always `video`. | video · default: "video" |
| model* | string | enum | The video generation model that produced the job. | |
| status* | enum | Current lifecycle status of the video job. | queued | in_progress | completed | failed |
| progress* | integer | Approximate completion percentage for the generation task. | |
| created_at* | integer | Unix timestamp (seconds) for when the job was created. | format: unixtime |
| completed_at* | integer | Unix timestamp (seconds) for when the job completed, if finished. | format: unixtime · nullable |
| expires_at* | integer | Unix timestamp (seconds) for when the downloadable assets expire, if set. | format: unixtime · nullable |
| prompt* | string | The prompt that was used to generate the video. | nullable |
| size* | enum | The resolution of the generated video. | 720x1280 | 1280x720 | 1024x1792 | 1792x1024 |
| seconds* | string | Duration of the generated clip in seconds. For extensions, this is the stitched total duration. | |
| remixed_from_video_id* | string | Identifier of the source video if this video is a remix. | nullable |
| error* | Error-2 | Error payload that explains why generation failed, if applicable. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"videos","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}