When no output format is specified, Openinary automatically selects the smallest format the requesting browser supports.Documentation Index
Fetch the complete documentation index at: https://docs.openinary.dev/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Detect browser support
Reads the
Accept header and User-Agent to determine which modern formats are supported.Analyze content
Evaluates whether the image is a photo, graphic, or contains transparency to pick the best codec.
Typical size reductions
| Original format | → AVIF | → WebP |
|---|---|---|
| JPEG | 40–50% smaller | 25–35% smaller |
| PNG | 50–70% smaller | 25–40% smaller |
Actual savings depend on image content and original compression level.
Manual format override
Use thef parameter to force a specific format regardless of browser support.
Next steps
Image Transformations
Full reference for resize, crop, rotate, and format parameters.
Upload & Cache Warming
Pre-generate optimized variants at upload time.