GPT Image 2 API
−41% vs list rateOpenAI's image model with best-in-class prompt following
gpt-image-2Commercial useSynchronousImage inputText renderingimageLive price on TokPort: $0.10 per imageAbout GPT Image 2
GPT Image 2 is OpenAI's image generation model, delivering exceptional prompt adherence, accurate in-image text and native editing via image reference. Ideal when the image must match a complex instruction exactly — diagrams, UI mockups, posters and infographics.
- Best-in-class prompt adherence
- Accurate in-image typography
- Image reference / editing support
- Same OpenAI images API you already know
Specifications
- Max resolution
- 2048 × 2048
- Typical latency
- 50–90 s
- Billing unit
- per generated image
- Input
- text · image reference
- Model id
- gpt-image-2
Quick start
Full API reference →One synchronous request against the standard OpenAI images endpoint:
curl https://api.tokport.io/v1/images/generations \
-H "Authorization: Bearer $TOKPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2","prompt":"a neon koi swimming through clouds, cinematic lighting","size":"1024x1024","n":1}'GPT Image 2 FAQ
How much does GPT Image 2 cost per image?
TokPort charges $0.10 per image for GPT Image 2. The indicative first-party API list rate is about $0.17 per image — roughly 41% less. Check the live pricing page for current rates.
Is GPT Image 2 available via an OpenAI-compatible API?
Yes. Generate images with a standard POST /v1/images/generations request and model "gpt-image-2". The official OpenAI SDKs work unchanged — just point them at our base URL.
What is GPT Image 2 best at?
GPT Image 2 is OpenAI's image generation model, delivering exceptional prompt adherence, accurate in-image text and native editing via image reference. Ideal when the image must match a complex instruction exactly — diagrams, UI mockups, posters and infographics. It is strongest for prompt adherence, text in image, instruction edits.