Developer Integration
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
Call Lite (`-lite`) for flat credits or Accelerated for quality presets and masks.
Unified Key
Access GPT Image 2.6, Seedream, Nano Banana, and video models through one endpoint.
References
Pass product angles, logos, and style boards directly in JSON requests.
Billing Safety
Failed tasks refund credits automatically; one-time credit packs never expire.
| Model ID | Tier | Pricing (Credits) | Key Parameters |
|---|---|---|---|
| gpt-image-2.6-flare-lite | Standard Lite | 2 (1K/2K), 3 (4K) | 10 aspect ratios + auto, up to 16 refs |
| gpt-image-2.6-sunburst-lite | Standard Lite | 2 (1K/2K), 3 (4K) | 10 aspect ratios + auto, up to 16 refs |
| gpt-image-2.6-flare | Accelerated | 1–100 by quality & res | low/medium/high/xhigh/max, custom px, mask |
| gpt-image-2.6-sunburst | Accelerated | 1–100 by quality & res | low/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
Both 2K images below were generated programmatically via PixZoo's `/api/ai/generate/` endpoint (2 credits each, ~26s).


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)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" }
}'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.
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.
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.
No. Failed generations automatically refund the deducted credits back to your balance.
Yes. All four GPT Image 2.6 endpoints accept up to 16 reference image URLs for editing and multi-reference composition.
Not yet. PixZoo currently returns PNG, JPEG, and WebP still images. Check our GIF and SVG status pages for details.
Yes. See the PixZoo MCP guide to connect GPT Image 2.6 directly to your AI coding or agent workflow.
One API key, predictable credit pricing, and both Flare and Sunburst ready in production.
Open API Documentation