Image generation and editing
GPT Image 2.5 Flare
GPT Image 2.5 Flare generates images from text and image inputs, optimized for fast, high-quality everyday image generation.
1024 × 1024 · Low quality · One PNG output
Estimate rates per million tokens
- Text input
- $5.25
- Image input
- $8.40
- Image output
- $31.50
Includes the 5% MiniRouter fee. The final charge uses the provider’s actual cost and stays within your reserved hold. MiniRouter absorbs any overrun.
Estimate your credit hold
Credit is reserved before the request. The final charge may be lower.
Up to 32,000 characters.
Estimated hold
2× the total estimated cost, including the 5% fee. Your charge stays within this hold; unused credit is released.
Estimate only; nothing is sent. Includes text, and one low-quality PNG output.
Use the Images API
Set MINIROUTER_API_KEY to your inference key. Select an operation and copy the example.
curl --fail-with-body --retry 0 --max-time 120 \
'https://api.minirouter.sh/v1/images/generations' \
-H "Authorization: Bearer $MINIROUTER_API_KEY" \
-D response.headers --output response.json \
-H 'Content-Type: application/json' \
--data '{
"model": "openai/gpt-image-2.5-flare",
"prompt": "A blue circle on a white background.",
"quality": "low",
"size": "1024x1024",
"output_format": "png",
"n": 1
}'Keep the request ID. The image response can arrive before its final charge. Check Activity for the settled cost. A failed or disconnected request may still incur a cost; these examples disable automatic retries.
Supported operations
- Generate from a prompt
- POST /v1/images/generations
- Send JSON with explicit low quality and 1024×1024 size. The response contains a base64 PNG.
- Edit an image
- POST /v1/images/edits
- Send one 1024×1024 PNG and a prompt as multipart form data. You can include a PNG mask with matching dimensions.