Convert WebP to Compressed WebP
Compress WebP images with advanced settings for optimal file size reduction
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | - |
| quality | range | No | Recommended range: 50-85 for good compression/quality balance |
| effort | range | No | Maximum effort (6) recommended for best compression |
| method | range | No | Maximum method (6) for optimal compression |
| filterStrength | range | No | Higher values reduce compression artifacts at the cost of some detail |
| filterSharpness | range | No | Higher values preserve edge sharpness during compression |
| filterType | number | No | 0: simple, 1: strong (recommended), 2: cross |
| alphaCompression | range | No | Compression quality for alpha/transparency channel when present |
| smartSubsample | checkbox | No | Optimize chroma channel processing for better compression |
File type parameters need to be uploaded first via POST /upload/webp-to-compressed-webp to get filePath, then pass filePath to the corresponding file field.
Response Format
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-webp-to-compressed-webp": {
"name": "webp-to-compressed-webp",
"description": "Compress WebP images with advanced settings for optimal file size reduction",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=webp-to-compressed-webp",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
Supports URL file links or Base64 encoding for file parameters.
If you encounter any issues, please contact us at [email protected]