Skip to main content
POST
Image Edits

Introduction

POST /v1/images/edits is the OpenAI-compatible image editing endpoint. Supported models include:
  • Qwen: qwen-image-edit-plus — see Qwen Image
  • GPT-Image-2: JSON or multipart/form-data
Text-to-image uses POST /v1/images/generations. GPT-Image-2 can also use generations with an image field — see GPT-Image-2.

Authentication

string
required
Bearer Token, e.g. Bearer sk-xxxxxxxxxx

Request examples

See Image generation for model-specific details.