import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Creates a variation of a given image.
Parameters
image: string | BlobPart
The image(or image path) to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.
optional
params: CreateImageParamsOptional parameters for the API.
Returns
Promise<CreateImageResponse>
URLs(or base64 encoded) of the generated images.