GET
/v1/schemas/fal/image/fal-ai/qwen-image-max/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace9b6ef4daae3ba507f1d88c121046a1d5fed522f4c846989715cafecc2ef2918d{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt describing the desired image. Supports Chinese and English. Max 800 characters. | length ≥ 1 · length ≤ 800 |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| negative_prompt | string | Content to avoid in the generated image. Max 500 characters. | length ≤ 500 · nullable |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "png" |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| image_size | ImageSize | enum | The size of the generated image. | default: "square_hd" |
| enable_prompt_expansion | boolean | Enable LLM prompt optimization for better results. | default: true |
| seed | integer | Random seed for reproducibility (0-2147483647). | nullable |
| enable_safety_checker | boolean | Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
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/qwen-image-max/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}