GET
/v1/schemas/fal/video/fal-ai%2Fkling-video%2Fv2.1%2Fmaster%2Fimage-to-video
Accept:
Request body
5 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | URL of the image to be used for the video | |
| prompt* | string | length ≤ 2500 | |
| cfg_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. | 0 ≤ n ≤ 1 · default: 0.5 |
| negative_prompt | string | length ≤ 2500 · default: "blur, distort, and low quality" | |
| duration | enum | The duration of the generated video in seconds | 5 | 10 · default: "5" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/kling-video/v2.1/master/image-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}