Models & pricing / gpt-image-2 · OpenAI
OpenAI

gpt-image-2 API

GPT Image 2 is a deprecated OpenAI image-generation and editing model, with text and image input and image output. This page retains historical specifications and migration references. XiuAI also marks it deprecated, so it is not recommended for new tasks.[1][2]

gpt-image-2
This model is no longer available for new calls. Existing tasks and billing records remain accessible.

Model overview

Published provider specifications. Available features depend on the current API route.

Input
text / image
Output
Image generation
API routes
See image API documentation

Historical use and current status

GPT Image 2 was used for text-to-image generation, editing with image inputs and inpainting. Vendor documentation retains its image-size and high-fidelity-input information, but both the model and its fixed snapshot are now marked Deprecated. Keeping this page helps identify old code and records; it does not establish current generation availability.[1][2]

What to keep and recheck when migrating

Keep prompts, the permitted use of reference images and output acceptance samples, then select an alternative from the currently available image catalog. Recheck generation or editing protocols, image formats, size parameters and result retrieval. Changing only the model ID does not establish request compatibility or equivalent results.[1][2]

Separate historical charges from replacement pricing

Reconcile historical charges against the corresponding records. Retained prices or vendor documentation do not announce renewed availability, lock a rate or quote a replacement model. After migration, estimate from the replacement’s actual billing units, size and quality conditions instead of applying an old per-generation amount to every image task.[1][2]

API access

Identify the old API and move to an available model

The old model ID is gpt-image-2, with vendor image endpoints /v1/images/generations and /v1/images/edits. It is not a regular chat model, and a Hello response from Chat Completions does not validate image generation. Check the available model catalog and the replacement’s API documentation; retaining this page does not restore GPT Image 2 supply.[1][2]

This page retains historical API and migration information. Choose an available model for new requests.

Read historical model documentation

Frequently asked questions

Why is there still a page for a deprecated model?

The page documents historical use, identifies the old API ID and supports migration. A page, specifications or retained prices are different from current callability. This model is deprecated in the current catalog.[1][2]

Can I keep calling it by switching to its fixed snapshot?

The fixed GPT Image 2 snapshot listed by OpenAI is also marked Deprecated. Switching snapshot names does not bypass retirement, and a historical vendor snapshot does not automatically create an available XiuAI alias.[1][2]

Can a replacement image model reuse all the old parameters?

Do not assume compatibility. Check whether the replacement supports generation or editing, which protocol it uses and how images and results are transferred. Evaluate representative inputs for visual details and text. Old size or quality parameters may not apply to another vendor or version.[1][2]

Related models

gemini-3.1-flash-image

Sources and updates

Specifications reference provider documentation; prices and availability come from the current XiuAI catalog. Specifications checked: 2026-11-11

Content reviewed: 2026-11-16

[1] OpenAI GPT Image 2 documentation and deprecation status[2] Current XiuAI model and pricing data