# Compress JPEG to WebP at 80% quality
curl -X POST \
"https://api.cullx.com/v1/compress?quality=80&format=webp" \
-H "x-api-key: YOUR_API_KEY" \
-F "image=@photo.jpg"
# Resize and compress
curl -X POST \
"https://api.cullx.com/v1/compress?quality=85&width=1200" \
-H "x-api-key: YOUR_API_KEY" \
-F "image=@large-photo.png"const formData = new FormData();
formData.append('image', file);
const response = await fetch(
'https://api.cullx.com/v1/compress?' +
new URLSearchParams({
quality: '80',
format: 'webp',
width: '1200'
}),
{
method: 'POST',
headers: { 'x-api-key': API_KEY },
body: formData
}
);
const { data } = await response.json();
console.log(`Saved ${data.compressionRatio}%`);Adjust compression quality from 1-100. Balance file size vs visual quality perfectly.
Convert between JPEG, PNG, and WebP. Modern formats for better compression ratios.
Resize to exact dimensions (1-4000px). Maintains aspect ratio with "fit inside" mode.
Industry-leading image processing library. Fast, reliable, production-tested.
Get original size, compressed size, and savings percentage in every response.
Handle large images with ease. Perfect for user uploads and high-res photos.
Optimize product images for faster page loads. Convert to WebP for 30% smaller files. Better SEO, happier customers.
Impact: 2x faster page loads, 40% lower bandwidth costs
Process user-uploaded images on the fly. Resize profile photos, compress attachments, generate thumbnails.
Impact: Reduce storage costs by 70%, faster uploads
Batch-compress article images for blogs and news sites. Maintain quality while cutting file sizes in half.
Impact: Lower CDN costs, improved Core Web Vitals
Export optimized images from design workflows. Automatically compress exports for web delivery.
Impact: Production-ready output, no manual optimization
Optimized Sharp.js processing. Average compression time: 300ms vs 1.2s elsewhere.
$29/mo for 5,000 images vs $299/mo for similar volume. No bandwidth fees, no surprise bills.
Pay per API call, not per transformation. No CDN fees, no egress charges, no complex tiers.