GET
/v1/schemas/fal/video/fal-ai/wan/v2.2-a14b/text-to-video/lora
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace829757f1781fcaada25e9f1493c73458e268b0fdb5c779857e6c8b703291f5dd{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
22 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt to guide video generation. | |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. | default: false |
| num_interpolated_frames | integer | Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4. | 0 ≤ n ≤ 4 · default: 1 |
| reverse_video | boolean | If true, the video will be reversed. | default: false |
| adjust_fps_for_interpolation | boolean | If true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the p… | default: true |
| negative_prompt | string | Negative prompt for video generation. | default: "" |
| acceleration | enum | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. | none | regular · default: "regular" |
| aspect_ratio | enum | Aspect ratio of the generated video (16:9 or 9:16). | 16:9 | 9:16 | 1:1 · default: "16:9" |
| enable_safety_checker | boolean | If set to true, input data will be checked for safety before processing. Disabling it requires account authorization; unauthorized requests are always checked. | default: false |
| shift | number | Shift value for the video. Must be between 1.0 and 10.0. | 1 ≤ n ≤ 10 · default: 5 |
| num_frames | integer | Number of frames to generate. Must be between 17 to 161 (inclusive). | 17 ≤ n ≤ 161 · default: 81 |
| enable_output_safety_checker | boolean | If set to true, output video will be checked for safety after generation. | default: false |
| num_inference_steps | integer | Number of inference steps for sampling. Higher values give better quality but take longer. | 2 ≤ n ≤ 40 · default: 27 |
| resolution | enum | Resolution of the generated video (480p, 580p, or 720p). | 480p | 580p | 720p · default: "720p" |
| loras | LoRAWeight[] | LoRA weights to be used in the inference. | default: [] |
| seed | integer | Random seed for reproducibility. If None, a random seed is chosen. | nullable |
| frames_per_second | integer | Frames per second of the generated video. Must be between 4 to 60. When using interpolation and `adjust_fps_for_interpolation` is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If `adjust_fps_for_interpolation` is set to false, this value will be used as-is. | 4 ≤ n ≤ 60 · nullable |
| guidance_scale_2 | number | Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model. | 1 ≤ n ≤ 10 · default: 4 |
| video_quality | enum | The quality of the output video. Higher quality means better visual quality but larger file size. | low | medium | high | maximum · default: "high" |
| interpolator_model | enum | The model to use for frame interpolation. If None, no interpolation is applied. | none | film | rife · default: "film" |
| video_write_mode | enum | The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size. | fast | balanced | small · default: "balanced" |
| guidance_scale | number | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. | 1 ≤ n ≤ 10 · default: 3.5 |
Types
1 $defsLoRAWeightobject
| 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 |
| path* | string | URL or the path to the LoRA weights. | |
| transformer | enum | Specifies the transformer to load the lora weight into. 'high' loads into the high-noise transformer, 'low' loads it into the low-noise transformer, while 'both' loads the LoRA into both transformers. | high | low | both · default: "high" |
| 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/wan/v2.2-a14b/text-to-video/lora","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}