Image Resizer
Professional image resizing tool with multiple resize methods, aspect ratio preservation, and format conversion, supporting GIF/Animated WebP/APNG and JPEG/PNG/WEBP.
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | - |
| resizeMode | select | No | - |
| width | number | No | - |
| height | number | No | - |
| aspectRatio | select | No | - |
| fit | select | No | - |
| position | select | No | - |
| background | color | No | - |
| blurBackground | checkbox | No | - |
| blurSigma | range | No | - |
| kernel | select | No | - |
| format | select | No | - |
| quality | range | No | - |
| upscale | checkbox | No | - |
| progressive | checkbox | No | - |
| stripMetadata | checkbox | No | - |
File type parameters need to be uploaded first via POST /upload/image-resize 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-image-resize": {
"name": "image-resize",
"description": "Professional image resizing tool with multiple resize methods, aspect ratio preservation, and format conversion, supporting GIF/Animated WebP/APNG and JPEG/PNG/WEBP.",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-resize",
"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]