GPT Image API
GPT Image 2, GPT Image 2.5 and 2.6 Flare / Sunburst — text-to-image and image editing, billed per image.
Access GPT Image 2, GPT Image 2.5 and 2.6 Flare / Sunburst through APIMaster's OpenAI-compatible images endpoint. Generate from a prompt or edit reference images with independent per-model pricing. Use synchronous requests or asynchronous task polling. Select 1K, 2K or 4K; each resolution routes to a provider that supports it.
Fournisseur 73
Historique des empreintes
Aucune donnée de détection
Disponibilité
Aucune donnée de détection
Fournisseur 102
Historique des empreintes
Aucune donnée de détection
Disponibilité
Aucune donnée de détection
Fournisseur 81
Historique des empreintes
Aucune donnée de détection
Disponibilité
Aucune donnée de détection
Fournisseur 59
OfficielHistorique des empreintes
Aucune donnée de détection
Disponibilité
Aucune donnée de détection
Fournisseur 149
OfficielHistorique des empreintes
Aucune donnée de détection
Disponibilité
Aucune donnée de détection
Transparent per-image pricing — pay only for the images you generate.
GPT Image API — Tarification
| Modèle | Résolution | Notre prix | Officiel | Économisez |
|---|---|---|---|---|
| 1K | $0.025/ img | $0.25/ img | 90% | |
| 2K | $0.039/ img | $0.3/ img | 87% | |
| 4K | $0.078/ img | $0.6/ img | 87% | |
| 1K | $0.025/ img | $0.25/ img | 90% | |
| 2K | $0.039/ img | $0.3/ img | 87% | |
| 4K | $0.078/ img | $0.6/ img | 87% | |
| 1K | $0.025/ img | $0.25/ img | 90% | |
| 2K | $0.039/ img | $0.3/ img | 87% | |
| 4K | $0.078/ img | $0.6/ img | 87% | |
| 1K | $0.025/ img | $0.25/ img | 90% | |
| 2K | $0.039/ img | $0.3/ img | 87% | |
| 4K | $0.078/ img | $0.6/ img | 87% | |
| 1K | $0.025/ img | $0.25/ img | 90% | |
| 2K | $0.039/ img | $0.3/ img | 87% | |
| 4K | $0.078/ img | $0.6/ img | 87% |
Capacités
High-quality images
Detailed text-to-image generation with strong prompt following.
Sync or async
Instant sync calls, or async submit + poll for batch jobs.
Per-image billing
Pay per image generated — no subscription.
Cas d'usage
Démarrage rapide
curl https://apimaster.ai/v1/images/generations \
-H "Authorization: Bearer $APIMASTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "An orange cat at sunset, watercolor",
"size": "1:1",
"resolution": "1k",
"n": 1
}'GPT Image API — Questions fréquentes
Which image models are available?
Currently available: gpt-image-2, gpt-image-2.5-sunburst, gpt-image-2.5-flare, gpt-image-2.6-flare, gpt-image-2.6-sunburst — billed per image.
Which endpoint do I call?
The OpenAI-compatible images endpoint (POST /v1/images/generations) — not /chat/completions. See Quick start below.
Sync or async?
Use sync for one-off images (returns the result directly) or async submit + poll for batch pipelines.
How do 1K, 2K and 4K routing work?
Choose a resolution in the playground or send resolution: 1k, 2k or 4k with size: 1:1 (or another supported aspect ratio). Prices and available routes follow the selected tier. Providers limited to 1K are excluded from 2K/4K requests. If no matching provider is available, the request fails without generating or charging for a lower-resolution image.
How is it billed?
Per image generated, pay-as-you-go from $1.
Is my data safe?
Yes. Your API data is not stored or used for training, and all requests are sent over encrypted connections.
Autres modèles
Comment démarrer
Rechargez votre solde
Ajoutez des crédits via USDT ou Epay. Un seul solde fonctionne sur tous les modèles et fournisseurs.
Recharger maintenantCréez votre clé API
Inscrivez-vous et créez une clé API compatible OpenAI en 3 secondes. Aucune carte de crédit requise.
Créer une clé APIIntégrez dans votre code ou agent
Remplacez par votre clé APIMaster et l'URL de base — fonctionne avec tout outil compatible OpenAI : Claude Code, Cursor, LangChain, LiteLLM, etc.
Voir la documentation