GET
/v1/schemas/fal/image/fal-ai/gpt-image-1.5/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traced0658fda10531c75f5f3203ac89c054c23d1142dbb18b45abbffe86f5255bb75{
"fetchedAt": 1793336402,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
11 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt for image generation | length ≥ 2 · length ≤ 32000 |
| image_urls* | string[] | The URLs of the images to use as a reference for the generation. | |
| input_fidelity | enum | Input fidelity for the generated image | low | high · default: "high" |
| mask_image_url | string | The URL of the mask image to use for the generation. This indicates what part of the image to edit. | nullable |
| 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 | auto | 1024x1024 | 1536x1024 | 1024x1536 · default: "auto" |
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/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}