Edit images using inpainting. Supports DALL-E 2 and GPT Image 1. Upload an image and optionally a mask to indicate which areas to regenerate based on the prompt.
The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.