API Reference

Overview

The Voidr Images API offers a robust and straightforward solution for real-time image optimization and transformation. Specifically designed for developers, it allows effortless integration by replacing the src of existing images and applying a variety of transformations during delivery.

Images are optimized on-the-fly and automatically cached, providing immediate improvements in loading performance.

Features

  1. Instant optimization: Reduce file size without sacrificing visual quality.
  2. Dynamic transformation: Apply transformations such as resizing, cropping, rotating, and optimizing with simple URL parameters.
  3. Smart caching: Take advantage of edge caching for faster deliveries after the first visit.
  4. Easy integration: Start with minimal changes to existing code and see immediate results.

Getting started

  1. Create an account on the Voidr platform and set up your project.
  2. Name your project, which will be used as part of the API endpoint.
  3. Define the domains where your images are hosted.
  4. Change the "src" of the images on your website to point to the Voidr Images endpoint.

Consult the complete documentation for details on transformation parameters, code examples, and best practices for image optimization.