Image Custom Convolution Kernel
Apply custom convolution kernel by defining your own matrix values for personalized image effects and processing
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Image to apply custom convolution kernel |
| kernelSize | select | No | Size of the convolution matrix |
| kernelValues | textarea | Yes | Matrix values (left to right, top to bottom). For 3x3: 9 values, for 5x5: 25 values, etc. |
| intensity | number | No | Strength of the convolution effect (0.1-10.0) |
| normalize | checkbox | No | Normalize kernel so that sum of all elements equals 1 (except for edge detection) |
| outputMode | select | No | Additional processing on the output |
File type parameters need to be uploaded first via POST /upload/image-custom-kernel 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-custom-kernel": {
"name": "image-custom-kernel",
"description": "Apply custom convolution kernel by defining your own matrix values for personalized image effects and processing",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-custom-kernel",
"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]