Skip to main content
GPT Image 2.5 is OpenAI’s image generation and editing model in two specs: gpt-image-2.5-sunburst (Sunburst) for workflows where editing precision matters most, and gpt-image-2.5-flare (Flare) for fast, high-quality everyday generation. Both specs share the same endpoints and parameters; just set model to the one you want. Compared with GPT Image 2, quality adds the xhigh and max tiers for finer texture and smaller text; the size rules are the same, and resolutions above 2560x1440 are experimental upstream. It works with the official OpenAI SDKs.

Setup

Endpoints

Parameters

Official parameters not supported yet

They return 400; the model is not called and nothing is charged.

Pricing

Billed at the model price shown in the console. Invalid requests and failed generations are not charged. The same model is also available on a cheaper per-request Economy route (gpt-image-2.5-sunburst-economy / gpt-image-2.5-flare-economy), see GPT Image 2.5 Economy.

Quick start

$DREAMTO_API_KEY is your API Key.

Edit an image

/v1/images/edits takes the images as multipart/form-data files; repeat image[] for several reference images:
cURL

Notes

  • Edits take multipart/form-data file uploads (image[], mask); the newer JSON images / file_id form and the markup annotation parameter are not supported yet.
  • As with OpenAI, images are returned as Base64 (data[].b64_json).
  • The xhigh / max quality tiers take longer and use more output tokens; OpenAI recommends them only when lower tiers miss a quality requirement and the latency is acceptable.
  • Parameters the gateway does not declare return 400; the model is not called and nothing is charged.
  • Errors use the DreamTo error envelope (see the error examples of each endpoint).