OpenAI

OpenAI: gpt-image-2

gpt-image-2

GPT-Image-2 is OpenAI's next-generation image generation and editing model, improving image quality, instruction following, text rendering, and iterative editing.

Provider: OpenAIInput types
Output typesPublish Time: None
Group price
Price information for different user groups
Auto Group routing default
GroupBilling typeInput PriceOutput Price
default
Pay as you go
$4.0000 / M tokens$8.0000 / M tokens
$15.0000 / M tokens$30.0000 / M tokens
Provider
OpenAI
Pricing$4.0000 / M tokens
Input video-
Input audio-
Web Search-
Cache pricing-
Context window-
Max output-
Latency397 ms
Throughput170 TPS
Availability97.50%
Image output
Create an image
Enter a prompt and generate
API call example
Connect quickly using the standard OpenAI-compatible API
Python
1import openai
2
3client = openai.OpenAI(
4 api_key="<YOUR_API_KEY>",
5 base_url="http://localhost:3000/v1"
6)
7
8response = client.chat.completions.create(
9 model="gpt-image-2",
10 messages=[
11 {"role": "user", "content": "What model are you?"}
12 ]
13)
14
15print(response.choices[0].message.content)

Average response in 5 minutes

Service Hours:10:30-23:30
WhatsApp

Scan to join

WhatsApp QR

Scan to add WhatsApp support for instant assistance.

Scan to add our support team for onboarding, billing, and integration assistance.