Text to image
Elo · text-to-image arena
Custom pricing for production workloads
GPT Image 1 Mini is a compact image generation model offering faster and more affordable image creation.
GPT Image 1 Mini transforms text prompts and optional image inputs into high-quality images, allowing precise control over generation parameters such as resolution, quality settings, and artistic style.
openai/gpt-image-1-miniPOST https://api.aimlapi.com/v1/images/generationsGPT Image 1 Mini is an optimized, cost-efficient version of the GPT Image 1 model designed for fast, high-quality image generation from text prompts. It produces photorealistic or illustrative images at high resolution and is ideal for large-scale image generation tasks such as mass previews, UI icons, and teaser visuals.
n (number of images generated per prompt)size (image resolution control)quality (low, medium, high balancing speed, cost, and fidelity)style (adjusts image stylistic preferences)vs DALL·E 3: GPT-Image-1-Mini excels in cost efficiency and speed, optimized for bulk generation, while DALL·E 3 delivers superior creativity and artistry with complex prompt fidelity. GPT-Image-1-Mini supports inpainting and style matching, whereas DALL·E 3 focuses on highly accurate text following and visual storytelling.
vs Imagen 3: Imagen 3 leads in hyperrealistic detail and lighting effects, often outperforming on photorealism benchmarks, but GPT-Image-1-Mini offers faster responses and better text rendering within images. GPT-Image-1-Mini provides more flexible style control and efficient bulk generation at lower cost.
vs Midjourney: Midjourney specializes in creative, visually stunning artwork with strong stylistic flair, often preferred for unique illustrations. GPT-Image-1-Mini trades some artistic nuance for faster, cost-effective generation, making it ideal for pragmatic, high-volume use cases like previews and UI assets.
Human-preference results for GPT Image 1 Mini in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.
Elo · text-to-image arena
Arena results for models you can call with the same API key.
Blind pairwise human votes on images generated from text prompts. GPT Image 1 Mini ranks #66 of 98.
| Usage | Price | Unit |
|---|---|---|
| Input | $2 | 1M tokens |
| Output | $8 | 1M tokens |
| Cached input | $0.2 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $2 | $8 | |
| $5 | $30 | |
| $5 | $30 | |
| $5 | $30 | |
| $5 | $32 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-image-1-mini",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "openai/gpt-image-1-mini",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "openai/gpt-image-1-mini",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());GPT Image 1 Mini takes image, text as input and returns image.
GPT Image 1 Mini costs $2 input and $8 output per 1M tokens on AI/ML API, billed as you go with no subscription.
GPT Image 1 Mini is billed per token, charged separately for input and output.
Yes, GPT Image 1 Mini accepts image input as well as a text prompt.
GPT Image 1 Mini was built by OpenAI.
Send a request to https://api.aimlapi.com/v1/images/generations with openai/gpt-image-1-mini as the model id.
Yes. GPT Image 1 Mini is served through AI/ML API, so the same key and endpoint format used for other models applies.
It generates images from text prompts, functioning as a text-to-image model.
Use openai/gpt-image-1-mini as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.