Free API
API key protected, free to use
Batch Compress Images
Compress up to 20 images in one request and receive base64 WebP results.
Endpoint
POST /api/free/batch-compressFree tier: 5 RPM. Paid users: 500 RPM. Limits are shared across Free API endpoints.
Usage notes
- Upload repeated files fields named files.
- Returns JSON with success/error status per file.
API example
curl -X POST "https://apiany.ai/api/free/batch-compress" \ -H "Authorization: Bearer $API_KEY" \ -F "files=@a.png" \ -F "files=@b.jpg" \ -F "size=1200"
Playground
Calls are sent from your browser to this site using your API key.
Image files *
Size
Add an API key and required inputs to enable the request.POST /api/free/batch-compress