import { Images } from "https://deno.land/x/openai@v4.19.0/resources/mod.ts";
import { Images } from "https://deno.land/x/openai@v4.19.0/resources/mod.ts";
Methods
createVariation(body: ImageCreateVariationParams, options?: Core.RequestOptions): Core.APIPromise<ImagesResponse>
Creates a variation of a given image.
edit(body: ImageEditParams, options?: Core.RequestOptions): Core.APIPromise<ImagesResponse>
Creates an edited or extended image given an original image and a prompt.
generate(body: ImageGenerateParams, options?: Core.RequestOptions): Core.APIPromise<ImagesResponse>
Creates an image given a prompt.