openai
openai/gpt-image-2-edit/Released Apr 2026

GPT Image 2 Edit

Image-to-image editing with prompt-guided transformations and multi-reference composition.

Provider
openai
Modality
multi-to-image
Released
Apr 2026
Pricing
$0.22 / image$0.41 / image (hi-res)

Ready to build with GPT Image 2 Edit?

Sign in to grab your API key and start making requests.
bash
curl -sSf -X POST https://staging.hub.oxen.ai/api/images/edit \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "gpt-image-2-edit",
  "prompt": "Place the subject on the surface of the moon with Earth rising in the background, photorealistic, cinematic lighting.",
  "input_image": [
    "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/ox_zoom_out_1926_1076.png"
  ],
  "resolution": "1024x1024",
  "quality": "high",
  "num_images": 1,
  "output_format": "png"
}'
GPT Image 2 Edit on Oxen | Oxen.ai