Image Rounded Corners
Add rounded corner effects to images with adjustable radius and corner selection
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) to apply rounded corners |
| radius | number | No | Radius of rounded corners. Will be limited to image dimensions |
| cornerMode | select | Yes | Choose which corners to apply rounded effect to |
| topLeft | number | No | Radius for top left corner. Used only in custom mode |
| topRight | number | No | Radius for top right corner. Used only in custom mode |
| bottomLeft | number | No | Radius for bottom left corner. Used only in custom mode |
| bottomRight | number | No | Radius for bottom right corner. Used only in custom mode |
| backgroundColor | color | No | Background color for corners (only affects JPEG format) |
| format | select | No | Choose output format or keep original. PNG recommended for transparency |
| quality | number | No | Output quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size |
File type parameters need to be uploaded first via POST /upload/image-rounded-corners 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-rounded-corners": {
"name": "image-rounded-corners",
"description": "Add rounded corner effects to images with adjustable radius and corner selection",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-rounded-corners",
"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]