---
title: "Lolgent: the meme API for AI agents"
description: "The meme API for AI agents. Real meme templates, captioned by code. Plug it into any agent over MCP or REST. Free plan with 10 AI memes and 100 renders a month."
canonical_url: "https://lolgent.com/"
meta:
  "og:description": "The meme API for AI agents. Real meme templates, captioned by code. Plug it into any agent over MCP or REST. Free plan with 10 AI memes and 100 renders a month."
  "og:image": "https://lolgent.com/og.png"
  "og:image:alt": "Lolgent, the meme API for AI agents"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "Lolgent: the meme API for AI agents"
---

> Index of every page on this site: [llms.txt](https://lolgent.com/llms.txt)

# The meme API<br> for AI agents

Real meme templates, captioned by code. Plug it into any agent over MCP or REST.

[Get a free key](https://lolgent.com/login) [Read the docs](https://lolgent.com/docs)

Free: 10 AI memes and 100 renders a month. No card.

```
$ claude mcp add --transport http lolgent https://lolgent.com/mcp --header "Authorization: Bearer YOUR_KEY"
```

Sign in and copy your key from the Keys page.

render\_meme200 OK

```
{
  "template": "drake",
  "lines": [
    "Fixing the bug",
    "Renaming the bug to \"undocumented feature\""
  ]
}
```

[![Drake Hotline Bling meme: Fixing the bug / Renaming the bug to "undocumented feature"](https://lolgent.com/t/drake/example.jpg)](https://lolgent.com/templates/drake)

## Templates people already know

Every example here was drawn by the same code your agent calls. Each template tells the agent what goes in each slot, how long a line can be and when the joke works.

[All 50 templates](https://lolgent.com/templates)

[![Drake Hotline Bling meme example](https://lolgent.com/t/drake/example.jpg)**Drake Hotline Bling**](https://lolgent.com/templates/drake) [![Distracted Boyfriend meme example](https://lolgent.com/t/distracted-boyfriend/example.jpg)**Distracted Boyfriend**](https://lolgent.com/templates/distracted-boyfriend) [![Expanding Brain meme example](https://lolgent.com/t/expanding-brain/example.jpg)**Expanding Brain**](https://lolgent.com/templates/expanding-brain) [![This Is Fine meme example](https://lolgent.com/t/this-is-fine/example.jpg)**This Is Fine**](https://lolgent.com/templates/this-is-fine) [![Two Buttons meme example](https://lolgent.com/t/two-buttons/example.jpg)**Two Buttons**](https://lolgent.com/templates/two-buttons) [![Change My Mind meme example](https://lolgent.com/t/change-my-mind/example.jpg)**Change My Mind**](https://lolgent.com/templates/change-my-mind) [![Gru's Plan meme example](https://lolgent.com/t/gru-plan/example.jpg)**Gru's Plan**](https://lolgent.com/templates/gru-plan) [![Is This a Pigeon? meme example](https://lolgent.com/t/is-this-a-pigeon/example.jpg)**Is This a Pigeon?**](https://lolgent.com/templates/is-this-a-pigeon) [![Woman Yelling at Cat meme example](https://lolgent.com/t/woman-yelling-at-cat/example.jpg)**Woman Yelling at Cat**](https://lolgent.com/templates/woman-yelling-at-cat) [![Left Exit 12 Off Ramp meme example](https://lolgent.com/t/left-exit-12/example.jpg)**Left Exit 12 Off Ramp**](https://lolgent.com/templates/left-exit-12) [![Always Has Been meme example](https://lolgent.com/t/always-has-been/example.jpg)**Always Has Been**](https://lolgent.com/templates/always-has-been) [![Disaster Girl meme example](https://lolgent.com/t/disaster-girl/example.jpg)**Disaster Girl**](https://lolgent.com/templates/disaster-girl)

## How a meme gets made

1. 1

   ### **Your agent sends a topic**

   Or the finished lines, if it already has the joke. It is one call over MCP or REST, with a brand\_id when it posts for a brand. `create_meme({ topic, brand_id })`
2. 2

   ### **Claude writes, code checks**

   Claude writes eight candidates for the brand and its audience. Code throws out any line that runs too long or hits the avoid list, and the rest get ranked. `8 candidates → top 1-3`
3. 3

   ### **Code draws the image**

   Each line is typeset into a measured slot on the real template, wrapped and shrunk to fit. Your agent gets an image URL back. `/m/k3x9q2mf7a.jpg`

## Why not let the agent generate the image?

Image models are good at pictures and bad at memes. A meme is a known picture with exact words in exact places.

**The picture**Invented people, warped hands and facesThe real template image, untouched

**The text**Misspelled, drifting, in the wrong panelTypeset by code into fixed slots, shrunk to fit

**The format**Looks roughly like a memeA format people know, used the way it works

**The brand**Starts from zero on every callKnows the voice, the avoid list and the last 20 memes

## Explain the brand once

Each brand your agent posts for gets a memory: what it sells, who it talks to, its voice, words it never jokes about, its running jokes. Pass a `brand_id` and every meme uses it.

- **The avoid list is enforced in code,** not only in the prompt, so a banned word cannot slip through.
- **The last 20 memes go into every prompt,** so the same joke does not come back next week.
- **Your agent can add notes** with `remember`, like "the intern joke did well". You can edit all of it in the dashboard.

save\_brand

```
{
  "name": "Acme Deploys",
  "language": "en",
  "profile": {
    "audience": "Backend devs who deploy on Fridays anyway",
    "voice": "Dry, self-aware, never mean about customers",
    "avoid": ["outages", "competitor names"],
    "in_jokes": ["the intern who deleted prod"]
  }
}
```

## Eight tools

The same operations over MCP at `/mcp` and REST under `/api/v1`. Only one of them calls an AI model.

[Full reference](https://lolgent.com/docs)

[`create_meme`AITurns a topic into 1 to 3 finished memes. AI picks the template and writes the lines; code draws the image.](https://lolgent.com/docs#create_meme) [`render_meme`Draws your own lines on a template. There is no AI in the loop, so it answers in well under a second.](https://lolgent.com/docs#render_meme) [`search_templates`Finds templates by name, alias, tag or the joke they fit. Returns slot roles, length limits and a filled example.](https://lolgent.com/docs#search_templates) [`list_brands`Lists the brands on this account with id, name and language.](https://lolgent.com/docs#list_brands) [`get_brand`Returns a brand's profile, its notes and its recent memes with ratings.](https://lolgent.com/docs#get_brand) [`save_brand`Creates a brand, or updates one when brand\_id is given. Only the fields you send change.](https://lolgent.com/docs#save_brand) [`remember`Adds a short dated note to a brand. Notes go into every later prompt for that brand.](https://lolgent.com/docs#remember) [`rate_meme`Marks a meme as used, liked or rejected, with an optional note. Ratings show up in the brand's recent memes, so the writer learns what lands.](https://lolgent.com/docs#rate_meme)

## Pricing

AI memes run a model that writes and judges the jokes, so they are counted. Renders with your own lines are cheap, so you get plenty. Quotas reset on the 1st of each month.

### **Free**

Try it in your agent. No card.

$0 / month

- **10 AI memes** a month with `create_meme`
- **100 renders** a month with `render_meme`
- Every template, brand memory, MCP and REST

[Get a free key](https://lolgent.com/login)

### **Pro**

Recommended

For one brand posting most days.

$19 / month

- **100 AI memes** a month with `create_meme`
- **5,000 renders** a month with `render_meme`
- Every template, brand memory, MCP and REST

[Get Pro](mailto:hello@lolgent.com?subject=Lolgent%20Pro)

### **Studio**

For agencies and agents running many brands.

$49 / month

- **300 AI memes** a month with `create_meme`
- **25,000 renders** a month with `render_meme`
- Every template, brand memory, MCP and REST

[Get Studio](mailto:hello@lolgent.com?subject=Lolgent%20Studio)

Paid plans are set up by email for now: write to [hello@lolgent.com](mailto:hello@lolgent.com) and we switch your account over. Need more? Ask about a custom plan.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://lolgent.com/#website","@type":"WebSite","description":"The meme API for AI agents. Real meme templates with the text placed by code, and a memory for each brand. Connect over MCP or REST.","inLanguage":"en","name":"Lolgent","url":"https://lolgent.com/"},{"@id":"https://lolgent.com/#webpage","@type":"WebPage","description":"The meme API for AI agents. Real meme templates, captioned by code. Plug it into any agent over MCP or REST. Free plan with 10 AI memes and 100 renders a month.","name":"Lolgent: the meme API for AI agents","url":"https://lolgent.com/","isPartOf":{"@id":"https://lolgent.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://lolgent.com/"]}]},{"@id":"https://lolgent.com/#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"A meme API for AI agents over MCP and REST. AI writes the joke, code draws the meme.","name":"Lolgent","operatingSystem":"Any","offers":{"@type":"Offer","availability":"https://schema.org/InStock","price":0,"priceCurrency":"USD","priceValidUntil":"2027-12-30T00:00:00.000Z"}}]}
```

## Sitemap

See the full [sitemap](https://lolgent.com/sitemap.md) for all pages.
