Design
Add various texture overlays to images with customizable blend modes and intensity
Appelez cet outil depuis votre code en trois langages.
# 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/fr/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'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/image-add-texture| Nom | Type | Requis | Description |
|---|---|---|---|
| imageFile | fileupload requis | Oui | Upload any image file to add texture effect to |
| textureType | select | Non | Choose the type of texture |
| blendMode | select | Non | Choose how the texture blends with the image |
| opacity | number | Non | Opacity of the texture (0.0 to 1.0) |
| scale | number |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client 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"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"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 | Non | Intensity of the texture details (0.0 to 1.0) |
| outputFormat | select | Non | Choose output format or keep original |
| quality | number | Non | Output quality for lossy formats (WebP, JPEG) |
Résultat fichier
{
"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)"
}Des questions ou un problème ? Contactez [email protected]