How the caption engine works
Yometb’s meme maker is rule-based, not AI. There is no language model and no server call: a few hundred lines of JavaScript and hand-written phrase lists run in your browser. That makes it fast, private and predictable — and sometimes a bit literal, which is why every caption is editable.
1. Reading your sentence
The engine splits a situation into who, what they did, the thing and the details using small grammar rules (a list of common irregular verbs, rules for “-ed” and “-s” endings, and a list of time words). For the example sentence it finds:
| Piece | Value |
|---|---|
| Who | My boss |
| Verb phrase | scheduled a meeting at 4:55 on Friday |
| Thing | a meeting |
| Details | at 4:55 on Friday |
| Short label | the 4:55 Friday meeting |
| “When…” form | When my boss schedules a meeting at 4:55 on Friday |
| POV form | your boss scheduled a meeting at 4:55 on Friday |
| Themes | time, meeting, work |
If a sentence doesn’t fit the pattern (“Monday mornings”), the engine falls back to using the whole phrase, so you still get usable drafts.
2. Themes and phrase banks
24 themes — work, meetings, school, money, food, sleep, tech, pets, family, holidays, weather, commuting, gym, dating, TV, gaming, sports, shopping, travel, chores and more — each have a keyword list and a phrase bank: what people usually hoped for, milder and more absurd versions of the problem, things the other side tends to say, “starter kit” items and so on. Keywords in your sentence decide which banks are used.
3. Picking templates and joke angles
Each of the 92 templates belongs to a joke structure. The engine scores templates by how well their themes match yours (plus your tone and a seeded shuffle), then keeps at most one template per joke angle, so the 4–8 candidates are genuinely different jokes rather than the same caption on different pictures. The angles:
- Two choices — 8 templates
- Expectation vs. reality — 8 templates
- Escalation — 7 templates
- Reaction shot — 23 templates
- “Nobody: / Me:” — 1 templates
- Secret knowledge — 1 templates
- Inner monologue — 3 templates
- Over-explaining — 2 templates
- Labeled metaphor — 8 templates
- List / ranking — 11 templates
- Fake data — 5 templates
- Game logic — 4 templates
- Calm in chaos — 1 templates
- POV — 2 templates
- Dialogue — 2 templates
- Mock headline — 1 templates
- Official document — 5 templates
Each angle has its own caption recipe (for example, expectation vs. reality pairs a hoped-for phrase with what actually happened) and its own “Why this template fits” explanation, filled in with your details.
4. Tone and audience rules
Tones (Deadpan, Wholesome, Savage-but-kind, Absurd, Corporate-ironic, Dramatic) swap reaction lines, labels and punctuation. Audience rewrites are separate rules applied afterwards:
- Friends: lowercase, no forced caps, group-chat emoji in the post caption.
- Work / LinkedIn: gentle corporate irony — “meeting” becomes “alignment session,” “me” becomes “me, a team player,” and the post caption thanks leadership for a week of learning moments.
- Reddit: classic all-caps, “MRW …” framing and an “[OC]” post title.
- Brand: “me/I/my” become “us/we/our,” named bosses become “the boss,” insults are softened and the post invites people to tag a friend.
5. Safety checks
Your input, every generated caption and every edit pass through the same filter before anything can be previewed, downloaded, shared or turned into a remix link. It combines curated blocklists, pattern rules and simple name detection. Details are in the safety policy.
6. What it can’t do (yet)
- It doesn’t “understand” jokes; it fills proven structures. Odd sentences can produce odd captions — edit them.
- English only, and best with one clear sentence.
- No image recognition: if you add your own photo, the captions don’t know what’s in it.
Will there be an AI version?
The engine sits behind a small provider interface, so a language-model provider could be added later. It would need a paid API key and a server to keep that key private, so it’s an owner decision we haven’t made. If it ever ships, it will be clearly labeled, optional, and its output will go through the same safety checks.