Design
Combine multiple images into a single stitched image with customizable layout, spacing, and alignment
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-stitcher' \
-F 'file=@/path/to/imageFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/image-stitcher' \
-F 'imageFiles=/path/to/file.ext' \
-F 'layout=grid' \
-F 'columns=0' \
-F 'rows=0' \
-F 'spacing=10' \
-F 'backgroundColor=#ffffff' \
-F 'imageAlignment=center' \
-F 'outputFormat=png' \
-F 'quality=90' \
-F 'maxWidth=0' \
-F 'maxHeight=0'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-stitcher| Name | Type | Required | Description |
|---|---|---|---|
| imageFiles | fileupload required | Yes | — |
| layout | select | Yes | — |
| columns | number | No | — |
| rows | number | No | — |
| spacing | number | No | — |
| backgroundColor | color | No | — |
| imageAlignment | select | Yes | — |
| outputFormat | select | Yes | — |
| quality | number | No | — |
| maxWidth | number | No | — |
| maxHeight | number | No | — |
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)"
}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-stitcher": {
"name": "image-stitcher",
"description": "Combine multiple images into a single stitched image with customizable layout, spacing, and alignment",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-stitcher",
"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-stitcher",
"arguments": {
"imageFiles": "https://example.com/file.ext",
"layout": "grid",
"columns": 0,
"rows": 0,
"spacing": 10,
"backgroundColor": "#ffffff",
"imageAlignment": "center",
"outputFormat": "png",
"quality": 90,
"maxWidth": 0,
"maxHeight": 0
}
}
}Questions or issues? Contact [email protected]