Skip to content
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 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

Everyone pays the list price. What comes back grows with your Reward Status: Noob 0.5% of every spend buys back $INFX, Pro (hold 1,337 $INFX) 2%, Elite (also hold 1,337 $XAVA) 5%. How it works

curl
curl https://xavainf.com/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—