TL;DR
gpt-image-2-all and gpt-image-2-vip — they share the same call format (-vip additionally supports the size field) and the same $0.03/image flat price. The difference now is speed vs quality + size locking:gpt-image-2-all: ChatGPT web line, ~90s generation — speed is the advantagegpt-image-2-vip: Codex line, ~120–200s generation — slower, but sometimes higher quality, and it supportssizelocking (30 presets incl. 4K, restored since 2026-07-22)- Both: no
quality, non, no mask inpainting
quality tiers, mask inpainting, or arbitrary custom sizes beyond the 30 presets, use the official gpt-image-2.Full Comparison Table
When creating a token in the console, choose a group (
Default is fine) and a token type (Per-call / Token-priority). Calling gpt-image-2 (official) requires a “Token-priority” token — per-call tokens will be rejected due to billing-mode mismatch.When to Pick Each
Pick gpt-image-2-all (Reverse) when
💰 Predictable cost
⚡ Faster output
-vip and the official version. Better real-time UX.🔁 One codebase, swap anytime
-vip and the official-relay gpt-image-2; switch or fall back by changing the model name.🌏 Chinese + marketing text
Pick gpt-image-2-vip (Reverse, quality-first) when
🎨 Sometimes higher quality
-all — for showcase images where you’re not in a hurry and want a bit more quality at the same reverse-channel flat price.⏱️ Trade time for quality
-all — pick it when you can accept a longer wait for a higher ceiling.🖼️ Locked sizes / 4K
size parameter is restored (since 2026-07-22): 30 preset sizes (10 ratios × 1K/2K/4K). E-commerce hero shots, poster templates and 4K wallpapers come out at exact dimensions — flat $0.03/image, no 4K surcharge.🔁 Code shared with -all
-all (just one extra size field) — one codebase switches between both models by swapping the model name based on your speed / quality preference.-vip’s size only works on the /v1/images/generations and /v1/images/edits endpoints — the /v1/chat/completions chat endpoint does not support size. For arbitrary custom sizes beyond the 30 presets, quality tiers, or mask inpainting, use the official gpt-image-2. Availability of this parameter follows upstream changes — see Live Updates for the latest status.Pick gpt-image-2 (Official) when
🎚️ Quality tiers
quality supports low/medium/high/auto. Use low for drafts to save cost; high for print-grade finals — official-only; both reverse models reject it.🎯 Mask inpainting
🖼️ Arbitrary custom sizes
size accepts any valid resolution (including 4K), not limited to presets. -vip only supports 30 preset sizes — anything beyond those 30 goes official.🔌 Same as OpenAI Official
Key Differences in Detail
1. b64_json format gotcha (migration trap!)
As verified in July 2026, both models now return raw base64 (nodata: prefix) — but gpt-image-2-all used to include the prefix, so the safest shared code checks for it first:
2. Resolution control
gpt-image-2-all (in the prompt):size restored, since 2026-07-22):
Accepts 30 preset sizes (10 ratios × 1K/2K/4K) — pass size: "WIDTHxHEIGHT" directly (must be one of the 30 presets; full list in the 30-size table):
size parameter strict + quality tiers):
3. Upload / output format differences
4. Cost ballpark
quality tiers / mask inpainting / locked sizes, 4K / strict OpenAI-API field parity.Client Settings
FAQ
Should I compress input images? Does writing 4K / 8K in the prompt help?
Should I compress input images? Does writing 4K / 8K in the prompt help?
shell_api_error / Unknown error responses are most often triggered by oversized inputs, and compressing measurably improves success rate and latency.Don’t worry about compression hurting quality — output resolution is independent of input size. The “output-side” controls differ across the three:gpt-image-2-all: controlled by prompt composition phrasing (see the verified phrasing table on the -all overview page) —4K/8Kin the prompt does not countgpt-image-2-vip: controlled by thesizefield (30 preset sizes incl. 4K, restored since 2026-07-22) —4K/8Kin the prompt does not count eithergpt-image-2: controlled bysize+quality(any valid size)
Can the same API Key call all three models?
Can the same API Key call all three models?
gpt-image-2 (official) requires a “Token-priority” token; -all / -vip accept either token type.Which endpoints should I use on the reverse channel?
Which endpoints should I use on the reverse channel?
/v1/images/generations for text-to-image + /v1/images/edits for editing), for two reasons:- More stable: upstream resource supply for the Images API channel is more plentiful, so call success rates are higher
- Compatible with the official relay for easy switching: the call method and parameter format are fully compatible with the official-relay
gpt-image-2— if the reverse channel hits risk-control turbulence, just swap themodelname to switch to the official relay with zero code changes
/v1/chat/completions, no longer recommended), only useful for multi-turn iterative editing or passing online image URLs directly. Note that when the image intent is ambiguous, it may return plain text instead of an image (prepend a fixed prefix like “Generate an image:” to reinforce it). For full parameters, see the -all chat-based API reference / -vip chat-based API reference.Within the reverse channel, -all vs -vip — which to pick?
Within the reverse channel, -all vs -vip — which to pick?
-vip additionally supports size locking). The difference is speed vs quality + size locking:- Generation time:
-all~90s — speed is the advantage;-vip~120–200s. Currently slower than at launch due to OpenAI upstream compute fluctuations - Quality:
-vip(Codex line) detail rendering is sometimes higher — for showcase images when you’re not in a hurry - Size locking:
-vipsupports 30 presetsizevalues (incl. 4K);-allrejectssize— composition goes into the prompt
-all; quality-first or need locked sizes / 4K → -vip; need custom sizes beyond the 30 presets, quality tiers, or mask → official gpt-image-2. See the GPT-Image-2-VIP Overview for details.I need locked sizes / 4K — what now?
I need locked sizes / 4K — what now?
gpt-image-2-vip: its size parameter was restored on 2026-07-22 and supports 30 preset sizes (10 ratios × 1K/2K/4K) at a flat $0.03/image with no 4K surcharge. Note that size only works on the images endpoints and must be one of the 30 presets.Go official (gpt-image-2, token-metered) when you need any valid size beyond the 30 presets, quality tiers (low/medium/high/auto), mask inpainting (alpha-channel mask), or strict OpenAI-API field parity (zero-change migration for existing OpenAI-SDK code).Migrating from 1.5 — which one should I pick?
Migrating from 1.5 — which one should I pick?
- Stick with the OpenAI SDK / must match OpenAI official, or need custom sizes beyond the 30 presets: pick
gpt-image-2(official). Dropinput_fidelityand leave the rest unchanged (background: transparentkeeps working). - Cut cost, want fast output: pick
gpt-image-2-all(reverse, ~90s). - Cut cost, quality-first or need locked sizes / 4K: pick
gpt-image-2-vip(reverse, ~120–200s, 30 preset sizes incl. 4K).
Can I deploy multiple models for failover?
Can I deploy multiple models for failover?
-all or -vip (predictable cost — pick by speed / quality preference), fallback gpt-image-2 (switch when you need quality tiers, mask, or custom sizes beyond the 30 presets). The reverse and official response shapes differ — normalize at the business layer.The R2 CDN image link is slow — what can I do?
The R2 CDN image link is slow — what can I do?
Related Docs
- GPT-Image-2 Overview - Full official integration docs
- GPT-Image-2-All Overview - Reverse ChatGPT-web line (fastest output) full integration docs
- GPT-Image-2-VIP Overview - Reverse Codex line (sometimes higher quality,
sizelocking) full integration docs - Deep dive: gpt-image-2 launch - Official version launch
- Deep dive: gpt-image-2-all launch - Reverse-engineered version launch
- Community: Luck GPT-Image 2 ComfyUI Nodes - Multi-model ComfyUI node pack
- Community: APIYI GPT-Image 2 Skills - Multi-model AI Agent Skill pack
- Deposit promotions - Recharge bonus policy