GET
/v1/schemas/fal/video/fal-ai/wan-i2v-lora
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace6a8dfef75364fc1b7b30ee27b79ab59aff570c9349e3028605335739b3963723{
"fetchedAt": 1786424549,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
16 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt to guide video generation. | |
| image_url* | string | URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped. | |
| seed | integer | Random seed for reproducibility. If None, a random seed is chosen. | nullable |
| num_frames | integer | Number of frames to generate. Must be between 81 to 100 (inclusive). If the number of frames is greater than 81, the video will be generated with 1.25x more billing units. | 81 ≤ n ≤ 100 · nullable |
| frames_per_second | integer | Frames per second of the generated video. Must be between 5 to 24. | 5 ≤ n ≤ 24 · nullable |
| loras | LoraWeight[] | LoRA weights to be used in the inference. | default: [] |
| aspect_ratio | enum | Aspect ratio of the output video. | auto | 16:9 | 9:16 | 1:1 · default: "16:9" |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. | default: false |
| shift | number | Shift parameter for video generation. | 1 ≤ n ≤ 10 · default: 5 |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. | default: false |
| guide_scale | number | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. | 1 ≤ n ≤ 10 · default: 5 |
| num_inference_steps | integer | Number of inference steps for sampling. Higher values give better quality but take longer. | 2 ≤ n ≤ 40 · default: 30 |
| reverse_video | boolean | If true, the video will be reversed. | default: false |
| turbo_mode | boolean | If true, the video will be generated faster with no noticeable degradation in the visual quality. | default: true |
| resolution | enum | Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit. | 480p | 720p · default: "720p" |
| negative_prompt | string | Negative prompt for video generation. | default: "bright colors, overexposed, sta… |
Types
1 $defsLoraWeightobject
| weight_name | string | Name of the LoRA weight. Used only if `path` is a Hugging Face repository, and required only if you have more than 1 safetensors file in the repo. | nullable |
| path* | string | URL or the path to the LoRA weights. | |
| scale | number | The scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model. | 0 ≤ n ≤ 4 · default: 1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/wan-i2v-lora","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}