gpt-image-2.5-flareEstimated Price
Save 20%Showing: Gold member price
Price is calculated from token usage — this configuration uses about 196 tokens.
GPT Image 2.5 API on APIMart gives you OpenAI's GPT Image 2.5 models, the API version of ChatGPT Images 2.5 released on September 8, 2026. Use gpt-image-2.5-flare, the default choice with 50% lower latency than GPT Image 2, or gpt-image-2.5-sunburst for tighter control across detailed edits. Both generate and edit images at up to 4K, accept up to 16 reference images and cost the same per token.

Transparent pricing with no hidden fees. Pay only for what you use.
gpt-image-2.5-flareEstimated Price
Save 20%Showing: Gold member price
Price is calculated from token usage — this configuration uses about 196 tokens.
* Estimated output cost for one image, excluding prompt and reference-image input costs. Final charges are based on actual token usage.
Generate and edit images with GPT Image 2.5 on APIMart: pick Flare for fast everyday images or Sunburst for precise multi-turn edits, then output up to 4K with transparent backgrounds, mask inpainting and token billing at the same rate for both models.
Call gpt-image-2.5-flare or gpt-image-2.5-sunburst with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the image URL.
Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/images/generations with model gpt-image-2.5-flare or gpt-image-2.5-sunburst, your prompt, size, resolution and quality. Add image_urls and mask_url to edit. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} every 2–5 seconds until status is completed, then read the image URL from data.result.images[0].url[0]. APIMart keeps results for 72 hours, so download the files you want to keep.
See the GPT Image 2.5 API reference for every parameter, size rule and response field.
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "A minimalist poster for a jazz night in Lisbon, the words LISBON JAZZ in bold serif type, warm dusk light, film grain",
"n": 1,
"size": "16:9",
"resolution": "2k",
"quality": "high"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "gpt-image-2.5-flare",
"prompt": "A minimalist poster for a jazz night in Lisbon, the words LISBON JAZZ in bold serif type, warm dusk light, film grain",
"n": 1,
"size": "16:9",
"resolution": "2k",
"quality": "high"
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "Replace only the masked background with a soft pastel studio backdrop and keep the product and its label unchanged",
"image_urls": [
"https://example.com/product.png"
],
"mask_url": "https://example.com/product-mask.png",
"resolution": "2k",
"quality": "high"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: gpt-image-2.5-flare | gpt-image-2.5-flare or gpt-image-2.5-sunburst. Both take the same parameters. |
prompt | string | Required | Default: — | What to generate or change: subject, scene, composition, style, lighting and anything that must stay the same. |
size | string | Optional | Default: auto | auto, one of 15 aspect ratios (1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21, 3:1, 1:3) or exact pixels such as 1600x1200. Omit it when editing to follow the input ratio. |
resolution | string | Optional | Default: 1k | 1k, 2k or 4k, used with an aspect-ratio size. Ignored for exact pixel sizes. |
quality | string | Optional | Default: auto | low, medium, high, xhigh, max or auto. auto reserves funds at max and settles on actual usage. |
n | integer | Optional | Default: 1 | Number of images, 1 to 4. |
output_format | string | Optional | Default: png | png, jpeg or webp. |
output_compression | integer | Optional | Default: — | 0 to 100, for jpeg and webp only. |
background | string | Optional | Default: — | transparent, opaque or auto. transparent needs png or webp. |
moderation | string | Optional | Default: low | auto or low. |
image_urls | array | Optional | Default: — | Up to 16 public HTTP(S) reference image URLs. Adding them switches to editing. |
mask_url | string | Optional | Default: — | PNG mask with an alpha channel (URL or PNG data URL), the same size as the first input image. Transparent pixels mark the area to edit. |
Explore GPT Image versions on APIMart and choose the model and request settings for your image workflow.
| Model | Best for | Resolution / size |
|---|---|---|
| GPT Image 2.6 API | Flare and Sunburst: image, GIF, and SVG output with complexity and markup controls | 1K / 2K / 4K |
| GPT Image 2.6 Flare API | Fastest 2.6 model for drafts, posters, product images and batch jobs, with GIF and SVG output | 1K / 2K / 4K |
| GPT Image 2.6 Sunburst API | Higher-quality 2.6 model for detailed 4K work and consistent multi-round edits with masks or markup | 1K / 2K / 4K |
| GPT Image 2.5 APIThis page | Flare and Sunburst on one page, with up to 16 reference images, masks and transparent backgrounds | 1K / 2K / 4K |
| GPT Image 2.5 Flare API | Fast everyday images, batch generation and rapid prototyping | 1K / 2K / 4K |
| GPT Image 2.5 Sunburst API | Precise edits for production assets, ad creatives and multi-turn editing | 1K / 2K / 4K |
| GPT Image 2 API | Text-to-image and editing with up to 16 reference images and 15 aspect ratios | 1K / 2K / 4K |
| GPT Image 1.5 API | Text-to-image and editing with up to 15 reference images and masks; OpenAI retires it on Dec 1, 2026 | 1:1 / 3:2 / 2:3 |
| GPT Image 1 API | Previous generation, shut down by OpenAI on Oct 23, 2026; use GPT Image 2.6 for new projects | 1:1 / 3:2 / 2:3 |
What gpt-image-2.5-flare and gpt-image-2.5-sunburst accept, return and cost on APIMart
OpenAI positions Flare as the default for most apps: higher-quality images than GPT Image 2 at 50% lower latency, suited to social content, product experiences, prototypes and high-volume generation.
Sunburst gives tighter control across multi-turn edits for campaign creative and polished product imagery. It takes longer to generate than Flare.
Generate from a prompt, or add up to 16 reference images in image_urls. GPT Image 2.5 is better at changing only what you ask while keeping the subject and composition.
Pass a PNG mask with an alpha channel, the same size as the first input image. Fully transparent pixels mark the area to edit. Both Flare and Sunburst support masks.
Choose 1k, 2k or 4k with ratios from 1:1 to 21:9 and 3:1, or send exact pixel sizes in multiples of 16 with a long side up to 3840 px.
Set quality to low, medium, high, xhigh, max or auto. xhigh and max are new in GPT Image 2.5, and medium and high use about a quarter of the output tokens of GPT Image 2.
Output PNG, JPEG or WebP with optional compression. Set background to transparent with PNG or WebP for stickers, icons and cutouts.
The official channel bills actual token usage, and Flare and Sunburst use identical rates, so you choose between them on speed and precision, not price.
Workflows that use Flare speed, Sunburst precision and GPT Image 2.5 editing controls
Use Flare to generate posts, thumbnails and covers quickly, with up to 4 images per request.
Add product photos as references and place them in new scenes while the label, shape and colors stay recognizable.
Use Sunburst and a mask to swap a background, price or headline while the rest of the ad stays the same.
Request a transparent background in PNG or WebP and drop the result straight into a layout.
Generate on-demand images inside apps, such as try-on previews or room ideas, where Flare's lower latency matters.
Refine the same character or scene over several rounds; GPT Image 2.5 keeps edits consistent across turns.
From sign-up to your first GPT Image 2.5 image in three steps
Register on APIMart, add balance and create an API key in the dashboard. The same key calls Flare, Sunburst and every other model.
Try prompts, references, sizes and quality levels above and check the estimated cost before you write code.
Submit tasks from your backend with the example below, then poll for the result.
Answers about GPT Image 2.5, Flare vs Sunburst, parameters, pricing and the two APIMart channels
GPT Image 2.5 is OpenAI's image model family for generation and editing, released on September 8, 2026 alongside ChatGPT Images 2.5. The API offers two models, gpt-image-2.5-flare and gpt-image-2.5-sunburst, and APIMart serves both under those IDs. OpenAI writes the name as GPT-Image-2.5.
OpenAI announced ChatGPT Images 2.5 and the GPT Image 2.5 Flare and Sunburst API models on September 8, 2026. Both models are available through the APIMart GPT Image 2.5 API now.
They share the same model improvements. ChatGPT Images 2.5 is the image feature inside ChatGPT, with tools such as Sketch and templates, while GPT Image 2.5 Flare and Sunburst are the API models you call from your own code.
Start with Flare, OpenAI's default for most apps, when speed and volume matter. Choose Sunburst for production ads, product imagery and detailed multi-turn edits that need tighter control, and expect longer generation times. Both cost the same and accept the same parameters.
Flare delivers higher-quality images than GPT Image 2 at 50% lower latency, and GPT Image 2.5 keeps reference subjects and edits more consistent. It adds the xhigh and max quality levels, and its medium and high levels use about a quarter of the output tokens of GPT Image 2.
model and prompt are required. Optional fields are size (auto, 15 aspect ratios or exact pixels), resolution (1k, 2k or 4k, default 1k), quality (low, medium, high, xhigh, max or auto), n (1–4), output_format (png, jpeg or webp), output_compression, background, moderation, image_urls (up to 16) and mask_url.
Yes. Add up to 16 public image URLs in image_urls to edit or combine images. For local inpainting, add mask_url: a PNG with an alpha channel, the same size as the first input image, where fully transparent pixels mark the area to change. Keep masks under 4 MB.
Use auto or one of 15 aspect ratios at 1k, 2k or 4k, for example 1:1 at 2880×2880 or 16:9 at 3840×2160 in 4k. Exact sizes must be multiples of 16, at most 3840 px per side, no wider than 3:1 and between 655,360 and 8,294,400 pixels. Sizes above 2560×1440 are experimental.
Yes. Set background to transparent with output_format png or webp. JPEG has no alpha channel, so transparent JPEG requests are not supported.
POST /v1/images/generations and read the task ID from data[0].task_id. Poll GET /v1/tasks/{task_id} every 2–5 seconds until status is completed or failed, then read data.result.images[].url[]. Results are kept for 72 hours, and failed tasks are refunded.
On the official channel GPT Image 2.5 is billed by actual token usage for text input, image input and image output, and Flare and Sunburst use identical rates. Cost rises with quality and size; with quality auto, funds are reserved at max and settled on actual use. Gold members save 20%, and Platinum and Diamond members save up to 28%. See the pricing table on this page.
The official channel uses gpt-image-2.5-flare or gpt-image-2.5-sunburst with token billing, 15 aspect ratios, exact pixel sizes, quality levels, formats and masks. The Ext channel uses gpt-image-2.5-ext with version flare or sunburst, 10 aspect ratios or auto at 1K, 2K or 4K, and a price per delivered image by version and resolution, with reference images free.
No. APIMart has no free quota for GPT Image 2.5; you pay as you go for each task. OpenAI offers GPT Image 2.5 only as a hosted API and has not released its weights, so it cannot be downloaded or run locally.
Sign up on APIMart, add balance and create a key on the API Keys page. Send it as Authorization: Bearer <key>. The same key calls GPT Image 2.5 Flare and Sunburst, GPT Image 2 and every other model on APIMart.
Explore more models in the same category.

Kling V4 Long Image
Kling V4 Long Image gives your visual stories room to unfold. Explore expansive scenes, flowing compositions, and rich details to shape long-format images that guide the viewer’s eye from one moment to the next.

Mai Image 2.7 Flash
MAI-Image-2.7-Flash is the faster, more cost-efficient version of Microsoft’s MAI-Image-2.7 image editing model, built for quick responses and high-volume image workflows.

Mai Image 2.7
Text to Image,Image to Image

Kling V4 Image
Kling Image 4.0 generates 2K or 4K images from a text prompt or up to 10 reference images, either as 1 to 9 independent images or as a related series of 2 to 4 images.