OPENAI

gpt-image-2

OpenAI's GPT Image 2 model, which generates or edits images from text prompts and image inputs with flexible output sizes and high-fidelity image references. Exposed through the image generation and edit endpoints, with inpainting support.

Per-call billing

Official price vs Nbility

Per 1M tokens, read live from the gateway. Nbility shows its lowest public group.

OpenAI list price

No official per-token list price is published for this model.

Nbility · image group

0.009/call

Group prices

Every available group is listed with its effective input and output price.

Per-call billing
GroupRatioInputOutput
Base pricex1

0.01/ call

-
imagex0.9

0.009/ call

-
image-4kx15

0.15/ call

-

Quick start

Replace YOUR_API_KEY with a key from your account.

curl https://api.nbility.ai/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2","messages":[{"role":"user","content":"Hello"}]}'

Compatible endpoints

image-generationPOST /v1/images/generations
openaiPOST /v1/chat/completions
openai-editPOST /v1/images/edits

Docs for this model