GPT Image 2 is OpenAI's image generation model, pairing high-fidelity image output with strong prompt adherence and in-context editing.
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