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"Part of
Recent coverage
Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | openai.com β | 2026-05-29 | verified |
| Architecture | developers.openai.com β | 2026-08-11 | verified |
| Native output resolutions | developers.openai.com β | 2026-08-11 | verified |
| Output formats | developers.openai.com β | 2026-08-11 | verified |
| Background support | developers.openai.com β | 2026-08-11 | verified |
| Max images per call | developers.openai.com β | 2026-08-11 | verified |
| Quality tiers | developers.openai.com β | 2026-08-11 | verified |
| License | β | β | verified |
| GIE-Bench | arxiv.org β | 2026-05-29 | verified |
| STRICT text-rendering | arxiv.org β | 2026-05-29 | unknown |
| OpenAI launches ChatGPT Images 2.0 with gpt-image-2 | openai.com β | 2026-05-29 | verified |
| OpenAI releases gpt-image-1.5 with 4Γ speed boost | techcrunch.com β | 2026-05-29 | verified |
| OpenAI brings gpt-image-1 to the API | openai.com β | 2026-05-29 | verified |
| How is gpt-image-1 different from DALLΒ·E 3? | openai.com β | 2026-05-29 | to verify |
| Is there a cheaper alternative to gpt-image-1? | en.wikipedia.org β | 2026-05-29 | to verify |
| What safety features does gpt-image-1 have? | openai.com β | 2026-05-29 | to verify |