APIMart
GPT Image 2.5 Flare model icon
Image

GPT Image 2.5 Flare API

GPT Image 2.5 Flare API (gpt-image-2.5-flare) on APIMart runs the default GPT Image 2.5 model from OpenAI. It produces higher-quality images than GPT Image 2 at 50% lower latency, generates 1–4 images per request at up to 4K, edits with up to 16 references and costs the same per token as GPT Image 2.5 Sunburst.

50% Lower Latency1–4 ImagesUp to 4KImage Editing

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input

Add at least one reference image when using a mask.

Output
Generated 1

Image link valid for 72 hours

GPT Image 2.5 Flare API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

gpt-image-2.5-flare
Token Pricing
Text input40Credits / 1M tokens
Cached text input10Credits / 1M tokens
Image input64Credits / 1M tokens
Cached image input16Credits / 1M tokens
Image output240Credits / 1M tokens

Estimated Price

Save 20%

Showing: Gold member price

0.047Credits(~$0.0047)
0.0588Credits(~$0.0059)Original 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.

GPT Image 2.5 Flare API - Fast OpenAI Image Generation

Use the GPT Image 2.5 Flare API on APIMart for fast, high-quality image generation and editing: social content, product visuals, prototypes and batch jobs at up to 4K, with per-token billing at the same rate as Sunburst.

50K+

Active Users

99.9%

Uptime

2x

Faster

70%

Cost Savings

GPT Image 2.5 Flare API Example: Text to Image and Image Editing

Call gpt-image-2.5-flare with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the image URLs.

  1. 1

    Authenticate GPT Image 2.5 Flare API requests

    Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a GPT Image 2.5 Flare task

    POST /v1/images/generations with model gpt-image-2.5-flare, your prompt, size, resolution and quality. Add image_urls to edit. The task ID is in data[0].task_id.

  3. 3

    Get the GPT Image 2.5 Flare result

    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.

POST /v1/images/generations
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": "Four flat-lay compositions of a ceramic coffee mug on a linen tablecloth, soft daylight, minimal props",
    "n": 4,
    "size": "1:1",
    "resolution": "1k",
    "quality": "medium"
  }'

GPT Image 2.5 Flare API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: gpt-image-2.5-flareUse gpt-image-2.5-flare. gpt-image-2.5-sunburst takes the same parameters.
promptstringRequiredDefault: —What to generate or change: subject, scene, composition, style, lighting and anything that must stay the same.
sizestringOptionalDefault: autoauto, 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.
resolutionstringOptionalDefault: 1k1k, 2k or 4k, used with an aspect-ratio size.
qualitystringOptionalDefault: autolow, medium, high, xhigh, max or auto. auto reserves funds at max and settles on actual usage.
nintegerOptionalDefault: 1Number of images, 1 to 4.
output_formatstringOptionalDefault: pngpng, jpeg or webp; output_compression 0–100 applies to jpeg and webp.
backgroundstringOptionalDefault: —transparent, opaque or auto. transparent needs png or webp.
image_urlsarrayOptionalDefault: —Up to 16 public HTTP(S) reference image URLs. Adding them switches to editing.
mask_urlstringOptionalDefault: —PNG mask with an alpha channel, the same size as the first input image. Transparent pixels mark the area to edit.

GPT Image API Model Family

Explore GPT Image versions on APIMart and choose the model and request settings for your image workflow.

ModelBest forResolution / size
GPT Image 2.6 APIFlare and Sunburst: image, GIF, and SVG output with complexity and markup controls1K / 2K / 4K
GPT Image 2.6 Flare APIFastest 2.6 model for drafts, posters, product images and batch jobs, with GIF and SVG output1K / 2K / 4K
GPT Image 2.6 Sunburst APIHigher-quality 2.6 model for detailed 4K work and consistent multi-round edits with masks or markup1K / 2K / 4K
GPT Image 2.5 APIFlare and Sunburst on one page, with up to 16 reference images, masks and transparent backgrounds1K / 2K / 4K
GPT Image 2.5 Flare APIThis pageFast everyday images, batch generation and rapid prototyping1K / 2K / 4K
GPT Image 2.5 Sunburst APIPrecise edits for production assets, ad creatives and multi-turn editing1K / 2K / 4K
GPT Image 2 APIText-to-image and editing with up to 16 reference images and 15 aspect ratios1K / 2K / 4K
GPT Image 1.5 APIText-to-image and editing with up to 15 reference images and masks; OpenAI retires it on Dec 1, 20261:1 / 3:2 / 2:3
GPT Image 1 APIPrevious generation, shut down by OpenAI on Oct 23, 2026; use GPT Image 2.6 for new projects1:1 / 3:2 / 2:3