APIMaster.ai

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.

Input
Reference images (multiple)
JPEG / PNG / WebP (max 10MB) · Up to 16 reference images
Output
Your result will appear here.
Select model
73
gpt-image-2

Provider 73

1K
$0.025/image$0.2590% off

Fingerprint history

No detection data

Uptime

No detection data

102
gpt-image-2

Provider 102

1K
$0.0325/image$0.2587% off

Fingerprint history

No detection data

Uptime

No detection data

81
gpt-image-2

Provider 81

1K
$0.05/image$0.2580% off

Fingerprint history

No detection data

Uptime

No detection data

59
gpt-image-2

Provider 59

Official
1K
$0.2/image$0.2520% off

Fingerprint history

No detection data

Uptime

No detection data

149
gpt-image-2

Provider 149

Official
1K
$0.25/image

Fingerprint history

No detection data

Uptime

No detection data

Transparent per-image pricing — pay only for the images you generate.

GPT Image API — Pricing

ModelResolutionOur priceOfficialSave
1K$0.025/ img$0.25/ img90%
2K$0.039/ img$0.3/ img87%
4K$0.078/ img$0.6/ img87%
1K$0.025/ img$0.25/ img90%
2K$0.039/ img$0.3/ img87%
4K$0.078/ img$0.6/ img87%
1K$0.025/ img$0.25/ img90%
2K$0.039/ img$0.3/ img87%
4K$0.078/ img$0.6/ img87%
1K$0.025/ img$0.25/ img90%
2K$0.039/ img$0.3/ img87%
4K$0.078/ img$0.6/ img87%
1K$0.025/ img$0.25/ img90%
2K$0.039/ img$0.3/ img87%
4K$0.078/ img$0.6/ img87%

Capabilities

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.

Use cases

Marketing & social visualsProduct imageryThumbnails & bannersConcept artBatch image pipelines

Quick start

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-2.5 API: Flare & Sunburst

GPT Image API — Frequently asked questions

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.

Other models

How to Get Started

01

Top Up Your Balance

Add credits via USDT or Epay. One balance works across all models and providers.

Top Up Now
02

Create Your API Key

Sign up and create an OpenAI-compatible API key in 3 seconds. No credit card required.

Create API Key
03

Plug Into Your Code or Agent

Swap in your APIMaster key and base URL — works with any OpenAI-compatible tool: Claude Code, Cursor, LangChain, LiteLLM, and more.

View Docs