GPT Image 2.5 Sunburst API (gpt-image-2.5-sunburst) on APIMart runs the precision model in OpenAI's GPT Image 2.5 family. It gives tighter control across multi-turn edits for production ads and polished product imagery, supports mask inpainting and 4K output, and costs the same per token as GPT Image 2.5 Flare, with longer generation times.
Service Highlights
Add at least one reference image when using a mask.

Image link valid for 72 hours

Transparent pricing with no hidden fees. Pay only for what you use.
gpt-image-2.5-sunburstEstimated 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.
Use the GPT Image 2.5 Sunburst API on APIMart for detail-sensitive work: change one element while the subject, composition and brand treatment stay put, refine over several rounds and deliver up to 4K, at the same token price as Flare.
50K+
Active Users
99.9%
Uptime
2x
Faster
70%
Cost Savings
Call gpt-image-2.5-sunburst with one POST request. Generation is asynchronous and takes longer than Flare: 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-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 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-sunburst",
"prompt": "A premium skincare bottle on wet black stone, soft rim light, water droplets, editorial product photography",
"n": 1,
"size": "4:5",
"resolution": "2k",
"quality": "xhigh"
}'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-sunburst",
"prompt": "A premium skincare bottle on wet black stone, soft rim light, water droplets, editorial product photography",
"n": 1,
"size": "4:5",
"resolution": "2k",
"quality": "xhigh"
}
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": "Change only the masked label area to read SUMMER EDITION in clean sans-serif type and keep everything else identical",
"image_urls": [
"https://example.com/product.png"
],
"mask_url": "https://example.com/product-mask.png",
"resolution": "2k",
"quality": "xhigh"
}'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-sunburst | Use gpt-image-2.5-sunburst. gpt-image-2.5-flare takes 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 to 21:9 and 3:1) 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. |
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 0–100 applies to jpeg and webp. |
background | string | Optional | Default: — | transparent, opaque or auto. transparent needs png or webp. |
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, 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 API | 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 APIThis page | 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 |
When gpt-image-2.5-sunburst is worth the longer generation time
Workflows where precision beats speed
From sign-up to your first GPT Image 2.5 Sunburst image in three steps
Register on APIMart, add balance and create an API key in the dashboard. The same key works for every GPT Image 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 Sunburst precision, masks, parameters, pricing and how it compares with Flare
GPT Image 2.5 Sunburst is the precision model in OpenAI's GPT Image 2.5 family, released on September 8, 2026. It is built for detailed creative and editing work. OpenAI writes the name as GPT-Image-2.5 Sunburst, and on APIMart its model ID is gpt-image-2.5-sunburst.
Production-ready campaign creative, polished product imagery and multi-turn edits where only one element should change. OpenAI describes it as offering tighter control across edits.
Use Sunburst when precision across edits matters more than speed. Use GPT Image 2.5 Flare, the default for most apps, for fast, high-volume generation. Both accept the same parameters and cost the same; Sunburst takes longer to generate.
Yes. OpenAI notes that Sunburst has longer generation times than Flare. Poll the task every 2–5 seconds and plan for longer waits on 4K and xhigh or max quality.
model and prompt are required. Optional fields are size, resolution (1k, 2k or 4k), quality (low to max or auto), n (1–4), output_format, output_compression, background, moderation, image_urls (up to 16) and mask_url.
Send image_urls plus mask_url: a PNG with an alpha channel, exactly the size of the first input image, where fully transparent pixels mark the area to edit. Keep it under 4 MB. The mask guides the edit, but pixels outside it are not guaranteed to stay identical.
auto or 15 aspect ratios at 1k, 2k or 4k, such as 4:5 at 2576×3216 in 4k, or exact sizes in multiples of 16 up to 3840 px per side. Sizes above 2560×1440 are experimental.
POST /v1/images/generations with model gpt-image-2.5-sunburst and read data[0].task_id. Poll GET /v1/tasks/{task_id} until status is completed, then read data.result.images[].url[]. Results are kept for 72 hours, so save the files you need.
Sunburst is billed by actual token usage at the same rates as Flare. Higher quality and larger sizes use more output tokens; 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%.
The official gpt-image-2.5-sunburst model supports masks, quality levels, formats and exact sizes with token billing. The Ext tab uses gpt-image-2.5-ext with version sunburst, 10 aspect ratios or auto, and a price per delivered image by resolution, without masks or quality settings.
No. APIMart has no free quota for Sunburst; you pay per task. OpenAI offers it only as a hosted API and has not released its weights.
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 Sunburst, Flare and every other model on APIMart.
Explore more models in the same category.

Grok Imagine Image Quality
Grok Imagine Image Quality is the quality-focused version of xAI's Grok image model for photorealistic text-to-image and image editing, with up to three reference images.

Grok Imagine 2.0 Ext
Grok Imagine 2.0 Ext is xAI's text-to-image model on APIMart. Each request generates 1–12 images in one of seven aspect ratios, billed only for images successfully delivered.

Qwen Image 3.0 Pro
Qwen Image 3.0 Pro is the Pro version of Qwen Image 3.0, with clear instruction following, stable bilingual text rendering, 1K/2K output and image editing with up to 3 references.

Qwen Image 3.0
Qwen Image 3.0 is Alibaba's image model for text-to-image and editing with 1–3 reference images. It offers stable bilingual text rendering and dense layouts, in standard and Pro versions at 1K or 2K, up to 6 images per request.