Models / Images / OpenAI

GPT Image 2 API

GPT Image 2 API: $0.024 to $0.401 per image, prepaid, no subscription. OpenAI's image model on one key; a failed generation is not charged.

gpt-image-2Imagesper image

Price · per image, USD

Get a key
SettingsUplinkSwitch
quality low, resolution 1K$0.024
quality low, resolution 2K$0.036
quality low, resolution 4K$0.066
quality medium, resolution 1K$0.053
quality medium, resolution 2K$0.056
quality medium, resolution 4K$0.101
quality high, resolution 1K$0.211
quality high, resolution 2K$0.222
quality high, resolution 4K$0.401
Charged when the request is accepted; refunded in full if the generation fails.

Sample · 2026-10-23, 1K · low quality

GPT Image 2 output for the prompt shown

GPT Image 2

2026-10-2301 / 01
Prompt
A red-and-white lighthouse on a rocky headland at golden hour, waves breaking below, a few gulls in the sky, natural colors, photographic

What a run costs · USD, live

The lowest-priced settings (quality low, resolution 1K) bill $0.024 per image; the highest-priced (quality high, resolution 4K) $0.401.

RunAt $0.024 per imageAt $0.401 per image
One image$0.024$0.401
10 images$0.24$4.01
100 images$2.40$40.10

Compare · per image, live

GPT Image 2 from $0.024 per image; GPT Image 2.5 Flare from $0.0262; GPT Image 2.5 Sunburst from $0.0262. Side by side: GPT Image 2 vs Nano Banana 2.

Call it · POST /v1/images/generations or POST /v1/images/edits or POST /v1/generations

Python, OpenAI SDK
from openai import OpenAI

client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
result = client.images.generate(
    model="gpt-image-2",
    prompt="A red paper boat on a calm blue pond, morning light",
)
print(result.data[0].url)
curl
curl https://api.uplinkswitch.com/v1/images/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2",
  "prompt": "A red paper boat on a calm blue pond, morning light"
}'

# the image URL is in data[0].url

POST /v1/images/generations answers like OpenAI's image API, with the image URL in data[0].url, on our domain. Past about 100 seconds it answers 504 with a generation id to poll on GET /v1/generations/{id}.

Settings · in input

NameTypeValuesDefault
prompt requiredstring——
qualitystringlow, medium, highlow
image_urlsurls——
sizestring—auto
resolutionstring1K, 2K, 4K1K

Questions

From $0.024 per image. The price depends on the settings in the table and is fixed when the request is accepted.

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. Send it as the bearer token to /v1/images/generations with model gpt-image-2; the same key calls every other model in the catalog.

No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.

It is refunded in full, automatically. You pay only for files you receive.

Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.

Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.
Join on Telegram
Help