Design
Create stunning photo mosaics by combining hundreds of small images to form a larger main image. Each tile is carefully selected to match the colors of the underlying image.
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-mosaic-generator' \
-F 'file=@/path/to/mainImage.ext'
curl -X POST 'https://api.elysiatools.com/upload/image-mosaic-generator' \
-F 'file=@/path/to/tileImages.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/image-mosaic-generator' \
-F 'mainImage=/path/to/file.ext' \
-F 'tileImages=/path/to/file.ext' \
-F 'tileSize=50' \
-F 'tileResolution=30' \
-F 'overlapTiles=false' \
-F 'blendingMode=normal' \
-F 'outputFormat=png' \
-F 'quality=90'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-mosaic-generator| Name | Type | Required | Description |
|---|---|---|---|
| mainImage | fileupload required | Yes | The large image that will be recreated with small tiles |
| tileImages | fileupload required | Yes | Small images that will form the mosaic pattern |
| tileSize | number | No | Size of each mosaic tile (larger = fewer tiles, faster processing) |
| tileResolution | number | No | Resolution for analyzing tile colors (lower = faster, higher = more accurate) |
| overlapTiles | checkbox | No | Tiles will overlap slightly for a more seamless appearance |
| blendingMode | select | Yes | How tiles blend with the main image colors |
| outputFormat | select | Yes | — |
| quality | 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-mosaic-generator": {
"name": "image-mosaic-generator",
"description": "Create stunning photo mosaics by combining hundreds of small images to form a larger main image. Each tile is carefully selected to match the colors of the underlying image.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-mosaic-generator",
"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-mosaic-generator",
"arguments": {
"mainImage": "https://example.com/file.ext",
"tileImages": "https://example.com/file.ext",
"tileSize": 50,
"tileResolution": 30,
"overlapTiles": false,
"blendingMode": "normal",
"outputFormat": "png",
"quality": 90
}
}
}Questions or issues? Contact [email protected]