GPT Image 2 API

Image model · model id gpt-image-2

GPT Image 2 is an image-generation model available through G0I. Generate images from text prompts using the same API key and endpoint you use for every other model on the platform.

How to call GPT Image 2

G0I is OpenAI-compatible. Point your client at https://g0i.ai/v1, set the model field to gpt-image-2, and generate an image via /v1/images/generations:

curl https://g0i.ai/v1/images/generations \
  -H "Authorization: Bearer $G0I_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2","prompt":"a red apple on a table"}'

Why use GPT Image 2 through G0I

Get an API key — use GPT Image 2 now →

Browse the full model catalog, read the quickstart, or see pricing. Looking for an OpenAI API alternative or a unified AI API? G0I covers it.