GET
/v1/schemas/fal/image/fal-ai/gpt-image-1.5
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracefa99e4145211596886c89e4f2822bbd896bf452f61d8f24cc1cf610081a9c1ed{
"fetchedAt": 1793336402,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt for image generation | length ≥ 2 · length ≤ 32000 |
| background | enum | Background for the generated image | auto | transparent | opaque · default: "auto" |
| 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 |
| num_images | integer | Number of images to generate | 1 ≤ n ≤ 4 · default: 1 |
| quality | enum | Quality for the generated image | low | medium | high · default: "high" |
| enable_safety_checker | boolean | Whether to apply fal input safety moderation. Disabling it requires account authorization; provider checks still apply. | default: true |
| output_format | enum | Output format for the images | jpeg | png | webp · default: "png" |
| image_size | enum | Aspect ratio for the generated image | 1024x1024 | 1536x1024 | 1024x1536 · default: "1024x1024" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/gpt-image-1.5","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}