GET
/v1/schemas/fal/image/fal-ai/wan/v2.2-a14b/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracef930a1a0837ea129fc0a2706cc0cacba104d7335c0b7ead8a327a7899115c1ce{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
12 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt to guide image generation. | |
| enable_safety_checker | boolean | If set to true, input data will be checked for safety before processing. Disabling it requires account authorization; unauthorized requests are always checked. | default: false |
| seed | integer | Random seed for reproducibility. If None, a random seed is chosen. | nullable |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. | default: false |
| negative_prompt | string | Negative prompt for video generation. | default: "" |
| acceleration | enum | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. | none | regular · default: "regular" |
| shift | number | Shift value for the image. Must be between 1.0 and 10.0. | 1 ≤ n ≤ 10 · default: 2 |
| image_size | ImageSize | enum | The size of the generated image. | default: "square_hd" |
| guidance_scale_2 | number | Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model. | 1 ≤ n ≤ 10 · default: 4 |
| enable_output_safety_checker | boolean | If set to true, output video will be checked for safety after generation. | default: false |
| num_inference_steps | integer | Number of inference steps for sampling. Higher values give better quality but take longer. | 2 ≤ n ≤ 40 · default: 27 |
| guidance_scale | number | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. | 1 ≤ n ≤ 10 · default: 3.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/wan/v2.2-a14b/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}