Images
To transform an image, you need to make a request with parameters. The service will create a new file, return it in response to the request, and save it to your storage.
For subsequent requests with the same parameters, the already created file will be returned.
Example:
width
alias: wCreates an image with the specified width while maintaining the correct aspect ratio.
height
alias: hCreates an image with the specified height while maintaining the correct aspect ratio.
format
alias: fChanges the image format.
auto
Coming soonAutomatic detection of modern image format support by the browser.
quality
alias: qChange the image quality.
dpr
Supports high-resolution screens, doubling the image size.
animated
alias: aDisable animation for GIF or WebP.
fit
How the image should be resized/cropped to fit the target size(s).
func
Smart crop. Uses AI to find the “interesting” part of the image or a face and centers it in the crop.
zoom
alias: zOptional parameter for “smart” cropping. Adjusts the margins.
blur
Creates a blurred image
negate
Creates a “negative” image
normalize_lower
Enhances the contrast of the output image by stretching its brightness to cover the full dynamic range
normalize_upper
Enhances the contrast of the output image by stretching its brightness to cover the full dynamic range
saturation
Sets the image saturation
brightness
Sets the image brightness
hue
Sets the image hue
lightness
Sets the image lightness
greyscale
Converts the image to black and white
radius
Rounds the corners of the image
To create a circular image, set equal dimensions.
remove_background
alias: rm_bgRemoves the background from the image
super_resolution coming soon
Uses AI to upscale the image resolution.