docs
models / OpenAI / GPT Image 2

GPT Image 2

imageopenai/gpt-image-2ZDR supported

OpenAI's next-generation image model that creates and edits images from text prompts, with support for multiple quality levels, sizes, and output formats. Note: transparent backgrounds are not supported — use openai/gpt-image-1.5 for transparent PNGs.

$30.00list priceper 1M output image tokens
pricing
unitlist → Elite price
per 1M cached input image tokens$2.00
per 1M cached input tokens$1.25
per 1M input image tokens$8.00
per 1M input tokens$5.00
per 1M output image tokens$30.00
per 1M output tokens$10.00

No Elite discount on this model right now: everyone pays the list price.

Everyone pays the list price. Reaching Elite (hold or stake 1,337 $XAVA, or hold 1,337,000 $XINF) unlocks the Elite price and a bigger buyback of your token. How it works

curl
curl https://www.zinf.ai/v1/images/generations \
  -H "Authorization: Bearer $XINF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-image-2","prompt":"a pixel-art rocket","size":"1024x1024"}'
limits
providerOpenAI
typeimage
context window—
max output—
prompt storagenone
provider retentionnone ZDR supported
livesoon
requests 24h—
p50 latency—
uptime 7d—