GPT Image (OpenAI) API

OpenAI's GPT Image 2 — photorealistic generation with sharp text rendering

image by OpenAI · 22 variants available
Get API key Try in Playground
Starting price
$0.0280
per image · gpt image 1.5, text-to-image, medium
Pay-as-you-go · No subscription · $10 minimum top-up · One API key for 22 variants + 501 models in total
Full GPT Image (OpenAI) price list and cost examples →

Overview

GPT Image 2 is OpenAI's next-generation image model built for photorealism, clean editing, and sharp text rendering. Access through AI Generate with pay-per-image billing.

All 22 GPT Image (OpenAI) variants & pricing

Every variant is accessible via the same API endpoint. Switch variants by changing the model parameter. No extra setup.

Variant Credits Price USD Unit
gpt image 1.5, text-to-image, medium 4.00 $0.0280 per image Details →
gpt image 1.5, image-to-image, medium 4.00 $0.0280 per image Details →
gpt-image-2-5-flare, text-to-image, 1K 6.00 $0.0420 per image Details →
gpt image 2, image-to-image, 1k 6.00 $0.0420 per image Details →
gpt-image-2-5-sunburst, image-to-image, 1K 6.00 $0.0420 per image Details →
gpt image 2, text-to-image, 1k 6.00 $0.0420 per image Details →
gpt-image-2-5-flare, image-to-image, 1K 6.00 $0.0420 per image Details →
gpt-image-2-5-sunburst, text-to-image, 1K 6.00 $0.0420 per image Details →
gpt image 2, text-to-image, 2k 10.00 $0.0700 per image Details →
gpt-image-2-5-flare, image-to-image, 2K 10.00 $0.0700 per image Details →
gpt-image-2-5-sunburst, text-to-image, 2K 10.00 $0.0700 per image Details →
gpt-image-2-5-sunburst, image-to-image, 2K 10.00 $0.0700 per image Details →
gpt-image-2-5-flare, text-to-image, 2K 10.00 $0.0700 per image Details →
gpt image 2, image-to-image, 2k 10.00 $0.0700 per image Details →
gpt-image-2-5-sunburst, image-to-image, 4K 16.00 $0.1120 per image Details →
gpt-image-2-5-flare, image-to-image, 4K 16.00 $0.1120 per image Details →
gpt-image-2-5-flare, text-to-image, 4K 16.00 $0.1120 per image Details →
gpt-image-2-5-sunburst, text-to-image, 4K 16.00 $0.1120 per image Details →
gpt image 2, text-to-image, 4k 16.00 $0.1120 per image Details →
gpt image 2, image-to-image, 4k 16.00 $0.1120 per image Details →
gpt image 1.5, text-to-image, high 22.00 $0.1540 per image Details →
gpt image 1.5, image-to-image, high 22.00 $0.1540 per image Details →

Use GPT Image (OpenAI) via API

Example call with the default variant. Replace model with any slug from the table above.

curl https://aimarcusimage.eu/api/v1/jobs/createTask \
  -H "Authorization: Bearer sk-aig-..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai-gpt-image-1-5-text-to-image-medium",
  "input": {
    "prompt": "a red fox sitting in snow, golden hour, photographic"
  }
}'

FAQ

How much does GPT Image (OpenAI) cost?

Pricing starts at $0.0280 per image for the most affordable variant. You pay per call from your credit balance — no monthly subscription, no minimum commitment. Starter top-up is $10 → 1,430 credits.

Is this an official OpenAI API?

AI Generate is an AI model aggregator that routes calls to OpenAI's upstream API. You get the exact same model outputs with simpler billing (pay per call, no contracts), one API key for 501 models, and the same create-task request shape across all providers.

Can I use GPT Image (OpenAI) in production?

Yes. Each API key is rate-limited to 20 requests per 10 seconds. Results are asynchronous: poll /api/v1/jobs/recordInfo with the taskId, or pass a callBackUrl in the create-task body to receive a POST when the task finishes. Daily and monthly spend caps in dashboard settings stop runaway usage.

Which GPT Image (OpenAI) variant should I pick?

For first tests, start with the cheapest variant (lowest "Price USD" in the table above). Upgrade to higher-resolution or "Quality" tiers only when you have validated prompts. The Playground runs the most popular models from your browser; every variant in the table is available through the API at the price shown.

Nano Banana
Google's fast, high-quality image generation and editing model
Flux
Flux.1 and Flux Kontext — professional-grade open-source image models
Ideogram
Ideogram — best-in-class AI image model for text rendering and typography
Qwen (Alibaba)
Alibaba's Qwen Image — unified image generation and editing
Recraft
Recraft — AI image model for vector graphics, logos, and brand-consistent design