GPT Image 2.6 API

Model IDs, credit pricing, and Python / cURL examples

2

Developer Integration

GPT Image 2.6 API model IDs and capabilities

The GPT Image 2.6 API lets developers generate and edit 1K to 4K images programmatically with both GPT Image 2.6 Flare and GPT Image 2.6 Sunburst. Use PixZoo's unified OpenAPI to call GPT Image 2.6 alongside Seedream, Nano Banana, and video models with one API key and never-expiring credit packs.

PixZoo exposes four GPT Image 2.6 API model IDs so your app can choose between flat-rate Lite endpoints and full-control Accelerated endpoints. All four accept up to 16 reference images and return PNG, JPEG, or WebP still images.

4 Endpoints

Flare & Sunburst IDs

Call Lite (`-lite`) for flat credits or Accelerated for quality presets and masks.

Unified Key

One PixZoo API key

Access GPT Image 2.6, Seedream, Nano Banana, and video models through one endpoint.

References

Up to 16 image URLs

Pass product angles, logos, and style boards directly in JSON requests.

Billing Safety

Auto-refund on failure

Failed tasks refund credits automatically; one-time credit packs never expire.

Model IDTierPricing (Credits)Key Parameters
gpt-image-2.6-flare-liteStandard Lite2 (1K/2K), 3 (4K)10 aspect ratios + auto, up to 16 refs
gpt-image-2.6-sunburst-liteStandard Lite2 (1K/2K), 3 (4K)10 aspect ratios + auto, up to 16 refs
gpt-image-2.6-flareAccelerated1–100 by quality & reslow/medium/high/xhigh/max, custom px, mask
gpt-image-2.6-sunburstAccelerated1–100 by quality & reslow/medium/high/xhigh/max, custom px, mask

PixZoo Web & OpenAPI currently return PNG, JPEG, and WebP stills. GIF and SVG export are not enabled yet.

Real API Outputs

Sample images returned by the GPT Image 2.6 API on PixZoo

Both 2K images below were generated programmatically via PixZoo's `/api/ai/generate/` endpoint (2 credits each, ~26s).

Dev Summit 2026 Build With AI conference poster generated via GPT Image 2.6 API
`gpt-image-2.6-flare-lite` API output: clean event poster typography over dark navy grid.
Minimalist white ceramic pour-over coffee dripper studio photo generated via GPT Image 2.6 API
`gpt-image-2.6-sunburst-lite` API output: consistent e-commerce studio shot for automated catalogs.

GPT Image 2.6 API Python example

Create an API key in your PixZoo account settings, then submit a GPT Image 2.6 generation task with Python and poll for the finished image URL:

Python (requests) — Submit & poll a GPT Image 2.6 Flare Lite job

import os, time, requests

API_KEY = os.environ["PIXZOO_API_KEY"]
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}

# 1. Submit GPT Image 2.6 task
res = requests.post(
    "https://pixzoo.ai/api/ai/generate/",
    headers=HEADERS,
    json={
        "mediaType": "image",
        "scene": "text-to-image",
        "model": "gpt-image-2.6-flare-lite",
        "prompt": "Minimalist coffee poster reading FIRST CUP OF FALL, warm morning light",
        "options": {"aspectRatio": "3:4", "resolution": "2k"},
    },
).json()
task_id = res["data"]["id"]

# 2. Poll until completed
while True:
    q = requests.post("https://pixzoo.ai/api/ai/query/", headers=HEADERS, json={"taskId": task_id}).json()
    status = q["data"]["status"]
    if status in ("success", "succeeded", "completed"):
        print("Image URL:", q["data"]["outputImages"][0])
        break
    if status in ("failed", "error"):
        raise RuntimeError(q)
    time.sleep(3)

Quick cURL test for GPT Image 2.6 API

Verify your key from the terminal with a single cURL request. Switch `model` to `gpt-image-2.6-sunburst-lite` or `gpt-image-2.6-sunburst` when you need detail-first rendering:

cURL — Generate a 2K image with GPT Image 2.6 Sunburst Lite

curl -X POST https://pixzoo.ai/api/ai/generate/ \
  -H "Authorization: Bearer $PIXZOO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mediaType": "image",
    "scene": "text-to-image",
    "model": "gpt-image-2.6-sunburst-lite",
    "prompt": "Frosted glass serum bottle labeled HYDRA SERUM 30 ml on travertine stone",
    "options": { "aspectRatio": "1:1", "resolution": "2k" }
  }'

GPT Image 2.6 API pricing overview

Standard Lite API calls cost a flat 2 credits at 1K or 2K and 3 credits at 4K regardless of quality preset. Accelerated API calls follow the five-tier quality matrix (`low`, `medium`, `high`, `xhigh`, `max`) from 1 credit to 100 credits. For full credit-to-dollar breakdowns and monthly volume examples, read our GPT Image 2.6 Pricing page.

GPT Image 2.6 API FAQ

How do I get a GPT Image 2.6 API key on PixZoo?

Sign in to PixZoo, open your API Keys page in Settings, and generate a bearer token. The same key works for GPT Image 2.6, Seedream, Nano Banana, and video models.

Which GPT Image 2.6 API model ID should I use by default?

Use `gpt-image-2.6-flare-lite` for fast drafts and predictable 2-credit 1K/2K billing, or `gpt-image-2.6-sunburst-lite` for detailed product and diagram renders.

Does the PixZoo GPT Image 2.6 API charge if a task fails?

No. Failed generations automatically refund the deducted credits back to your balance.

Can I pass reference images via the GPT Image 2.6 API?

Yes. All four GPT Image 2.6 endpoints accept up to 16 reference image URLs for editing and multi-reference composition.

Are GIF and SVG formats available in the PixZoo GPT Image 2.6 API?

Not yet. PixZoo currently returns PNG, JPEG, and WebP still images. Check our GIF and SVG status pages for details.

Can I use PixZoo with Claude Code or MCP clients?

Yes. See the PixZoo MCP guide to connect GPT Image 2.6 directly to your AI coding or agent workflow.

Build with the GPT Image 2.6 API on PixZoo

One API key, predictable credit pricing, and both Flare and Sunburst ready in production.

Open API Documentation