Optimagio
For developers

Image optimization that lives in your pipeline

Stop hand-tuning images. Authenticate with an API key, send a file or URL, and get back an optimized result with exact savings. Use synchronous calls on hot paths and upload-first batches for catalogs — all with idempotency and honest error codes.

  • API keys (opt_ prefix), shown in full only once
  • Sync, URL, async, and upload-first batch endpoints
  • Idempotency keys and per-item batch results
opt_…
one key, every endpoint

Real product capability — not a placeholder.

The problem

Images are the easiest performance win you keep postponing

Most apps ship images the way they were uploaded: full resolution, legacy format, no compression. The fix is well understood — resize to display size, convert to WebP/AVIF, compress — but wiring it into a build or upload flow is the part teams defer. A dependable API removes that friction.

How Optimagio fits a codebase

Call POST /api/optimize at request time for user uploads, or run POST /api/v1/optimize/batch in CI to process an entire asset directory. Cache hits (same content hash and params) return instantly and do not spend monthly quota. Rate limits and body-size caps are tier-aware, so the same integration scales from a side project to production volume.

Optimize in CI with a single call

bash
# Convert + compress on upload
curl -X POST https://optimagio.com/api/optimize \
  -H "Authorization: Bearer opt_your_key" \
  -F "accept_file=true" \
  -F "[email protected]" \
  -F "format=avif" \
  -F "compression=auto"

JSON back with optimized_url, sizes, percent saved, and format.

Why developers pick it

Designed to be integrated, not babysat

01

Predictable errors

Explicit codes (e.g. 409 on idempotency conflict, 402 on quota) you can branch on instead of guessing.

02

Resumable batches

One client_batch_id across chunks; reattach and continue after a crash or redeploy.

03

No vendor lock on storage

Results stream through the API; back them with disk or any S3-compatible bucket you control.

04

Cache-aware billing

Repeat optimizations of identical inputs don’t burn quota.

05

SSRF-safe URL mode

URL optimization blocks private/internal ranges and caps source size — safe to expose to user input.

06

Self-host friendly

The whole stack runs on Docker Compose (Go API, worker, Postgres, Redis) if you need to.

Start free, scale by RPM

Free gives you 1 API key and 100 images/month to wire it up. Starter (300 RPM), Pro (1,000 RPM), and Business (3,000 RPM) add throughput and keys as you grow.

FAQ

Frequently asked questions

How do I integrate Optimagio into my build pipeline?

Create an API key and call POST /api/v1/optimize/batch from CI to process an asset directory, or POST /api/optimize for individual files at request time. Batches use one client_batch_id and a unique Idempotency-Key per chunk so retries are safe.

Will repeated optimizations cost me quota?

No. Identical inputs (same content hash and parameters) return a cached result that does not consume monthly image quota, though it is still recorded in analytics.

Can I self-host Optimagio?

The platform is built to run on Docker Compose — a Go API, a dedicated image worker, PostgreSQL, and Redis — with disk or S3-compatible storage for results.

Start optimizing your images today

Try the free public tool now, then upgrade for higher limits, bulk batches, the API, storage, and reports.

Free tier available · No card required to start · Cancel anytime