ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

memegen

Generate meme images using the memegen.link API. Use when the user asks to create, make, send, or generate a meme, funny image, reaction image, or similar request. Produces meme images via URL — no local image generation needed. Supports 100+ classic meme templates (Drake, Doge, Disaster Girl, Expanding Brain, etc.) and custom backgrounds.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/artemiopadilla/memegen
Or

Memegen Skill

Generate memes via the memegen.link public API + Imgflip trending templates. No API key required.

Architecture

┌─────────────────┐     ┌──────────────────┐     ┌─────────────┐
│  Template Source │────▶│  Caption Engine   │────▶│  Renderer   │
│                  │     │                  │     │             │
│ • Built-in IDs   │     │ • Manual text    │     │ • memegen   │
│ • Imgflip API    │     │ • Agent-picked   │     │   .link     │
│ • Custom URL     │     │                  │     │ • Pillow    │
│ • Top 30 fallback│     │                  │     │   (local)   │
└─────────────────┘     └──────────────────┘     └─────────────┘

How It Works

Memes are generated entirely via URL — no POST requests needed. Build the URL and download the image.

URL Format

https://api.memegen.link/images/{template}/{top_text}/{bottom_text}.png

Downloading Memes

memegen.link returns HTTP 404 status but valid image body — many HTTP clients reject 404 URLs.

Always download first, then verify:

curl -s -o /tmp/meme.png "https://api.memegen.link/images/drake/top/bottom.png"
file /tmp/meme.png       # Should say "PNG image data"
ls -la /tmp/meme.png     # Should be >10KB for a real meme

If the file is empty or <1KB, the template ID is probably wrong.

URL Encoding Rules

CharacterEncodingExample
Space_hello_world
?~qwhy~q
/~syes~sno
#~htag~h1
%~p100~p
"''he_said_''hi''
_ (literal)__double__underscore
Newline~nline1~nline2
Blank line_Top only: /top_text/_

Query Parameters

ParamTypeDescription
backgroundURLCustom background image URL
widthintScale to width (px), use 800 for larger
heightintScale to height (px)
fontstringFont name (see /api/fonts)
layoutstringdefault or top (text positioning)
colorstringText color: HTML name or hex (FF80ED)

🎯 VARIETY RULE — Keep It Fresh

Prefer variety over repetition. Before picking a template:

  1. Check what templates you've used recently (keep a history if possible)
  2. Try to pick a different template from the last 5 memes
  3. BUT — if a specific template is clearly the best fit for the joke, use it even if recent
  4. After generating, log the template used for future reference

Humor Configuration

This skill includes a humor profile system — an equalizer for meme tone, darkness, and cultural targeting. See humor-profiles.md for the full reference.

Default Profile

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-artemiopadilla-memegen": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.