The Meme API for everything
One HTTP call in, one finished meme out. Slack bots, Discord servers, marketing automations, AI agents — if it can make a GET request, it can make memes.
30-second quick start
curl — classic top/bottom meme, PNG back
curl "https://www.memebuilder.ai/api/v1/meme?template=drake&top_text=writing%20memes%20by%20hand&bottom_text=using%20the%20meme%20api" -o meme.pngSearch the template library
curl "https://www.memebuilder.ai/api/v1/templates?q=disaster"
→ { "templates": [{ "slug": "disaster-girl", "name": "Disaster Girl", "url": "…" }], … }POST — positioned captions, hosted URL back
POST https://www.memebuilder.ai/api/v1/meme
Content-Type: application/json
Authorization: Bearer mb_live_... # optional — higher limits, no watermark on Pro/Max
{
"template": "expanding-brain",
"captions": [
{ "text": "posting memes by hand", "y": 12 },
{ "text": "scripting screenshots", "y": 38 },
{ "text": "calling a meme api", "y": 64 },
{ "text": "agents memeing for you","y": 88 }
],
"format": "json"
}
→ { "url": "https://img.memebuilder.ai/memes/api/…png", "width": 857, "height": 1202 }No key needed to try it — anonymous calls are watermarked and capped at 30/day. Create a key on your dashboard for higher limits; Pro/Max keys drop the watermark and unlock branding.
One call, one meme
GET with template + captions returns a finished PNG. No SDK, no queue, no render polling.
900+ templates
The full Memebuilder library — classics, current formats, and your own images via template_url.
WYSIWYG-exact
Same render engine as the web editor: percent-positioned captions, natural aspect ratio, Impact-style type.
Your brand baked in
Pro/Max renders stamp your logo and @handle instead of our watermark. Set it once on the dashboard.
Simple keys & limits
Bearer keys from the dashboard. Free 100/day, Pro 2,000/day, Max 10,000/day, fair-use anonymous tier.
Agent-native
The same engine powers our MCP server, so Claude, Cursor, and custom agents can meme with tools.
Endpoints
GET/POST /api/v1/memeRender a meme. template (id/slug/search) or template_url, then top_text/bottom_text or captions[] with {text, x, y, fontSize, color, maxWidthPct, rotation} (x/y = % of the image, centre-anchored). format=json returns a hosted URL; default is the PNG itself. watermark=false and brand{} on paid keys.
GET /api/v1/templatesSearch templates: q (text), category, limit (≤100). Returns id, slug, name, image url, categories, and the template page link.
POST/GET/DELETE /api/v1/keysManage API keys from the dashboard (Firebase-authenticated). Keys are shown once and stored hashed.
POST /api/mcpThe same engine as MCP tools for AI agents: search_meme_templates, get_trending_templates, create_meme.
Rate limits ride on X-RateLimit-Limit / X-RateLimit-Remaining headers. Errors are JSON with an error message and a docs link.
Meme API FAQ
Is the Meme API free?
Yes — anonymous calls get 30 renders per day with a small memebuilder.ai watermark, and a free account key raises that to 100/day. Pro ($9.99/mo) lifts it to 2,000/day with no watermark plus custom branding, and Max to 10,000/day.
How do I generate a meme with one HTTP call?
GET https://www.memebuilder.ai/api/v1/meme?template=drake&top_text=...&bottom_text=... returns a finished PNG. Use POST with a JSON body for multi-caption layouts, custom images, brand stamps, or a hosted URL response (format=json).
Which templates can I use?
All 900+ templates on Memebuilder — search them at /api/v1/templates?q=... or browse the template library. You can also pass template_url with any public image to caption your own picture.
Can I put my own logo on API-generated memes?
Yes. On Pro or Max, save a brand kit (logo + @handle) on your dashboard, or pass a brand object in the request. Renders then carry your branding instead of the watermark — built for social teams and bots that post memes at scale.
Do the API renders match the web editor?
Pixel-for-pixel. The API runs the same caption model as the editor — percent-based positions over the full image at its natural aspect ratio — so a meme built in the editor renders identically through the API.
Is there an MCP server for AI agents?
Yes — connect Claude Code, Cursor, or any MCP client to https://www.memebuilder.ai/api/mcp and your agent can search templates and create memes as tools. See the MCP page for setup.
Ship memes from code
Grab a free key, paste the curl, and your app is memeing in under a minute.