OpenAI: GPT Image 1: Mini · fastrouter
OpenAI's gpt-image-1-mini is a natively multimodal image model optimized for affordability and efficiency, making it suitable for projects that need high-throughput AI image generation at a lower cost. This model is designed to handle both text and image inputs and can generate new images, perform targeted image editing (like inpainting), and use reference images for style or content guidance.
Entrée, $/1M $2.50
Sortie, $/1M $8.00
Lecture cache $0.25
Écriture cache —
Contexte 128 000
Sortie max. 4 096
Accepte texte
Dernière vérification 04.11.2026 12:00:14 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://go.fastrouter.ai/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-image-1-mini", "prompt": "a lighthouse at sunset", "n": 1, "size": "1024x1024"}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/images/generations",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "openai/gpt-image-1-mini",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/images/generations", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "openai/gpt-image-1-mini",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}),
});
console.log(await r.json());Requête (JSON)
{
"model": "openai/gpt-image-1-mini",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}Réponse (JSON)
{
"created": 1760000000,
"data": [
{
"url": "https://...",
"b64_json": null
}
]
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Afastrouter%7Copenai/gpt-image-1-mini, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/openai/gpt-image-1-mini
Détails techniques
ID: offer:fastrouter|openai/gpt-image-1-mini