convert

Converts an image to a different format (jpeg, png, or webp).

convert(imageID: string, body: ImageConvertParams, options?: RequestOptions): APIPromise<ImageObject>;
crop

Crops an image by specifying the dimensions of the crop area.

crop(imageID: string, body: ImageCropParams, options?: RequestOptions): APIPromise<ImageObject>;
mirror

Mirrors an image horizontally or vertically.

mirror(imageID: string, body: ImageMirrorParams, options?: RequestOptions): APIPromise<ImageObject>;
resize

Resizes an image, you can use fit to specify how the image is resized.

resize(imageID: string, body: ImageResizeParams | null | undefined = {}, options?: RequestOptions): APIPromise<ImageObject>;
rotate

Rotates an image by a specified angle.

rotate(imageID: string, body: ImageRotateParams, options?: RequestOptions): APIPromise<ImageObject>;