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.
Provedor 73
Histórico de impressão digital
Sem dados de detecção
Uptime
Sem dados de detecção
Provedor 102
Histórico de impressão digital
Sem dados de detecção
Uptime
Sem dados de detecção
Provedor 81
Histórico de impressão digital
Sem dados de detecção
Uptime
Sem dados de detecção
Provedor 59
OficialHistórico de impressão digital
Sem dados de detecção
Uptime
Sem dados de detecção
Provedor 149
OficialHistórico de impressão digital
Sem dados de detecção
Uptime
Sem dados de detecção
Transparent per-image pricing — pay only for the images you generate.
GPT Image API — Preços
| Modelo | Resolução | Nosso preço | Oficial | Economize |
|---|---|---|---|---|
| 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% |
Capacidades
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.
Casos de uso
Início rápido
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 — Perguntas frequentes
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.
Outros modelos
Como começar
Recarregue seu saldo
Adicione créditos via USDT ou Epay. Um saldo funciona em todos os modelos e provedores.
Recarregar agoraCrie sua chave de API
Cadastre-se e crie uma chave de API compatível com OpenAI em 3 segundos. Não é necessário cartão de crédito.
Criar chave de APIConecte ao seu código ou agente
Substitua pela sua chave APIMaster e URL base — funciona com qualquer ferramenta compatível com OpenAI: Claude Code, Cursor, LangChain, LiteLLM e mais.
Ver documentos