Back to Models

GPT Image 1

openaiopenai/gpt-image-1

How TheRouter serves this differently from the vendor

As the vendor operates it

OpenAI serves direct gpt-image-1 calls on /v1/images/generations and /v1/images/edits, and its model page also lists /v1/responses support for the model ID.

On TheRouter

TheRouter exposes image generation and image edit for openai/gpt-image-1 under https://api.therouter.ai/v1. Use the OpenAI SDK shape with TheRouter baseURL, API key, and routed model slug; do not assume chat/completions works for this image model.

Media Generation Capabilities

image_generation
sizes
  • 1024x1024
  • 1024x1536
  • 1536x1024
qualities
  • low
  • medium
  • high
max_outputs_per_request
4
output_formats
  • png
  • jpeg
  • webp
defaults
size
1024x1024
quality
medium
image_edit
sizes
  • 1024x1024
  • 1024x1536
  • 1536x1024
qualities
  • low
  • medium
  • high
max_reference_images
4
output_formats
  • png
  • jpeg
  • webp
defaults
size
1024x1024
quality
medium

API guide

Image generation

Generate images from text prompts using the standard OpenAI Images API. Supports quality tiers, output format selection, transparent backgrounds, and batch generation.

cURL
curl https://api.therouter.ai/v1/images/generations \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-image-1",
    "prompt": "A serene mountain landscape at sunset, photorealistic style",
    "n": 1,
    "size": "1024x1024",
    "quality": "medium",
    "output_format": "png"
  }'

Image editing & inpainting

Edit existing images using text prompts, masks, or style transformations. Supports up to 16 input images, image-to-image generation, and masked inpainting.

cURL
curl https://api.therouter.ai/v1/images/edits \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -F "model=openai/gpt-image-1" \
  -F "image=@input.png" \
  -F "prompt=Replace the sky with a starry night sky, keep the foreground unchanged" \
  -F "size=1024x1024"

Recent coverage

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateopenai.com β†—2026-05-29verified
Architecturedevelopers.openai.com β†—2026-08-11verified
Native output resolutionsdevelopers.openai.com β†—2026-08-11verified
Output formatsdevelopers.openai.com β†—2026-08-11verified
Background supportdevelopers.openai.com β†—2026-08-11verified
Max images per calldevelopers.openai.com β†—2026-08-11verified
Quality tiersdevelopers.openai.com β†—2026-08-11verified
Licenseβ€”β€”verified
GIE-Bencharxiv.org β†—2026-05-29verified
STRICT text-renderingarxiv.org β†—2026-05-29unknown
OpenAI launches ChatGPT Images 2.0 with gpt-image-2openai.com β†—2026-05-29verified
OpenAI releases gpt-image-1.5 with 4Γ— speed boosttechcrunch.com β†—2026-05-29verified
OpenAI brings gpt-image-1 to the APIopenai.com β†—2026-05-29verified
How is gpt-image-1 different from DALLΒ·E 3?openai.com β†—2026-05-29to verify
Is there a cheaper alternative to gpt-image-1?en.wikipedia.org β†—2026-05-29to verify
What safety features does gpt-image-1 have?openai.com β†—2026-05-29to verify
Help & contact