Add Pattern Effect
Add geometric pattern overlays to images with customizable colors, size, and rotation
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Upload any image file to add pattern effect to |
| patternType | select | No | Choose the type of geometric pattern |
| foregroundColor | color | No | Color of the pattern elements |
| backgroundColor | color | No | Background color of the pattern |
| size | number | No | Size of pattern elements (1-50 pixels) |
| spacing | number | No | Spacing between pattern elements (5-100 pixels) |
| opacity | number | No | Opacity of the pattern (0.0 to 1.0) |
| rotation | number | No | Rotation angle of the pattern (0-360 degrees) |
| blendMode | select | No | Choose how the pattern blends with the image |
| outputFormat | select | No | Choose output format or keep original |
| quality | number | No | Output quality for lossy formats (WebP, JPEG) |
File type parameters need to be uploaded first via POST /upload/image-add-pattern 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-add-pattern": {
"name": "image-add-pattern",
"description": "Add geometric pattern overlays to images with customizable colors, size, and rotation",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-add-pattern",
"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]