GET
/v1/schemas/fal/video/fal-ai%2Fkling-video%2Fo1%2Freference-to-video
Accept:
Request body
5 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. | length ≤ 2500 |
| elements | OmniVideoElementInput[] | Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image). | nullable |
| image_urls | string[] | Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image). | nullable |
| duration | enum | Video duration in seconds. | 3 | 4 | 5 | 6 | 7 | 8 · +2 more · default: "5" |
| aspect_ratio | enum | The aspect ratio of the generated video frame. | 16:9 | 9:16 | 1:1 · default: "16:9" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/kling-video/o1/reference-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}