Image model

GPT Image 2 API

Precise prompt following and editing with up to 16 input images.

GenerateEdit

Price

Generation$0.06Editing$0.07

USD per image. 100 credits = $1. See plans

Limits

  • 1K–4K
  • Quality low–high
  • Up to 16 input images

Model ID gpt-image-2

Call GPT Image 2

Send a POST /api/v1/tasks with "model": "gpt-image-2", then poll the task until the result is ready. Every model uses the same request shape, so switching models is a one-word change.

GPT Image 2 · cURL
curl -X POST "https://www.madebycue.dev/api/v1/tasks" \  -H "Authorization: Bearer cue_YOUR_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: $(uuidgen)" \  -d '{  "model": "gpt-image-2",  "prompt": "An amber glass bottle on pale stone in soft morning light.",  "aspect_ratio": "16:9"}'