GET
/v1/schemas/fal/video/fal-ai%2Ffast-animatediff%2Fturbo%2Ftext-to-video
Accept:
Request body
8 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to use for generating the video. Be as descriptive as possible for best results. | |
| video_size | ImageSize | enum | The size of the video to generate. | default: "square" |
| negative_prompt | string | The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). | default: "(bad quality, worst quality:1.2… |
| fps | integer | Number of frames per second to extract from the video. | 1 ≤ n ≤ 16 · default: 8 |
| num_inference_steps | integer | The number of inference steps to perform. 4-12 is recommended for turbo mode. | 1 ≤ n ≤ 50 · default: 8 |
| num_frames | integer | The number of frames to generate for the video. | 1 ≤ n ≤ 32 · default: 16 |
| guidance_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. | 0 ≤ n ≤ 20 · default: 2 |
| seed | integer | The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/fast-animatediff/turbo/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}