/tools namespace · APlicious

Image compression API — reduce file size without visible quality loss

POST an image to /tools/image/compress to reduce its file size server-side — set the quality level, choose the output format, and get back compressed binary ready to store or serve.

4image processing endpoints
Get free API key View docs
POST /api/v1/tools/image/compress (multipart)
const form = new FormData();
form.append('image', imageFile);  // File object from <input type="file">
form.append('quality', '80');
form.append('format', 'webp');

const res = await fetch('https://aplicious.com/api/v1/tools/image/compress', {
  method: 'POST',
  headers: { 'X-API-Key': 'lapi_live_••••' },
  body: form,
});
// Returns compressed image binary — pipe to storage or serve directly

No credit card · Free to start · X-API-Key header auth

What's included in /tools

4 output formats

Compress to JPEG, PNG, WebP, or AVIF — convert and compress in one call.

Quality control

Pass quality=80 for an 80% quality target — balance file size vs. visual fidelity for your use case.

Image conversion

POST /tools/image/convert with 'to=webp' to convert format without compression — separate from the compress endpoint.

Image resize / upscale

POST /tools/image/resize with scale=2 to upscale; all params must be form fields (not query params).

No cloud storage account

No AWS S3, no Google Cloud Storage credentials. Images are processed in-request and returned as binary — you handle storage.

Start using the image compression API today

Free tier — 250 calls/month, no credit card. Upgrade when you need more.

Get free API keyExplore /tools docs

Frequently asked questions

What quality level should I use?

75–85 is the sweet spot for web images — good visual quality with significant file size reduction. Use 90+ for photography.

Does this convert formats?

Yes — set format=webp to compress and convert to WebP in one request. Or use /tools/image/convert for format conversion without re-compression.

Is there a file size limit?

20MB per upload. For larger files, resize first with /tools/image/resize, then compress.

Related API guides

OCR API — Extract Text from Images, Free Tier, No Setup

OpenAI-powered OCR REST API. POST a multipart image or a public image URL, get e

Read guide

QR Code Generator API — PNG, SVG, Data URL, Free

Generate QR codes via REST API. GET ?data=...&format=png&size=300&error_correcti

Read guide

RapidAPI Alternative — One Key, 34 APIs, No Per-API Billing

Tired of managing multiple API keys and invoices? APlicious gives you 10 live na

Read guide

One key unlocks all 10 namespaces — finance, legal, property, jobs, wellness, and more.

View all plans and pricing →