GET
/v1/schemas/fal/video/fal-ai/sora-2/text-to-video?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace0cf635294c6656bc20cd1e2b0008c9700f353671da68f4c4962660a88c9a8923{
"fetchedAt": 1783329138,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
4 properties · 2 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| video_id* | string | The ID of the generated video | |
| video* | VideoFile | The generated video | |
| spritesheet | ImageFile | Spritesheet image for the video | nullable |
| thumbnail | ImageFile | Thumbnail image for the video | nullable |
Types
2 $defsImageFileobject
| width | integer | The width of the image | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| height | integer | The height of the image | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. |
VideoFileobject
| fps | number | The FPS of the video | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| duration | number | The duration of the video | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| content_type | string | The mime type of the file. | nullable |
| num_frames | integer | The number of frames in the video | nullable |
| height | integer | The height of the video | nullable |
| width | integer | The width of the video | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/sora-2/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}