Assets API

On-the-fly image rendering, transformation, and delivery via CDN

The Avvyr Assets API lets you resize, crop, convert, and optimize images on-the-fly by adding query parameters to any image URL. No pre-processing, no build step — just change the URL and the CDN delivers the result.

Key capabilities

  • Resize & crop — scale to exact dimensions, fit within bounds, or crop to a focal point
  • Format conversion — serve WebP, AVIF, or JPEG from any source format
  • Quality control — balance file size and visual fidelity per request
  • Cache headers — fine-grained Cache-Control with CDN-level purging
  • Custom domains — serve images from images.yourdomain.com

How it works

Images are stored in cloud storage and served through a global edge CDN. When a request arrives, the rendering service applies the requested transformations, caches the result, and returns it — typically in under 50ms for cached responses.

https://assets.avvyr.com/{container}/{path}?w=800&h=600&fit=cover&fm=webp&q=80

Next steps

Copyright © 2026