An additional image whose fully transparent areas indicate where the image should be edited. Must be a valid PNG file with the same dimensions as the original image.
from openai import OpenAIclient = OpenAI( api_key="sk-voidai-your_key_here", base_url="https://api.voidai.app/v1")response = client.images.edit( model="dall-e-2", image=open("original.png", "rb"), mask=open("mask.png", "rb"), prompt="A sunlit indoor lounge area with a pool containing a flamingo", n=1, size="1024x1024")print(response.data[0].url)