Skip to main content

Image editing

As with image-to-image generation, supply an image and a text prompt describing the edit:
To pass multiple images, use an array of strings:

Form uploads

To edit a local image, upload it as multipart/form-data form data:
To upload multiple images in a form:
For image editing parameters, see the image editing API reference.