GET
/v1/schemas/fal/video/fal-ai/fast-animatediff/turbo/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace61d2e4a3024cc17eaaeac3fa939fef1727ab964562fdacede30bb5e064e9a9de{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
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. | |
| num_inference_steps | integer | The number of inference steps to perform. 4-12 is recommended for turbo mode. | 1 ≤ n ≤ 50 · default: 8 |
| 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… |
| 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: 2 |
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/turbo/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}