Theme
Language
Images

GPT Image 2 API — how to connect and pay

GPT Image 2 — image generation and editing. Text-to-image and image-to-image (edit/restoration).

Channel comparison

last 7 days

Channel
Yellowgpt-image-2:yellowcheapest
Price
from $0.008242 per image
Channel
Whitegpt-image-2:whitedefault
Price
from $0.011333 per image
Channel
Pixelgpt-image-2
Price
from $0.011333 per image

Build the result you need

gpt-image-2:white
Resolution
Mode
Input: Text, ImageSome modes require you to attach: source image

What is GPT Image 2

GPT Image 2 — image generation and editing. Text-to-image and image-to-image (edit/restoration).

Contract at a glance

Input
text, image
Output
image
Mode
async (job + polling)
Status polling
every 3 s · up to 90 s

Strengths

  • Pricing: per image
  • Inputs: text, image
  • 5 configurable options
  • One API key for media generation

Where it is used

  • Article and social media illustrations
  • Product images
  • Banners and covers
  • Design prototypes

Price of GPT Image 2

The cost of GPT Image 2: from $0.011333 per image. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.

What a default request costs

With no parameters sent, the request uses these values: Resolution — 1K, Mode — Generate (text → image), Frame format — 1:1. That request costs $0.011333.

Channels and prices for every parameter combination

For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.

Whitegpt-image-2:whitefrom $0.011333exact prices
Resolution1K2K4K
White$0.011333$0.018667$0.028
Pixelgpt-image-2from $0.011333exact prices
Resolution1K2K4K
Pixel$0.011333$0.018667$0.028

Every combination as JSON: /api/media/price-table?model=gpt-image-2

Yellowgpt-image-2:yellowfrom $0.008242exact prices
Aspect ratio · Mode \ Resolution1K2K4K
1:1 · Generate (text → image)$0.008242$0.019231—
16:9 · Generate (text → image)——$0.019231
9:16 · Generate (text → image)——$0.019231

FAQ about the GPT Image 2 API

How much does GPT Image 2 cost?

The price of GPT Image 2: from $0.011333 per image. The price is calculated dynamically at the current exchange rate.

Is it compatible with the OpenAI SDK?

Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.

Connect GPT Image 2 right now

Sign up in a minute, pay per use, ready-made code above.

Get API key