# OpenAI: GPT Image 2.5 (Flare / Sunburst)

Provider: reAPI
Final price: $0.41/success
Success rate: 99.9%

Generate or edit images with GPT Image 2.5. Flare is the fast default; Sunburst is the precise editor. The -official models are OpenAI's own metered channel, priced by quality and size; the flat-rate channel had no upstream capacity when listed.

## Parameters

- n (integer, optional)
- size (string, optional)
- model (string, required)
- prompt (string, required)
- quality (string, optional)
- mask_url (string, optional)
- background (string, optional)
- image_urls (array, optional)

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/reapi.image-gen.gpt-image-2-5' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"n":1,"size":"1024x1024","model":"gpt-image-2.5-flare-official","prompt":"A clean editorial illustration of a paper airplane.","quality":"low"}'
```

[View on Toolswitch](https://toolswitch.dev/en/tools/reapi.image-gen.gpt-image-2-5)
