Generate a custom meme with AI
generate_memeDraws a new meme with AI and saves it to the caller's private library. Requires an API key and costs 500 credits per image (refunded if it fails or is refused), so search_memes first and generate only when nothing in the library fits or the user explicitly asks for a custom meme. Give a short caption and/or describe the picture; pass ref (an id from search_memes) to make a version of an existing meme's character. Refuses recognizable real people, sexual, violent or political content. Its file metadata marks it as AI-generated; it is a derivative work, not cleared for commercial use.
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 |
|---|---|---|---|
| ref | No | id of a memecub meme whose character to reuse | |
| style | No | panda = 熊猫头 face meme, photo, 3d, anime, sticker; omitted = chosen from the request | |
| action | No | What the character does or looks like, e.g. 'cat slumped at a desk at 3am' | |
| locale | No | Language of the label and messages; defaults to the caption's language | |
| caption | No | Text drawn on the meme, up to 30 characters, in the language of the user |