import requests r = requests.post( "https://api.aimlapi.com/v1/images/generations", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/gpt-image-2.5-flare", "prompt": "A cat holding a sign that says hello" }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/gpt-image-2.5-flare", "prompt": "A cat holding a sign that says hello" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-image-2.5-flare","prompt":"A cat holding a sign that says hello"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Cached input |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| Image Editing Arena | 1155 | Human preference Elo from blind pairwise comparisons of edited images, measured independently by Artificial Analysis | Source | September 21, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
GPT Image 2.5 Flare This page | Fast, high-volume image generation | |||
| Precise image editing | ||||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale |
GPT Image 2.5 Flare is the speed-oriented tier of OpenAI's GPT Image 2.5 family. OpenAI describes it as its fastest model for high-quality, everyday image generation.
OpenAI reports that Flare delivers higher-quality images at 50% lower latency than GPT Image 2.
Flare is built for speed on everyday generation and high volume. Sunburst is aimed at workflows where editing precision matters most, such as campaign creative and polished product imagery.
Yes. Alongside generation it supports the image edits endpoint, and inpainting is a supported feature.
Six settings are available: low, medium, high, xhigh, max and auto.
It takes text and image input and returns images.
Two: image generations and image edits.
Send a request to the image generations endpoint with the model id openai/gpt-image-2.5-flare, and a prompt describing the image you want.
Creator and social content, product experiences, visual search, rapid image prototyping and high-volume generation.