Design
Add various texture overlays to images with customizable blend modes and intensity
Llama a esta herramienta desde tu código en tres lenguajes.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/image-add-texture' \
-F 'file=@/path/to/imageFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/es/api/tools/image-add-texture' \
-F 'imageFile=/path/to/file.ext' \
-F 'textureType=canvas' \
-F 'blendMode=overlay' \
-F 'opacity=0.7' \
-F 'scale=1' \
-F 'intensity=0.5' \
-F 'outputFormat=original' \
-F 'quality=90'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/image-add-texture| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| imageFile | filesubida requerida | Sí | Upload any image file to add texture effect to |
| textureType | select | No | Choose the type of texture |
| blendMode | select | No | Choose how the texture blends with the image |
| opacity | number | No | Opacity of the texture (0.0 to 1.0) |
| scale | number |
Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-image-add-texture": {
"name": "image-add-texture",
"description": "Add various texture overlays to images with customizable blend modes and intensity",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-add-texture",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "image-add-texture",
"arguments": {
"imageFile": "https://example.com/file.ext",
"textureType": "canvas",
"blendMode": "overlay",
"opacity": 0.7,
"scale": 1,
"intensity": 0.5,
"outputFormat": "original",
"quality": 90
}
}
}| Scale of the texture pattern (0.1 to 3.0) |
| intensity | number | No | Intensity of the texture details (0.0 to 1.0) |
| outputFormat | select | No | Choose output format or keep original |
| quality | number | No | Output quality for lossy formats (WebP, JPEG) |
Resultado de archivo
{
"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)"
}¿Dudas o problemas? Contacta con [email protected]