pixozip API

Image optimization as a service. POST raw image bytes, get a smaller image back.

  • Base URL: https://api.pixozip.pretzl.dev
  • Auth: API key (Authorization: Bearer img_live_...)
  • Formats: JPEG, PNG, WebP, AVIF, GIF, TIFF in. JPEG, PNG, WebP, AVIF out.
  • Free tier: 500 optimizations per calendar month.

Why pixozip

Same sharp + oxipng + guetzli pipeline that won our internal benchmark against TinyPNG: −77% bytes on a 100-image mixed sample, compared with −66% from TinyPNG on the same set. PNGs benefit the most.

TierPNG strategyJPEG strategyThroughput
fastsharp + libimagequantsharp + mozjpeg q80< 0.5 s/img
balancedsharp + libimagequant + oxipng -o2sharp + mozjpeg q80< 1 s/img
maxsharp + libimagequant + oxipng -o4guetzli q84 (perceptual)10–30 s/img

Quickstart

See /quickstart. The minimum is two HTTP calls: one to create an API key from the dashboard, one to POST an image.