Felo API PlatformFelo API Platform
Back to models

GPT Image 2.6 Flare API

OpenAI's speed-focused GPT Image 2.6 Flare model generates and edits images with up to 16 references, 4K output, and transparent backgrounds.

GPT Image 2.6 Flare is the speed-oriented tier of OpenAI's GPT Image series, built for everyday image generation and editing. It accepts text and image input to produce images, takes up to 16 reference images for editing, and supports prompts up to 20,000 characters. Output can be rendered at 1K, 2K, or 4K resolution with a long edge up to 3840 pixels, and native transparent background generation is available. Revision 2 improves editing consistency, detail preservation, and responsiveness to sketches and image annotations, and it accepts marked-up images via the API so edit regions can be specified precisely.

The model offers six quality settings — auto, low, medium, high, xhigh, and max — and chains outputs as reference images across multi-turn editing sessions, which helps keep scenes consistent over multiple revision rounds. It applies only instructed changes while preserving subject, composition, and background, and supports natural lighting, rich textures, and complex layouts. This makes it a good fit for iterative design work, character creation with brand consistency, image fusion from multiple references, and screen or layout mockups.

Speed is a central strength: latency is reported up to 50% lower than GPT Image 2, with generation reported up to 7x faster for 1024x1080 images, and roughly 6 seconds at low quality. It is well suited to interactive and high-volume work. Known limitations include noticeable noise artifacts in some areas, and GPT Image 2 is reported to handle dense multilingual text and extreme aspect ratios better.

Updated:

MODEL ID

gpt-image-2.6-flare
Input
text / image
Output
image

Highlights

  • Up to 16 reference images for editing
  • Prompts up to 20,000 characters
  • 1K, 2K, and 4K output resolutions
  • Native transparent backgrounds
  • Up to 50% lower latency than GPT Image 2
  • Six quality settings from auto to max

Providers

Best price
3 providers

Compare API prices across providers. Select a provider to view all charges and conditions.

Provider · Pricing details
Uptime
$5$30$2
$5$2.75$30$16.5$2$1.1
Not publishedNot publishedNot published

Benchmarks

  • Image Arena text-to-image (GPT Image 2.5 Flare)

    points for GPT Image 2.5 Flare

    1501
  • Image Arena text-to-image (GPT Image 2.5 Sunburst)

    points for GPT Image 2.5 Sunburst

    1535

Scores as published by the model provider.

Quick Start

Submit an image task, poll its status, then save the images. These examples use curl and Python 3 (standard library only).

POST https://openapi.felo.ai/api/v1/images/generations

1Get your API key

Create a key from your Felo API Platform account and set it as an environment variable.

export FELO_API_KEY="YOUR_API_KEY"

2Make your first request

Optional values vary by model. This example leaves them unset; confirm supported values in Playground before adding them. Request fields sit alongside model and prompt, without an input wrapper.

curl --fail-with-body --max-time 60 "https://openapi.felo.ai/api/v1/images/generations" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -o created.json \
  -d '{
  "prompt": "A studio product photo of a ceramic coffee cup on warm linen, soft morning light",
  "model": "gpt-image-2.6-flare"
}'

3Poll the task

Submission returns task_id. Poll every 3 seconds while queued or running; stop on succeeded, failed or interrupted. This example stops waiting after 30 minutes. Keep created.json to resume querying the same task instead of submitting again.

python3 - <<'PY'
import json, os, time
from pathlib import Path
from urllib.parse import quote
from urllib.request import Request, urlopen

task = json.loads(Path("created.json").read_text())
task_id = task["task_id"]
url = "https://openapi.felo.ai/api/v1/images/generations/" + quote(task_id, safe="")
headers = {"Authorization": "Bearer " + os.environ["FELO_API_KEY"]}
deadline = time.monotonic() + 1800

while task["status"] in ("queued", "running"):
    if time.monotonic() >= deadline:
        raise TimeoutError(f"Keep task_id={task_id} to resume polling")
    time.sleep(3)
    with urlopen(Request(url, headers=headers), timeout=60) as response:
        task = json.load(response)
    if task.get("task_id") != task_id or task.get("kind") != "image":
        raise ValueError("Unexpected task response")
    print(task["status"])

if task["status"] != "succeeded":
    raise RuntimeError(task.get("error") or task["status"])
if not task.get("outputs"):
    raise ValueError("Task succeeded without image outputs")
Path("task.json").write_text(json.dumps(task))
print("Saved task.json")
PY

4Download the output

After success, save outputs from task.json. Results may be HTTPS URLs, URL objects or b64_json. Download signed URLs promptly; media downloads do not use your API key.

python3 - <<'PY'
import base64, json
from pathlib import Path
from urllib.request import urlopen

task = json.loads(Path("task.json").read_text())
if task.get("status") != "succeeded" or not task.get("outputs"):
    raise ValueError("No completed image outputs")
extensions = {"image/png": ".png", "image/jpeg": ".jpg", "image/webp": ".webp", "image/gif": ".gif", "image/avif": ".avif"}

for index, output in enumerate(task["outputs"], 1):
    item = output if isinstance(output, dict) else {}
    url = output if isinstance(output, str) else item.get("url") or item.get("unsigned_url")
    mime = item.get("media_type") or "image/png"
    if url and url.startswith("https://"):
        with urlopen(url, timeout=60) as response:
            data = response.read()
            mime = response.headers.get_content_type()
    elif url and url.startswith("data:image/") and ";base64," in url:
        header, encoded = url.split(",", 1)
        mime = header[5:].split(";", 1)[0]
        data = base64.b64decode(encoded, validate=True)
    elif item.get("b64_json"):
        data = base64.b64decode(item["b64_json"], validate=True)
    else:
        raise ValueError("Unrecognized image output")
    path = Path(f"image-{index}" + extensions.get(mime, ".bin"))
    path.write_bytes(data)
    print(path)
PY
input_references

For image editing, replace the example URL with your HTTPS image URL or a base64 image data URL. Submit once, then use the same polling and saving steps.

curl --fail-with-body --max-time 60 "https://openapi.felo.ai/api/v1/images/generations" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -o created.json \
  -d '{
  "prompt": "Keep the product and framing. Replace the background with a sunlit marble countertop.",
  "model": "gpt-image-2.6-flare",
  "input_references": [
    {
      "type": "image_url",
      "image_url": {
        "url": "https://example.com/product.png"
      }
    }
  ]
}'

Supported parameters

  • n
  • quality
  • background
  • aspect_ratio
  • output_format
  • input_references
  • output_compression

Prefer the full reference?

API reference →

Frequently asked questions

What is GPT Image 2.6 Flare?

GPT Image 2.6 Flare is the speed-oriented tier of OpenAI's GPT Image series, built for everyday image generation and editing. It accepts text and image input to produce images, takes up to 16 reference images for editing, and supports prompts up to 20,000 characters. Output can be rendered at 1K, 2K, or 4K resolution with a long edge up to 3840 pixels, and native transparent background generation is available. Revision 2 improves editing consistency, detail preservation, and responsiveness to sketches and image annotations, and it accepts marked-up images via the API so edit regions can be specified precisely. The model offers six quality settings — auto, low, medium, high, xhigh, and max — and chains outputs as reference images across multi-turn editing sessions, which helps keep scenes consistent over multiple revision rounds. It applies only instructed changes while preserving subject, composition, and background, and supports natural lighting, rich textures, and complex layouts. This makes it a good fit for iterative design work, character creation with brand consistency, image fusion from multiple references, and screen or layout mockups. Speed is a central strength: latency is reported up to 50% lower than GPT Image 2, with generation reported up to 7x faster for 1024x1080 images, and roughly 6 seconds at low quality. It is well suited to interactive and high-volume work. Known limitations include noticeable noise artifacts in some areas, and GPT Image 2 is reported to handle dense multilingual text and extreme aspect ratios better.

How is usage billed?

Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.

What input modalities does GPT Image 2.6 Flare support?

It accepts text and image input and produces image output.

How many reference images can I use for editing?

It accepts up to 16 reference images for editing.

What output resolution options are available?

It supports 1K, 2K, and 4K resolution with a long edge up to 3840 pixels.

What quality settings can I choose from?

There are six quality settings: auto, low, medium, high, xhigh, and max.

How does it differ from GPT Image 2?

GPT Image 2.6 Flare is positioned as the speed-oriented tier: latency is reported up to 50% lower than GPT Image 2, with generation reported up to 7x faster for 1024x1080 images. GPT Image 2 is reportedly better for dense multilingual text rendering and extreme aspect ratios.

Can I use it for multi-turn editing?

Yes, outputs can be chained as reference images across multi-turn editing sessions, helping maintain scene consistency across revision rounds.

Related models