Generate a meme image
generate_memeRender a classic top/bottom-caption meme as a PNG. Give it an image (base64, data URI, or public URL) or pick a gradient style, and it returns captioned meme artwork.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_meme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| image | No | Base image as base64, a data URI, or a public URL. Private addresses are refused. 10 MB cap. Omit to use a gradient style background. | |
| upper | No | Uppercase captions, classic meme style. | |
| bottom | No | ||
| styleId | No | Gradient style id when no image is given: sunset, ocean, grape, forest, mono, candy. Default: sunset. | |
| fontScale | No | Caption size multiplier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| png | Yes | PNG bytes, base64 encoded. | |
| width | Yes | ||
| height | Yes | ||
| mimeType | Yes |