GET
/v1/schemas/fal/video/fal-ai/ltx-2-19b/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracec2b1c36fb1c73f4566f395339643e1b480480a0fa3ba756a7e32ab527d79fa77{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
19 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate the video from. | |
| num_inference_steps | integer | The number of inference steps to use. | 8 ≤ n ≤ 50 · default: 40 |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. | default: true |
| enable_safety_checker | boolean | Whether to enable the safety checker. | default: true |
| camera_lora_scale | number | The scale of the camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera. | 0 ≤ n ≤ 1 · default: 1 |
| video_size | ImageSize | enum | The size of the generated video. | default: "landscape_4_3" |
| guidance_scale | number | The guidance scale to use. | 1 ≤ n ≤ 10 · default: 3 |
| video_output_type | enum | The output type of the generated video. | X264 (.mp4) | VP9 (.webm) | PRORES4444 (.mov) | GIF (.gif) · default: "X264 (.mp4)" |
| video_quality | enum | The quality of the generated video. | low | medium | high | maximum · default: "high" |
| acceleration | enum | The acceleration level to use. | none | regular | high | full · default: "regular" |
| generate_audio | boolean | Whether to generate audio for the video. | default: true |
| seed | integer | The seed for the random number generator. | nullable |
| fps | number | The frames per second of the generated video. | 1 ≤ n ≤ 60 · default: 25 |
| negative_prompt | string | The negative prompt to generate the video from. | default: "blurry, out of focus, overexpos… |
| camera_lora | enum | The camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera. | dolly_in | dolly_out | dolly_left | dolly_right | jib_up | jib_down · +2 more · default: "none" |
| use_multiscale | boolean | Whether to use multi-scale generation. If True, the model will generate the video at a smaller scale first, then use the smaller video to guide the generation of a video at or above your requested size. This results in better coherence and details. | default: true |
| video_write_mode | enum | The write mode of the generated video. | fast | balanced | small · default: "balanced" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| num_frames | integer | The number of frames to generate. | 9 ≤ n ≤ 481 · default: 121 |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/ltx-2-19b/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}