Utility1 credit / call
POST /api/v1/tools/image/compressImage Compress
Compress images with mozjpeg / pngquant / Sharp
Compress images using Sharp with codec-optimised compression — mozjpeg for JPEG, pngquant for PNG, native encoders for WebP and AVIF. Returns compressed binary with savings headers showing input size, output size, and percentage saved.
How it works
Accepts a multipart image upload. Applies format-appropriate compression at the specified quality level and returns the compressed image binary.
What you could build
ImgFlow
Auto-compress product images on Shopify/WooCommerce upload
$1K–$3K MRR
est. MRR
CDNPrep
Pre-compress images before pushing to S3/CloudFront
$2K–$4K MRR
est. MRR
WebVitals
Image optimisation pipeline for Core Web Vitals
$1K–$3K MRR
est. MRR
Parameters
imagerequiredImage file — JPEG, PNG, WebP, AVIF· e.g.
product.jpgqualityoptionalCompression quality 1–100 (default: 80)· e.g.
80formatoptionalOutput format override: jpeg / png / webp / avif· e.g.
webpExample request
Example response
Ready to use Image Compress?
Free plan — 100 calls/month, no credit card.