GET
/v1/schemas/fal/video/fal-ai/fast-animatediff/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea3752301bdd1d9a52bfa9f7a2a60d6b875d174654c62dea28df0bec9a3415464{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
10 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. | |
| num_inference_steps | integer | The number of inference steps to perform. | 1 ≤ n ≤ 50 · default: 25 |
| 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… |
| motions | enum[] | The motions to apply to the video. | |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| video_size | ImageSize | enum | The size of the video to generate. | default: "square" |
| fps | integer | Number of frames per second to extract from the video. | 1 ≤ n ≤ 16 · default: 8 |
| num_frames | integer | The number of frames to generate for the video. | 1 ≤ n ≤ 32 · default: 16 |
| 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 |
| 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 |
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/fast-animatediff/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}