Back to Models
GPT Image 1 Mini
openaiopenai/gpt-image-1-mini
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
API guide
Image generation
GPT Image 1 Mini uses the Images API (not chat completions). Send a POST request to /v1/images/generations with your prompt and model ID.
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-mini",
"prompt": "A serene Japanese garden in spring with cherry blossoms, digital art style",
"n": 1,
"size": "1024x1024",
"quality": "medium",
"output_format": "png"
}'Image editing
Edit an existing image by providing both an input image and a text prompt describing the changes. The model supports style transformations, object modifications, and background changes.
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-mini",
"prompt": "Transform this image into a watercolor painting",
"image": "<base64-encoded-image>",
"size": "1024x1024",
"quality": "medium"
}'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-05-29 | to verify |
| Available output resolutions | developers.openai.com β | 2026-05-29 | verified |
| Quality tiers | developers.openai.com β | 2026-05-29 | verified |
| Supported output formats | developers.openai.com β | 2026-05-29 | verified |
| Content moderation | developers.openai.com β | 2026-05-29 | verified |
| License | en.wikipedia.org β | 2026-05-29 | verified |
| Cost reduction vs GPT Image 1 | developers.openai.com β | 2026-05-29 | verified |
| Generation speed | simonwillison.net β | 2026-05-29 | to verify |
| Text rendering accuracy | community.openai.com β | 2026-05-29 | to verify |
| OpenAI launches gpt-image-1-mini at DevDay 2025 | community.openai.com β | 2026-05-29 | verified |
| How does gpt-image-1-mini compare to full gpt-image-1? | developers.openai.com β | 2026-05-29 | to verify |
| What quality settings are available and which should I use? | developers.openai.com β | 2026-05-29 | to verify |
| Can I use gpt-image-1-mini via the chat completions API? | developers.openai.com β | 2026-05-29 | to verify |