by OpenAI

GPT Image 2.5 Flare edit API: fast garment, colour and light changes, masked edits and two-person composites, up to 16 references and 10 outputs per call.

openai/gpt-image-2.5-flare/edit
GPT Image 2.5 Flare AI Image Generator online
  • Up to 4K
  • Up to 16 reference images
  • 15 aspect ratios
  • Up to 10 per run
  • Create Image
  • Edit Image

About GPT Image 2.5 Flare

GPT Image 2.5 Flare edit takes a prompt and up to 16 image_urls, typically in about 80 seconds.

Call it with the model name openai/gpt-image-2.5-flare/edit on POST /jobs/createTask, from $0.01165.

Introduction

GPT Image 2.5 Flare Edit runs OpenAI's gpt-image-2.5-flare on images you already have. It accepts one to sixteen sources, a PNG mask and a transparent-background option, and returns edits quickly enough for interactive use.

Choose a mode by starting material

What you haveMode
a written briefGPT Image 2.5 Flare Text to image
an image to changeGPT Image 2.5 Flare Edit

Key features

Fast multi-source composites

Two or more sources become one scene with faces kept from their own images. Our two-source example finished in well under a minute.

Masks and cut-outs

A PNG mask limits the repaint to one area; background transparent returns a real alpha channel in PNG or WebP, ready for a layout without a keying step.

Several changes in one pass

Wardrobe, time of day and weather can change together, as long as the prompt also names what must stay the same. Our terrace example changed the dress and the light in one request.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 1:2 · 1:3 · 2:1 · 2:3 · 3:1 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 9:21 · 16:9 · 21:9 · Default: 1:1
backgroundNoKeep, remove or replace the background. auto · transparent · opaque · Default: auto
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
input_fidelityNoHow closely to keep the look of your source pictures. low · high · Default: low
mask_urlNoPaint over the area that should change.
num_outputsNoHow many results to make in one go. ≥ 1 · ≤ 10 · Default: 1
output_formatNoFile type of the result. png · jpeg · webp · Default: png
output_qualityNoCompression for JPEG and WebP. Higher keeps more detail and makes bigger files. ≥ 0 · ≤ 100
promptYesDescribe what you want to make.
qualityNoChoose one of this model’s quality settings. low · medium · high · xhigh · max · Default: high
resolutionNoChoose an available output size. 1k · 2k · 4k · Default: 1k

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
aspect_ratio 1:3 · quality low · resolution 1K$0.00182
aspect_ratio 3:1 · quality low · resolution 1K$0.00182
aspect_ratio 21:9 · quality low · resolution 1K$0.00244
aspect_ratio 9:21 · quality low · resolution 1K$0.00244
aspect_ratio 1:2 · quality low · resolution 1K$0.00276
aspect_ratio 2:1 · quality low · resolution 1K$0.00276
aspect_ratio 1:3 · quality low · resolution 2K$0.00288
aspect_ratio 3:1 · quality low · resolution 2K$0.00288
aspect_ratio 16:9 · quality low · resolution 1K$0.00304
aspect_ratio 9:16 · quality low · resolution 1K$0.00304
aspect_ratio 2:3 · quality low · resolution 1K$0.00357
aspect_ratio 3:2 · quality low · resolution 1K$0.00357

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Try-ons and restyles

Show the same person in a new outfit or a new place for a lookbook or a campaign draft, several options per request.

Pairing people from separate shots

Place two people photographed apart into one frame for a poster, a thumbnail or a story panel.

Seasonal refreshes

Turn a summer campaign image into an autumn or night version for the next season while the person and the product stay the same.

Prompt guide & pro tips

Give each source a job

The man and the doorway from the first image, the woman from the second: spell it out, because order is the only link between prompt and source.

Bundle related changes

A new dress and a new time of day read naturally in one request; unrelated changes are better as separate edits.

Mask background swaps

When only the background should change, keep the subject opaque and the background transparent in a PNG mask the size of the first source.

API quick start

Call the GPT Image 2.5 Flare API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model openai/gpt-image-2.5-flare/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "openai/gpt-image-2.5-flare/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "1:1",
    "resolution": "1k",
    "quality": "high",
    "num_outputs": 1,
    "input_fidelity": "low"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the GPT Image 2.5 Flare Edit Image endpoint

It handles combined changes in one request, such as a new dress colour and a new time of day, while keeping faces through input_fidelity.

mask_url restricts the change to a painted region, and background transparent produces cut-outs.

For user-facing editors, request num_outputs of two to four so users can pick, keeping cost in mind since each output is billed.

Use the same body with Sunburst when the final version needs the slower, more careful pass.

GPT Image 2.5 Flare API questions

How much does the GPT Image 2.5 Flare API cost?

GPT Image 2.5 Flare starts at $0.01165 per image with Edit Image, its lowest-priced task. Prices by option: 1:3 · low · 1K $0.00182 per image, 3:1 · low · 1K $0.00182 per image, 21:9 · low · 1K $0.00244 per image, 9:21 · low · 1K $0.00244 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the GPT Image 2.5 Flare · Edit Image API?

Resolutions: 1K · 2K · 4K; Aspect ratios: 1:1 · 1:2 · 1:3 · 2:1 · 2:3 · 3:1 +9; Outputs per call: 1–10; Reference images: 16; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

More about GPT Image 2.5 Flare