NezhaGateNezhaGate
Image ● Operational Service status →

GPT Image 2

⧉
gpt-image-2
24H STATUS Success: 99.6%
-24hnow
Real customer calls only, counting successes and our own failures: green is success in that hour, red is the failure share. Three things are excluded -- client-side errors (bad request, auth, insufficient balance and other 4xx), requests still in flight, and our own internal test calls. One bar per hour, taken from real gateway call logs.

GPT Image 2 is built for commercial creative work: article covers, product shots, posters, infographics and illustrations. Supports both text-to-image and image-to-image, 1K / 2K / 4K resolutions and multiple aspect ratios, through the OpenAI-compatible images API.

Text-to-imageImage-to-image1K/2K/4KPay-as-you-go

What is the GPT Image 2 API and what does it cost?

GPT Image 2 is OpenAI's image generation and editing model: text-to-image, and image-to-image from up to 8 reference images. On NezhaGate it costs $0.005 per image at 1K ($0.025 at 2K, $0.04 at 4K) (OpenAI list price for a 1024x1024 image: $0.006 low, $0.053 medium or $0.211 high quality, plus input tokens). Base URL: https://nezhagate.com/v1 (OpenAI-compatible).

Measured performance

Real image jobs sent through the public NezhaGate API. Test window 2026-10-20 18:17 – 2026-10-20 18:21 UTC; sample size 8.

32.1 sMedian time per image
25.9 s – 35.3 sFastest – slowest
8 of 8Jobs that succeeded
How this was measured
Client: a server in Los Angeles, California (US), calling https://nezhagate.com/v1 over the public internet. 8 jobs submitted to /v1/images/generations at 1K, at most four in flight at once. Time is measured from submitting the job to the moment polling first sees status: "succeeded", so it includes any queueing; it is only as precise as the polling interval (3 s). With a sample this small, read the numbers as indicative. Measurements are repeated every week and this page updates itself; the date above is the latest run.

Cost example

NezhaGate figures use the live price on this page; vendor figures use the vendor's published list price (sources below).

1,000 square images at 1K

1,000 images at 1024x1024. OpenAI prices GPT Image 2 by quality level and bills input tokens on top; NezhaGate charges one flat price per image whatever the quality: images are drawn at medium by default, and at 1K you can choose low or high at the same price.

WhereCostDifference
NezhaGate$5.00—
OpenAI, low quality (+ input tokens)$6.00NezhaGate 17% cheaper
OpenAI, medium quality (+ input tokens)$53.00NezhaGate 91% cheaper
OpenAI, high quality (+ input tokens)$211.00NezhaGate 98% cheaper

Vendor list prices checked 2026-09-25: OpenAI image generation guide (costs), OpenAI API pricing.

Parameters & capabilities

"Vendor spec" is what the model's maker publishes. "Via NezhaGate" is what our own requests through the gateway showed (last checked 2026-10-20).

ItemVendor specVia NezhaGate
Model id— gpt-image-2
Endpoints— POST /v1/images/generations (text-to-image) and POST /v1/images/edits (image-to-image); both return a job you poll at GET /v1/images/jobs/{id}
PriceBy quality: $0.006 / $0.053 / $0.211 per 1024x1024 image, plus input tokens OpenAI image generation guide (costs) $0.005 at 1K · $0.025 at 2K · $0.04 at 4K, flat per image
Sizes— An aspect ratio (1:1, 3:4, 2:3, 9:16, 4:3, 3:2, 16:9) or pixels (1024x1536); resolution 1K / 2K / 4K sets the long side to 1024 / 2048 / 4096 px
Quality settinglow / medium / high OpenAI image generation guide (costs) low, medium (default) or high at 1K, same price; 2K and 4K always medium
Reference images— Up to 8 per request, 16 MB each: public URL, data: URI or base64
Output— PNG at a stable img.nezhagate.com URL; add response_format: "b64_json" to also receive base64
Response mode— Asynchronous: HTTP 202 with a job id, then poll
Failed jobs— Refunded in full

Tool setup

Base URL https://nezhagate.com/v1, your NezhaGate API key, and the model id gpt-image-2. Request and response samples (cURL, Python, Node.js) are in the GPT Image 2 API docs.

  1. Add an HTTP Request node: method POST, URL https://nezhagate.com/v1/images/generations, header Authorization: Bearer <your key>, JSON body with model = gpt-image-2 and your prompt.
  2. Add a Wait node (3 seconds), then a second HTTP Request node: GET https://nezhagate.com/v1/images/jobs/{{ $json.id }} with the same header.
  3. Add an IF node on {{ $json.status }}: succeeded continues with {{ $json.data[0].url }}; anything else loops back to the Wait node (stop on failed).

Differences from the official API & known limits

  • Job-based instead of synchronous: OpenAI's Images API returns the image in the response; NezhaGate returns HTTP 202 with a job id and you poll GET /v1/images/jobs/{id} until status is succeeded. Code written for the synchronous response needs the short polling loop shown above.
  • quality does not change the price (low / medium / high at 1K, medium at 2K and 4K); the price depends only on resolution (1K / 2K / 4K), and there is no separate charge for input tokens or reference images.
  • Any aspect ratio is accepted; the result is centre-cropped and resized to exactly the size you asked for and saved as PNG.
  • An edit request takes at most 8 reference images; any beyond 8 are dropped without an error.
  • Image URLs are hosted on img.nezhagate.com; the job record itself can be polled for 3 days after it finishes.
  • NezhaGate also serves OpenAI's newer GPT Image 2.5 Flare and GPT Image 2.5 Sunburst on the same API.

GPT Image 2 API: frequently asked questions

How long does GPT Image 2 take to generate an image on NezhaGate?
In our latest test (8 images at 1K, 2026-10-20) the median time from submitting the job to the finished image was 32.1 s, ranging from 25.9 s to 35.3 s.
Why do I get a job id instead of an image?
NezhaGate's image API is asynchronous: submitting returns HTTP 202 and a job id right away, and you poll GET /v1/images/jobs/{id} every few seconds until status is succeeded, then read data[0].url.
How much does GPT Image 2 cost?
$0.005 per image at 1K, $0.025 at 2K and $0.04 at 4K, whatever the prompt length or number of reference images. Failed jobs are refunded in full.
Can I choose the quality level?
Yes, at 1K: send quality as low, medium (the default) or high, at the same price. 2K and 4K are always drawn at medium. The price is set by resolution (1K, 2K or 4K).
What sizes can I request?
Pass an aspect ratio such as 1:1, 3:4 or 16:9, or a pixel size such as 1024x1536. With resolution 1K the long side is 1024 px, with 2K 2048 px and with 4K 4096 px.

Real images from the test run

Generated through the API on 2026-10-20 with the prompts shown; not edited or cherry-picked beyond one result per prompt.

A minimalist poster for a jazz night called "BLUE HOUR", bold sans-serif title, deep navy and brass colours, one saxophone silhouette, lots of negative space
A minimalist poster for a jazz night called "BLUE HOUR", bold sans-serif title, deep navy and brass colours, one saxophone silhouette, lots of negative space size 3:4 · 1K · 768×1024 px · ready in 26.3 s
Studio product photo of a matte ceramic coffee mug on a light oak table, soft window light from the left, shallow depth of field
Studio product photo of a matte ceramic coffee mug on a light oak table, soft window light from the left, shallow depth of field size 1:1 · 1K · 1024×1024 px · ready in 29.6 s
Wide cinematic landscape of terraced rice fields at sunrise, low mist in the valleys, warm golden light, a small farmhouse in the middle distance
Wide cinematic landscape of terraced rice fields at sunrise, low mist in the valleys, warm golden light, a small farmhouse in the middle distance size 16:9 · 1K · 1024×576 px · ready in 25.5 s
Flat vector infographic titled "HOW A REQUEST TRAVELS" showing four labelled steps: Client, CDN, Gateway, Model, connected by arrows, clean pastel palette
Flat vector infographic titled "HOW A REQUEST TRAVELS" showing four labelled steps: Client, CDN, Gateway, Model, connected by arrows, clean pastel palette size 4:3 · 1K · 1024×768 px · ready in 30.9 s

Live Test · Playground

Try out GPT Image 2 right here (available after login).

Model Type

Input

Image

Output

image
Results will appear here after running.
🕑 Generated images and videos are kept for 15 days before 2026-10-29 09:49:40 UTC; from that time, they are kept for 7 days and existing files older than 7 days are removed.

About GPT Image 2

GPT Image 2 is OpenAI's high-quality image generation model for both text-to-image and image-to-image workflows, producing finished covers, posters, and illustrations. On NezhaGate it is served through an OpenAI-compatible endpoint: point your base_url at NezhaGate and set the model to "gpt-image-2" to call it with your existing OpenAI SDK. Billing is pay-as-you-go, and failed requests are not charged.

Use cases

Marketing posters and covers

Turn a short text brief into event posters, article covers, or product key visuals, and generate several variations quickly without designing from scratch.

E-commerce product shots

Generate scene shots, background swaps, or styled product imagery to support detail pages and ad placements.

Blog and docs illustrations

Create illustrations and diagrams that match your content, making technical docs, blog posts, and decks easier to follow.

Image-to-image restyling

Provide a reference image with a prompt to redraw composition, style, or details, producing consistent variants fast.

Social media visuals at scale

Batch-generate visuals for different platform sizes and themes while keeping a consistent brand look.

How to choose

GPT Image 2 is the catalogue's dedicated image model, so reach for it whenever the output is a picture. When you need text chat, reasoning, or code, choose a chat model instead, such as the flagship GPT-5.5, Claude Sonnet 4.6, or Gemini 3.1 Pro; in workflows that need both copy and visuals, pair one of those with gpt-image-2.

Related Models

Explore other models you can integrate.

View all →