OpenAI's latest image generation and editing model with a reasoning thinking mode achieving 99%+ text rendering accuracy, supporting up to 2K resolution, flexible aspect ratios, and multilingual text, deeply integrated into ChatGPT and API.
OpenAI
GPT-Image-2 is OpenAI's flagship API model for image generation and editing. It accepts text prompts and high-fidelity image inputs and produces images. OpenAI provides the rolling gpt-image-2 alias and the pinned gpt-image-2-2026-04-21 snapshot; the official documentation does not separately disclose an exact initial launch date, parameter count, or underlying architecture. Developers can use the Image API for direct generation and editing or invoke image generation inside conversational, multi-step Responses API workflows.
Compared with earlier GPT Image models, GPT-Image-2 focuses on stronger instruction following, flexible output dimensions, and automatic high-fidelity handling of reference images. It supports generation from scratch, single- or multi-image composition, masked local edits, and iterative editing. The longest edge can reach 3,840 pixels with a maximum of 8,294,400 total pixels, and quality can be set to low, medium, high, or auto. Outputs can use PNG, JPEG, or WebP with compression controls and preview transparent backgrounds, although OpenAI marks images above 2560×1440 pixels as experimental.
| Feature | Benefit |
|---|---|
| Automatic High-Fidelity Inputs | Processes all reference images at high fidelity without an input_fidelity setting, helping preserve faces, products, and design details. |
| Flexible Resolution System | Supports custom sizes that meet edge, aspect-ratio, and pixel-count constraints, reducing composition loss from post-generation cropping or reformatting. |
| Unified Generation and Editing | Covers original creation, reference-based transformation, multi-image composition, and local edits in one model and workflow. |
| Conversational Visual Iteration | Responses API context enables multi-turn editing, making clarification and incremental refinement closer to a real design collaboration. |
| Progressive Result Preview | The Image and Responses APIs can stream up to three partial images, reducing uncertainty during generation in interactive products. |
| Configurable Output Controls | Size, quality, format, compression, and background settings let developers trade off fidelity, file size, latency, and delivery requirements. |
Output tokens are calculated from the quality grid, aspect ratio, and total pixel area. Estimated cost equals output tokens multiplied by the price per 1 million output tokens.
| Output specification | Resolution | Our pricing | Official |
|---|---|---|---|
| Low | 1024 × 1024 | $0.00441 / image | $0.00588 / image |
| Low | 1024 × 1536 | $0.003555 / image | $0.00474 / image |
| Low | 1536 × 1024 | $0.003555 / image | $0.00474 / image |
| Medium | 1024 × 1024 | $0.03951 / image | $0.05268 / image |
| Medium | 1024 × 1536 | $0.03087 / image | $0.04116 / image |
| Medium | 1536 × 1024 | $0.03087 / image | $0.04116 / image |
| High | 1024 × 1024 | $0.15804 / image | $0.21072 / image |
| High | 1024 × 1536 | $0.12348 / image | $0.16464 / image |
| High | 1536 × 1024 | $0.12348 / image | $0.16464 / image |