v39

latestOpenAPI 3.1.0raw.githubusercontent.com2025-11-2613102194.9 KB
v1
images

Edit Image

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.

post/v1/images/edits

Response

Successful Response

createdinteger required

Unix timestamp when images were created