Creates an edited or extended image given an original image and a prompt.
Required
Choose file
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.
Required
A text description of the desired image(s). The maximum length is 1000 characters.
Optional
The model to use for image generation. Only dall-e-2 is supported at this time.
Optional
The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.
Optional
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.