GPT Image 1 is OpenAI's dedicated image generation and editing model, released 2026-06. It renders text accurately, supports transparent backgrounds, and can incorporate up to 16 reference images when editing.
Modalities
inTextinImageoutImage
Price / 1M−32%
$1.50 / $12.00$10.00 / $10.00
Context
400K
Released
Jun 24, 2026
Channels
Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.
Provider
Discount
Input /M
Output /M
Cache read /M
Cache write 5m /M
Cache write 1h /M
Codexcheap
−32%
$1.50
$12.00
$0.38
—
—
Defaultstable
+57%
$3.50
$28.00
$0.88
—
—
Capabilities
VisionLong contextPrompt cachingStructured output
Parameters
Request parameters this model accepts through the API.
max_tokensresponse_formatseedstructured_outputs
Quick start
POST /v1/images/generations/import os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) img = client.images.generate( model="gpt-image-1", prompt="A red bicycle leaning on a white wall", n=1, size="1024x1024", ) # img.data[0].b64_json — or .url, depending on the model
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const img = await client.images.generate({ model: "gpt-image-1", prompt: "A red bicycle leaning on a white wall", n: 1, size: "1024x1024", });
curl https://api.mirapi.ai/v1/images/generations/ \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-image-1", "prompt": "A red bicycle leaning on a white wall", "n": 1, "size": "1024x1024" }'
Links
Wire GPT Image 1 into your product
Start free1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.