Design
Add vignette effect to images with customizable style, intensity, and color
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/image-add-vignette' \
-F 'file=@/path/to/imageFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/image-add-vignette' \
-F 'imageFile=/path/to/file.ext' \
-F 'style=classic' \
-F 'size=0.8' \
-F 'intensity=0.7' \
-F 'feather=0.5' \
-F 'color=#000000' \
-F 'opacity=1' \
-F 'outputFormat=png' \
-F 'quality=90'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/image-add-vignette| Name | Type | Required | Description |
|---|---|---|---|
| imageFile | fileupload required | Yes | Upload any image file to add vignette effect to |
| style | select | No | Choose the vignette style |
| size | number | No | Size of the vignette effect (0.1-1.5) |
| intensity | number | No | Intensity of the darkening effect (0.0 to 1.0) |
| feather | number | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-image-add-vignette": {
"name": "image-add-vignette",
"description": "Add vignette effect to images with customizable style, intensity, and color",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-add-vignette",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "image-add-vignette",
"arguments": {
"imageFile": "https://example.com/file.ext",
"style": "classic",
"size": 0.8,
"intensity": 0.7,
"feather": 0.5,
"color": "#000000",
"opacity": 1,
"outputFormat": "png",
"quality": 90
}
}
}| Softness of the vignette edges (0.0 to 1.0) |
| color | color | No | Color of the vignette effect |
| opacity | number | No | Opacity of the vignette effect (0.0 to 1.0) |
| outputFormat | select | No | Choose output format or keep original |
| quality | number | No | Output quality for lossy formats (WebP, JPEG) |
File result
{
"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)"
}Questions or issues? Contact [email protected]