uploadImage

This function allows you to create an Image object by uploading an image.

uploadImage(options: UploadImageOptions): Promise<ImageObject>;
createImageFromUrl

Creates a new image from a given URL.

createImageFromUrl(options: CreateImageFromUrlOptions): Promise<ImageObject>;
imagine

This function allows you to generate a new image from a given prompt.

imagine(options: ImagineOptions): Promise<ImageObject>;