Image Compression API

image compression api

Optimus can be used for more than just WordPress! Optimus provides an easy developer API to automatically compress and optimize your images. This allows to integrate Optimus directly into your image optimization process of your application. You can use your existing license key to make use of the image compression API. Don’t have a license yet? Buy a license on

Direct CURL requests

Optimize and compress your image:

curl --data-binary @image.jpg -o optimized.jpg -H 'user-agent: Optimus-API' -H 'accept: image/*'<your_license_key>?optimize

Optimize and compress your image but keep the metadata:

curl --data-binary @image.jpg -o optimized.jpg -H 'user-agent: Optimus-API' -H 'accept: image/*'<your_license_key>?clean

Optimize and convert your image to WebP:

curl --data-binary @image.jpg -o optimized.jpg -H 'user-agent: Optimus-API' -H 'accept: image/*'<your_license_key>?webp

Image Compression API Libraries

We did not complete all the libraries for all the different programming languages for the Optimus API. Please contribute to the adapters to make the image compression simpler for everyone.