import { Images } from "https://deno.land/x/openai@v4.33.1/resources/images.ts";
class Images
extends APIResource
import { Images } from "https://deno.land/x/openai@v4.33.1/resources/images.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.