I built a free image compression API — no signup, just curl

Published: (May 25, 2026 at 06:24 PM EDT)
1 min read
Source: Dev.to

Source: Dev.to

I got tired of paying for image compression services or jumping through OAuth hoops just to resize a JPEG. So I built Beta Compressor — a free REST API that compresses JPEG, PNG, WebP, and AVIF images in a single POST request.

No credit card. No OAuth. You can try it right now without even creating an account.

Free API key – 1000 req/month

Sign up at , create an API key in the dashboard, and you get 1 000 requests per month for free.

Usage

curl -X POST https://api.compressor.baidibek.kz/compress \
  -H "X-API-Key: YOUR_KEY" \
  -F "image=@photo.jpg" \
  -F "quality=80" \
  -F "format=webp" \
  -F "width=1280" \
  -o compressed.webp
0 views
Back to Blog

Related posts

Read more »

Slumber a TUI HTTP Client

Keyboard shortcuts - Press ← or → to navigate between chapters - Press S or / to search in the book - Press ? to show this help - Press Esc to hide this help I...