GET
/v1/schemas/lovable/video/videos
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. generated Source trace898eefefea6b5dc52da42f5628a64a0ffba65d850282e1cb59ab459f7e356f92{
"fetchedAt": 1793855449,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 4 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt that describes the video to generate. | length ≥ 1 · length ≤ 32000 |
| model | string | enum | The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`. | |
| input_reference | string | object | ||
| seconds | enum | Clip duration in seconds (allowed values: 4, 8, 12). Defaults to 4 seconds. | 4 | 8 | 12 |
| size | enum | Output resolution formatted as width x height (allowed values: 720x1280, 1280x720, 1024x1792, 1792x1024). Defaults to 720x1280. | 720x1280 | 1280x720 | 1024x1792 | 1792x1024 |
Types
4 $defsImageRefParam-2object
| image_url | string | A fully qualified URL or base64-encoded data URL. | length ≤ 20971520 · format: uri |
| file_id | string |
VideoModelstring | enum
VideoSecondsenum
4 | 8 | 12
VideoSizeenum
720x1280 | 1280x720 | 1024x1792 | 1792x1024
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"lovable","endpointId":"videos","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}