Design
Erstellen Sie künstlerische Foto-Collages mit dekorativen Effekten wie abgerundeten Ecken, Rahmen, Schatten und Farbverlauf-Hintergründen. Perfekt für Social-Media-Posts und Fotowände.
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/image-collage-maker' \
-F 'file=@/path/to/imageFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/de/api/tools/image-collage-maker' \
-F 'imageFiles=/path/to/file.ext' \
-F 'layout=grid-auto' \
-F 'spacing=10' \
-F 'borderRadius=0' \
-F 'borderWidth=0' \
-F 'borderColor=#ffffff' \
-F 'shadowBlur=0' \
-F 'shadowColor=#000000' \
-F 'backgroundType=solid' \
-F 'backgroundColor=#f0f0f0' \
-F 'backgroundColor2=#ffffff' \
-F 'backgroundDirection=diagonal' \
-F 'outputFormat=png' \
-F 'quality=90'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/image-collage-maker| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| imageFiles | fileUpload nötig | Ja | — |
| layout | select | Ja | — |
| spacing | number | Nein | — |
| borderRadius | number | Nein | Add rounded corners to each image |
| borderWidth | number | Nein | Add a decorative border around each image |
| borderColor | color | Nein | Color of the image borders |
| shadowBlur | number | Nein | Add drop shadow effect |
| shadowColor | color | Nein | Color of the shadow |
| backgroundType | select | Ja | — |
| backgroundColor | color | Nein | Main background color |
| backgroundColor2 | color | Nein | Second color for gradient background |
| backgroundDirection | select | Nein | — |
| outputFormat | select | Ja | — |
| quality | number | Nein | — |
Dateiergebnis
{
"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)"
}Fügen Sie dieses Werkzeug Ihrem Model-Context-Protocol-Server hinzu, damit KI-Agenten es auflisten und aufrufen können.
Fügen Sie diesen Block Ihrer MCP-Client-Konfiguration hinzu:
{
"mcpServers": {
"elysiatools-image-collage-maker": {
"name": "image-collage-maker",
"description": "Erstellen Sie künstlerische Foto-Collages mit dekorativen Effekten wie abgerundeten Ecken, Rahmen, Schatten und Farbverlauf-Hintergründen. Perfekt für Social-Media-Posts und Fotowände.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-collage-maker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Nach dem Verbinden mit dem SSE-Endpunkt listen Sie die bereitgestellten Werkzeuge auf:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Rufen Sie das Werkzeug über seine ID auf; Argumente werden aus seiner Parameterliste gebildet:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "image-collage-maker",
"arguments": {
"imageFiles": "https://example.com/file.ext",
"layout": "grid-auto",
"spacing": 10,
"borderRadius": 0,
"borderWidth": 0,
"borderColor": "#ffffff",
"shadowBlur": 0,
"shadowColor": "#000000",
"backgroundType": "solid",
"backgroundColor": "#f0f0f0",
"backgroundColor2": "#ffffff",
"backgroundDirection": "diagonal",
"outputFormat": "png",
"quality": 90
}
}
}Fragen oder Probleme? Kontakt: [email protected]