Design
Lade ein Master-Bild hoch und erhalte das komplette Kit: Instagram (1:1 / 4:5 / 3:4 fürs Grid / Story / Reel), X (Header 1500×500 / Feed), LinkedIn (persönliches Banner / Firmencover / Post-Bild), YouTube (Thumbnail / Kanalbanner) und Facebook-Link. Jeder Zuschnitt wird mit seiner 2025-2026 verifizierten Safe-Zone-Maske angezeigt (Story-Ränder, X-Avatar-Kreis, LinkedIn-Avatar-Zone, YouTube-Dauer-Badge) und alles geht als ZIP raus.
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'http://127.0.0.1:3003/api/upload/presign/social-media-template-resize-grid' \
-H 'Content-Type: application/json' \
-d '{"filename":"image.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'http://127.0.0.1:3003/de/api/tools/social-media-template-resize-grid' \
-F 'image=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'includeInstagram=true' \
-F 'includeX=true' \
-F 'includeLinkedIn=true' \
-F 'includeYouTube=true' \
-F 'includeFacebook=true' \
-F 'fitMode=cover' \
-F 'backgroundColor=#111827' \
-F 'showSafeZones=true' \
-F 'outputFormat=jpeg' \
-F 'quality=88'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST http://127.0.0.1:3003/de/api/tools/social-media-template-resize-grid| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| image | fileUpload nötig | Ja | — |
| includeInstagram | checkbox | Nein | — |
| includeX | checkbox | Nein | — |
| includeLinkedIn | checkbox | Nein | — |
| includeYouTube | checkbox | Nein | — |
| includeFacebook | checkbox | Nein | — |
| fitMode | select | Nein | — |
| backgroundColor | text | Nein | — |
| showSafeZones | checkbox | Nein | — |
| outputFormat | select | Nein | — |
| quality | range | Nein | — |
HTML-Ergebnis
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-social-media-template-resize-grid": {
"name": "social-media-template-resize-grid",
"description": "Lade ein Master-Bild hoch und erhalte das komplette Kit: Instagram (1:1 / 4:5 / 3:4 fürs Grid / Story / Reel), X (Header 1500×500 / Feed), LinkedIn (persönliches Banner / Firmencover / Post-Bild), YouTube (Thumbnail / Kanalbanner) und Facebook-Link. Jeder Zuschnitt wird mit seiner 2025-2026 verifizierten Safe-Zone-Maske angezeigt (Story-Ränder, X-Avatar-Kreis, LinkedIn-Avatar-Zone, YouTube-Dauer-Badge) und alles geht als ZIP raus.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=social-media-template-resize-grid",
"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": "social-media-template-resize-grid",
"arguments": {
"image": "https://example.com/file.ext",
"includeInstagram": true,
"includeX": true,
"includeLinkedIn": true,
"includeYouTube": true,
"includeFacebook": true,
"fitMode": "cover",
"backgroundColor": "#111827",
"showSafeZones": true,
"outputFormat": "jpeg",
"quality": 88
}
}
}Fragen oder Probleme? Kontakt: [email protected]