delete

Deletes an image by its unique identifier.

deleteImage(options: DeleteOptions): Promise<void>;
download

Download an image by its unique identifier. The image is returned as a binary response.

download(options: DownloadOptions): Promise<Blob>;
getImage

Retrieves an image object by its unique identifier.

getImage(options: GetImageOptions): Promise<ImageObject>;
listImages

Retrieves a list of image objects.

listImages(options: ListImagesOptions): Promise<PaginatedImages>;
publish

Publish an image, making it publicly accessible. Published images can be accessed by anyone with the URL.

publish(options: PublishOptions): Promise<void>;
unpublish

Unpublish an image, making it private. Unpublished images can only be accessed by authenticated users.

unpublish(options: UnpublishOptions): Promise<void>;