Felo API PlatformFelo API Platform
Back to models

GPT Image 2.6 Sunburst API

OpenAI's GPT Image 2.6 Sunburst is a precision-focused image generation and editing model with image markup, SVG export, and high consistency across repeated edits.

GPT Image 2.6 Sunburst is OpenAI's high-quality, precision-oriented tier of the GPT Image 2.6 series, released in 2026 and positioned alongside Flare. It accepts image input and produces image output through the Images API, and it is also available in ChatGPT and Codex across all subscription levels on desktop, mobile, and web. The model supports an image markup feature that lets users specify exact areas to change, and it maintains character, product, and brand details across edits.

The model exposes a complexity parameter that adjusts how much planning it does to satisfy a request, plus quality settings selectable from low to high. Higher-quality generation is produced at the medium or high quality settings, and SVG export makes designs directly usable on websites, apps, and print. Generation speed is improved by 50% over the previous model, and image consistency between generation and editing is stronger.

Sunburst suits detailed work where editing accuracy matters more than generation speed: animating brand mascots and characters, building GIFs that turn product shots into engaging loops, precision editing while preserving character, product, and brand details, professional visual production such as posters and product imagery, and creative workflows with multiple editing rounds. It is also available via the API as GPT-Image-2.6 Sunburst and has been added to Figma Weave.

Updated:

MODEL ID

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

Highlights

  • Image markup for exact edit areas
  • SVG export for web, apps, and print
  • 50% faster generation than previous model
  • Consistent characters, products, and brands
  • Adjustable complexity and quality settings

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

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-sunburst"
}'

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-sunburst",
  "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 Sunburst?

GPT Image 2.6 Sunburst is OpenAI's high-quality, precision-oriented tier of the GPT Image 2.6 series, released in 2026 and positioned alongside Flare. It accepts image input and produces image output through the Images API, and it is also available in ChatGPT and Codex across all subscription levels on desktop, mobile, and web. The model supports an image markup feature that lets users specify exact areas to change, and it maintains character, product, and brand details across edits. The model exposes a complexity parameter that adjusts how much planning it does to satisfy a request, plus quality settings selectable from low to high. Higher-quality generation is produced at the medium or high quality settings, and SVG export makes designs directly usable on websites, apps, and print. Generation speed is improved by 50% over the previous model, and image consistency between generation and editing is stronger. Sunburst suits detailed work where editing accuracy matters more than generation speed: animating brand mascots and characters, building GIFs that turn product shots into engaging loops, precision editing while preserving character, product, and brand details, professional visual production such as posters and product imagery, and creative workflows with multiple editing rounds. It is also available via the API as GPT-Image-2.6 Sunburst and has been added to Figma Weave.

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 and output modalities does GPT Image 2.6 Sunburst support?

It accepts image input and produces image output. It is used for image generation and editing via the Images API.

How does the image markup feature work?

Image markup lets users specify exact areas of an image to change, supporting precise editing control for professional work.

What tasks is this model best suited for?

It is tailored to detailed work where editing accuracy matters more than generation speed, such as animating brand mascots, creating product GIFs, precision editing, and professional visual production.

How does Sunburst differ from Flare in the GPT Image 2.6 series?

Sunburst is positioned as the high-quality, precision-oriented tier of the GPT Image 2.6 series alongside Flare.

Where can I use GPT Image 2.6 Sunburst?

It is available in ChatGPT and Codex across all subscription levels on desktop, mobile, and web, via the API as GPT-Image-2.6 Sunburst, and it has been added to Figma Weave.

Related models