Skip to main content
GPT Image 2

GPT Image 2

OpenAI's state-of-the-art image generation model for high-quality creation and editing with text and image inputs.

Image GenerationImage EditingState of the Art

Input Types

Text + image

Generate or edit from either input type

Output

Image

Fast, high-quality visual output

Streaming

Not supported

Image jobs return completed outputs

Model Snapshot

gpt-image-2

Default alias

Model Codegpt-image-2

Playground

gpt-image-2
Reference Images0/14

Click or drag

Resolution (sent to backend)

Aspect Ratio (sent to backend)

Quality (sent to backend)

Output format (sent to backend)

No output yet

Pricing

ModalityInputCached InputOutput
Text$45.9$5 / 1M tokens10% off$1.1259$1.25 / 1M tokens10% off-
Image$72.9$8 / 1M tokens10% off$18.9$2 / 1M tokens10% off$270.9$30 / 1M tokens10% off

Text Input · $4.5 · 1M tokens

Text Cached · $1.125 · 1M tokens

Image Input · $7.2 · 1M tokens

Image Cached · $1.8 · 1M tokens

Image Output · $27 · 1M tokens

README

GPT Image 2 is OpenAI's latest image model, designed for fast, high-quality image generation and editing with flexible sizes, strong instruction following, and high-fidelity image input support.
  • OpenAI describes GPT Image 2 as its state-of-the-art image generation model for fast, high-quality generation and editing.
  • The model supports text and image inputs, image outputs, flexible image sizes, and high-fidelity image inputs for editing workflows.
  • OpenAI's image guide positions GPT Image 2 as the current recommended model for production image generation and editing use cases.

API

Use the API docs for request format, parameters, and integration details.

OpenAI's state-of-the-art image generation model for high-quality creation and editing with text and image inputs.

Model Code

gpt-image-2

View API Docs

API

Endpoint

POST /v1/images/generations

Authentication

Authorization: Bearer YOUR_REACH_API_KEY

Example

curl -X POST "https://direct.reachapi.ai/v1/images/generations" \
  -H "Authorization: Bearer YOUR_REACH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A precise editorial product shot of a cobalt blue mechanical keyboard on a slate desk"
  }'