GET
/v1/schemas/fal/video/fal-ai/luma-dream-machine/ray-2-flash
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace64653b244dbef7f46e837921b203e1faabfc24299408dc4181b2665564d75fb8{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | length ≥ 3 · length ≤ 5000 | |
| resolution | enum | The resolution of the generated video (720p costs 2x more, 1080p costs 4x more) | 540p | 720p | 1080p · default: "540p" |
| duration | enum | The duration of the generated video (9s costs 2x more) | 5s | 9s · default: "5s" |
| loop | boolean | Whether the video should loop (end of video is blended with the beginning) | default: false |
| aspect_ratio | enum | The aspect ratio of the generated video | 16:9 | 9:16 | 4:3 | 3:4 | 21:9 | 9:21 · default: "16:9" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/luma-dream-machine/ray-2-flash","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}