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