GET
/v1/schemas/fal/image/openai/gpt-image-2.5/sunburst/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace25c463197e5f130d35ce741dacf99e8950269149023459367f3d009ac0a6c100{
"fetchedAt": 1793250001,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
11 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | The URLs of the images to use as a reference for the generation. A maximum of 16 images are allowed. | items ≤ 16 |
| prompt* | string | The prompt for image generation | length ≥ 1 · length ≤ 32000 |
| image_size | ImageSize | enum | The size of the generated image. Use 'auto' to infer from input images. | 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 |
| output_compression | integer | Compression level from 0 to 100. Only supported when output_format is 'jpeg' or 'webp'. | 0 ≤ n ≤ 100 · nullable |
| background | enum | Background for the generated image | auto | transparent | opaque · default: "auto" |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| mask_url | string | Mask image URL. White marks regions to edit and black marks regions to keep. | nullable |
| quality | enum | Quality for the generated image. Higher settings increase detail, latency, and token usage. Use 'auto' to let the model choose. | auto | low | medium | high | xhigh | max · default: "high" |
| num_images | integer | Number of images to generate | 1 ≤ n ≤ 10 · default: 1 |
| output_format | enum | Output format for the images | jpeg | png | webp · default: "png" |
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":"openai/gpt-image-2.5/sunburst/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}