Aurixel
Models/OpenAI/gpt-image-2
OpenAI

GPT Image 2

TextImage generation
Context
272K
Input
$8
/M tokens
Output
$15
/M tokens

GPT Image 2 is OpenAI's image generation model, pairing high-fidelity image output with strong prompt adherence and in-context editing.

Quick start

How to call

POST /v1/images/generations
bash
curl https://conduit-api.aurixel.ai/v1/images/generations \
  -H "Authorization: Bearer ck-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2","prompt":"a red apple on a wooden table","size":"1536x1024","quality":"high","output_format":"jpeg","n":1}'

→ Returns data[0].b64_json (base64 image, no URL). size sets the aspect ratio (landscape / portrait / square); quality is high or low; output_format is png or jpeg.

Auth, billing & streaming → Quickstart

More from OpenAI