Saltar al contenido principal

OpenAI · image generation API

GPT Image 2.6 API

OpenAI's newest image model in two variants, through one REST API and a browser playground: gpt-image-2.6-flare for fast everyday work, gpt-image-2.6-sunburst for finer detail and closer reference matching. Text-to-image and reference edits, up to 4K.

Billed per token, 10% below officialFlare + Sunburst1K / 2K / 4K15 aspect ratiosup to 16 reference images
Model logo

API de GPT Image 2.6

  • Texto a imagen
  • Imagen a imagen

GPT Image 2.6 forma parte de la familia de modelos GPTVer todos los modelos GPT

Modelo

Toca para subirPNG, JPG, WEBP, GIF · Máx. 100 MB
Toca para subirPNG, JPG, WEBP, GIF · Máx. 100 MB
Toca para subirPNG, JPG, WEBP, GIF · Máx. 100 MB
Salida

Tu image generado aparecerá aquí

Actualizado

What is the GPT Image 2.6 API?

The GPT Image 2.6 API is live on UnificAlly as openai/gpt-image-2.6-flare and openai/gpt-image-2.6-sunburst, billed per token below OpenAI's official rates. GPT Image 2.6 is OpenAI's image generation and editing model, released November 4, 2026. It is the follow-up to GPT Image 2.5 and keeps the same two-tier setup.

gpt-image-2.6-flare is the fast tier, built for everyday generation where turnaround matters. gpt-image-2.6-sunburst is the quality tier: it spends a bit more time for finer detail and follows reference images more closely. Both take a prompt and up to 16 reference images and return an image at 1K, 2K or 4K.

The main change from 2.5 is fine detail: small text and close-up texture come out sharper. That costs tokens, since 2.6 produces about 3.3 times as many output tokens per image, and blind voters on Arena still rank 2.5 Sunburst above it. Our GPT Image 2.6 vs 2.5 test has the measurements.

GPT Image 2.6 API specs

Model IDsopenai/gpt-image-2.6-flare, openai/gpt-image-2.6-sunburst
EndpointPOST https://api.unifically.com/v1/tasks
Request typesText-to-image, image editing with reference images
Resolution1K, 2K, 4K
Aspect ratio1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9, 1:2, 2:1, 1:3, 3:1
ReferencesUp to 16 images
BillingPer token
Text input$4.50/1M tokens
Image input$7.20/1M tokens
Image output$27/1M tokens
Qualityauto, low, medium, high, xhigh, max
Output formatpng, jpg, webp

Billing is per token, with no subscription. Text input, image input (your reference images) and image output are metered separately, and Flare and Sunburst use the same rates. A square medium-quality image used 1,450 output tokens at 1K, 2,945 at 2K and 4,895 at 4K in our runs, which is about $0.03915, $0.079515 and $0.132165 at the current rate. Higher quality settings produce more output tokens. The pricing page has the live rate table, and a dry-run request returns an estimate before you spend.

How to use the GPT Image 2.6 API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object. Use openai/gpt-image-2.6-flare for Flare or openai/gpt-image-2.6-sunburst for Sunburst; the input is the same.
  3. Read the task_id from the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "openai/gpt-image-2.6-flare",
    "input": {
      "prompt": "A ceramic coffee mug on a sunlit kitchen counter, soft morning light",
      "aspect_ratio": "4:3",
      "resolution": "2K"
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

The finished task carries the image URL.

curl https://api.unifically.com/v1/tasks/{task_id}   -H "Authorization: Bearer YOUR_API_KEY"

GPT Image 2.6 API parameters

ParameterTypeDefaultWhat it does
promptstringnoneText description of the image to generate. Required. 2 to 32,000 characters
aspect_ratiostring1:11:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9, 1:2, 2:1, 1:3, or 3:1
resolutionstring1K1K, 2K, or 4K
image_urlsarraynoneReference image URLs for image editing. Up to 16
qualitystringmediumauto, low, medium, high, xhigh, or max. Higher quality uses more output tokens
backgroundstringnoneauto, opaque, or transparent. transparent needs output_format png or webp
moderationstringlowauto or low
output_formatstringpngpng, jpg, or webp
mask_urlstringnonePNG mask for editing the first image_urls entry, same size as that image. White marks the area to edit
thinking_levelstringnonelow, medium, or high. How much the model plans the composition before drawing
markup_urlstringnoneTransparent PNG with marks drawn over the first reference image, same size as that image. Cannot be combined with mask_url
nsfw_checkbooleanfalseChecks the prompt and input images for NSFW content before generating. Off unless set to true

The GPT Image 2.6 API docs have the full reference for both models.

Editing with reference images

Add image_urls to edit an existing image, place a product in a new scene, or combine several subjects into one shot. Sunburst holds reference detail more closely.

curl -X POST https://api.unifically.com/v1/tasks   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "openai/gpt-image-2.6-sunburst",
    "input": {
      "prompt": "Place this mug on a wooden cafe table next to a sunny window, with a croissant beside it",
      "aspect_ratio": "3:2",
      "resolution": "2K",
      "image_urls": ["https://example.com/product.png"]
    }
  }'

Key features of GPT Image 2.6

  • Two tiers, one request shape. Flare for speed, Sunburst for detail. Same parameters, so switching is a one-word change in the URL.
  • Sharper detail and text. In our tests 2.6 spelled every poster character correctly and scored 1.4 to 2 times higher on a sharpness measure than 2.5 on the same prompts.
  • Closer reference adherence on Sunburst. Products, faces and other details from your reference images carry into the result more faithfully.
  • Up to 16 reference images. Compose several products into one shot, or edit a single photo with a plain instruction.
  • 1K, 2K or 4K output. Pick the size per request, with 15 aspect ratios from 3:1 banners to 1:3 columns.
  • Drop-in for 2.5. Every GPT Image 2.5 field works unchanged, so existing integrations only need the new model name. thinking_level and markup_url are new and optional.

What GPT Image 2.6 can do

House-generated examples on both tiers.

Water and weather that hold up

A sailor hauls a rope while a wave breaks over the bow. The spray, the foam on the deck, the water running off the rails and the lightning in the distance all read as one storm, and the scene only works because the water looks right.

Signs, menus and posters spelled right

Three pieces of text in one street scene: a gold window sign, a chalkboard menu with prices and a gig poster on the wall. Every word and price comes out as written, and the text sits on real surfaces in the rain, not pasted on top.

Neon light on chrome and wet stone

Pink and teal neon bounce off a chrome tank, the exhaust and the puddles on the cobblestones, and the reflections bend with each surface. This is the kind of lighting and material work that usually needs a 3D render.

Put a product photo into a new scene

One studio photo of a red mug goes in as a reference, and the prompt moves it to a sunny cafe table with coffee and a croissant. The color and gloss of the glaze carry over and the light matches the new room. The shape is not an exact copy: the result is taller and straighter than the source, so check product proportions before you ship an edit.

Catalog-ready product shots

A leather handbag on a stone plinth with soft studio light. The grain, the stitching and the brass hardware are sharp, and the set looks like a finished catalog page on the fast tier.

What GPT Image 2.6 is best for

  • High-volume generation

    Flare keeps turnaround short for features that make many images a day.

  • Product and brand shots

    Sunburst sticks closer to reference photos, so the product in the picture stays the real one.

  • Reference-based edits

    Send a photo and a plain instruction, and get back the same subject with the change applied.

  • Large-format output

    4K output for print, hero banners, and anything that gets cropped later.

GPT Image 2.6 use cases

Turn one product photo into a set of campaign images with new backgrounds, lighting and crops. Build an in-app editor that takes instructions like "make the jacket red" and returns the edited photo. Generate marketing visuals at 4K for print or large screens. Use Flare for drafts and quick variations, then run the final picks through Sunburst for the extra detail.

GPT Image 2.6 limitations

Sunburst is slower than Flare, so it is not the best fit for anything that needs an instant result. Exact object counts are less reliable than on 2.5 (one of two runs got a 14-item count right on each tier), and a background edit changed the protected product label slightly more than 2.5 did. Keeping one character or brand element exactly the same across separate generations is not guaranteed. Each image costs about 3.3 times the output tokens of the same request on GPT Image 2.5, 2K and 4K cost more than 1K, and each reference image adds input tokens.

Flare vs Sunburst

Pick Flare by default: it is faster, and the quality is good enough for most production traffic. Switch to Sunburst for final assets, product shots and edits where the subject must match the reference closely. Both use the same token rates, so the choice is only speed against detail.

Preguntas frecuentes

Preguntas frecuentes sobre GPT Image 2.6

GPT Image 2.6 is OpenAI's image generation and editing model, released November 4, 2026. It follows GPT Image 2.5 and comes as two models, gpt-image-2.6-flare and gpt-image-2.6-sunburst. Both take a text prompt, with or without reference images, and return an image.

The API keys page issues the key once you sign up, and it goes in an Authorization: Bearer header on https://api.unifically.com/v1/tasks. The same key covers both tiers, openai/gpt-image-2.6-flare and openai/gpt-image-2.6-sunburst, and polls /v1/tasks/{task_id} for results.

Submit a task with openai/gpt-image-2.6-flare (fast) or openai/gpt-image-2.6-sunburst (finer detail) and an input holding prompt, aspect_ratio and resolution (1K, 2K or 4K), plus up to 16 reference images in image_urls. A task_id comes back at once, and the finished GPT Image 2.6 API task carries the image URL, by polling /v1/tasks/{task_id} or through a callback URL.

Yes. Both gpt-image-2.6-flare and gpt-image-2.6-sunburst are callable on UnificAlly through the REST API and the playground on this page.

Flare is the fast tier and the right default for most work, like high-volume generation and quick drafts. Sunburst is the quality tier. It takes a little longer and gives finer detail, and it sticks closer to your reference images, which helps for product shots and edits where the subject has to stay the same.

Sharper fine detail and more reliable small text: in our side-by-side tests 2.6 rendered 300 of 300 poster characters correctly against 292 for 2.5. It also spends about 3.3 times the output tokens per image, and 2.5 still did better on exact object counts and careful edits. Blind voters on the Arena text-to-image board (November 12, 2026) rank 2.5 Sunburst first, ahead of 2.6. The request body is the same as 2.5 plus two optional fields, thinking_level and markup_url.

Flare and Sunburst are billed the same way: per token, with separate rates for text input, image input and image output, each below OpenAI's official rate. In our runs a square image at medium quality used 1,450 output tokens at 1K (about $0.03915), 2,945 at 2K and 4,895 at 4K. Higher quality settings and more reference images use more tokens. The live rates are on /pricing, and a dry-run request returns an estimate before you spend.

1K, 2K and 4K, with 1K as the default. There are 15 aspect ratios, from 1:1, 4:3, 3:2, 16:9 and their portrait versions to wide 21:9, 2:1 and 3:1 and tall 9:21, 1:2 and 1:3.

Up to 16 per request, through image_urls. With references the model edits or composes from them; without, it generates from the prompt alone.