Skip to content

Usage ​

Image API ​

Add query parameters to your image URL and make a GET request. Imagizer processes the image and returns the result immediately.

See the API reference for all available parameters.

Scale ​

Use the width or height parameter to scale images. Combine both for precise dimensions.

http
GET /image.jpg?width=200 HTTP/1.1
http
GET /image.jpg?height=200 HTTP/1.1

Crop ​

Use the crop parameter to crop any excess image data outside the given width and height dimensions.

http
GET /image.jpg?width=400&height=300&crop=fit HTTP/1.1

Optimize ​

Use the quality parameter to compress images and reduce file size.

http
GET /image.jpg?quality=80 HTTP/1.1

Use the format parameter to convert images to more efficient formats for faster loading.

http
GET /image.png?format=auto HTTP/1.1

Adjust Picture ​

Adjust the brightness and contrast using the respective parameters.

http
GET /image.jpg?brightness=0.5 HTTP/1.1
http
GET /image.jpg?contrast=1 HTTP/1.1

Use the auto_fix parameter to let Imagizer automatically adjust these settings.

http
GET /image.jpg?auto_fix=true HTTP/1.1

POST Requests ​

Imagizer supports POST requests for uploading images. See the POST Requests guide.

Async Requests ​

Process images asynchronously for batch operations. See the Async Requests guide.

API Reference ​

See the API reference for all available parameters.