GET
/v1/schemas/fal/image/imagineart/imagineart-2.0-preview/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracef820e0b71d98932976711f9135da8f0bf3de199cfa0dccd59189c54ca36597e1{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt describing the desired image | |
| resolution | enum | Output resolution: '1K' targets ~1024px and will be faster. '2K' targets ~2048px image size and will be slower but with higher quality. | 1K | 2K · default: "2K" |
| aspect_ratio | enum | Image aspect ratio: 1:1, 3:1, 1:3, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 4:5, 5:4, 4:1, 1:4 | 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 3:1 · +8 more · default: "1:1" |
| reasoning | enum | Visual Understanding Level: low (default) or high. High reasoning takes more time but generates better images. | high | low · default: "low" |
| seed | integer | Default is random (0 and -1 are treated as random) |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"imagineart/imagineart-2.0-preview/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}