GET
/v1/schemas/fal/video/fal-ai/ltx-2/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace39cbff0aa50b8554908de544e72370df7d6885b6445abe2c753e2ec66495c9d3{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate the video from | length ≥ 1 · length ≤ 5000 |
| generate_audio | boolean | Whether to generate audio for the generated video | default: true |
| fps | enum | The frames per second of the generated video | 25 | 50 · default: 25 |
| resolution | enum | The resolution of the generated video | 1080p | 1440p | 2160p · default: "1080p" |
| duration | enum | The duration of the generated video in seconds | 6 | 8 | 10 · default: 6 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/ltx-2/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}