GET
/v1/schemas/fal/video/fal-ai%2Ffast-animatediff%2Ftext-to-video
Accept:
Request body
9 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. | |
| 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 |
| 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. | 1 ≤ n ≤ 50 · default: 25 |
| 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: 7.5 |
| motions | enum[] | The motions to apply to the video. | |
| video_size | ImageSize | enum | The size of the video to generate. | default: "square" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/fast-animatediff/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}