Adaptive Images API parameters

If you'd like to implement your own solution to get the same advantages as ShortPixel Adaptive Images (for example, when your website is not WordPress-based), you can use our API and documentation here.

First, the URLs should have 3 parts:

https://cdn.shortpixel.ai/client/parameter1,parameter2/url_of_image
  1. https://cdn.shortpixel.ai/client
  2. parameter1,parameter2: the API parameters (see below)
  3. url_of_image: the original URL of the image

Then, this is a list of parameters that can be used when calling ShortPixel Adaptive Images' API (e.g. no-cdn.shortpixel.ai or cdn.shortpixel.ai).

You can also minimize and serve CDN-hosted, minimized version of your CSS or JS files. They only take a single parameter which is ret

Still need help? Contact Us Contact Us