import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Creates an edited or extended image given an original image and a prompt.
Parameters
image: string | BlobPart
The image(or image path) 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.
optional
params: CreateImageEditParamsOptional parameters for the API.
Returns
Promise<CreateImageResponse>
URLs(or base64 encoded) of edited images.