Design
Create classic memes by adding top and bottom text to images with Impact font style
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-meme-generator' \
-F 'file=@/path/to/imageFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/image-meme-generator' \
-F 'imageFile=/path/to/file.ext' \
-F 'topText=Enter top caption...' \
-F 'bottomText=Enter bottom caption...' \
-F 'uppercase=true' \
-F 'autoFontSize=true' \
-F 'fontSize=48' \
-F 'fontColor=#ffffff' \
-F 'strokeColor=#000000' \
-F 'strokeWidth=3' \
-F 'format=original' \
-F 'quality=95'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-meme-generator| Name | Type | Required | Description |
|---|---|---|---|
| imageFile | fileupload required | Yes | — |
| topText | text | No | — |
| bottomText | text | No | — |
| uppercase | checkbox | No | Convert text to uppercase (classic meme style) |
| autoFontSize | checkbox | No | Automatically adjust font size based on text length |
| fontSize | number | No | — |
| fontColor | color | No | — |
| strokeColor | color | No | — |
| strokeWidth | number | No | — |
| format | select | No | — |
| 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-meme-generator": {
"name": "image-meme-generator",
"description": "Create classic memes by adding top and bottom text to images with Impact font style",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-meme-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-meme-generator",
"arguments": {
"imageFile": "https://example.com/file.ext",
"topText": "Enter top caption...",
"bottomText": "Enter bottom caption...",
"uppercase": true,
"autoFontSize": true,
"fontSize": 48,
"fontColor": "#ffffff",
"strokeColor": "#000000",
"strokeWidth": 3,
"format": "original",
"quality": 95
}
}
}Questions or issues? Contact [email protected]