← 返回
内容创作 中文

Smart Meme Generator

Generates context-aware memes by selecting optimal templates and crafting witty captions for any topic, situation, or social media content.
根据话题或情境选择最佳模板,配以妙趣文字,生成上下文感知的 meme。
olisim02
内容创作 clawhub v1.1.0 1 版本 99935.6 Key: 无需
★ 0
Stars
📥 1,553
下载
💾 40
安装
1
版本
#latest

概述

Smart Meme Generator 🎭

Generate actual meme images from any topic. Uses imgflip API (free) for real image generation — returns shareable URLs.

How It Works

Two-step process:

  1. Template selection — analyzes topic keywords to pick the best meme format
  2. Image generation — creates the actual meme image with your captions via imgflip API

The agent (you) provides the creative captions. The script handles template matching and image creation.

Commands

Select best template for a topic

python3 scripts/generate_meme.py "your topic here"

Returns recommended template and box count.

Generate actual meme image

python3 scripts/generate_meme.py --template drake --captions "Bad option" "Good option"

Returns a real image URL (e.g., https://i.imgflip.com/xxxxx.jpg).

List all templates

python3 scripts/generate_meme.py --list

JSON output (for automation)

python3 scripts/generate_meme.py --template drake --captions "text1" "text2" --json

Available Templates (20+)

KeyNameBoxesBest For
----------------------------
drakeDrake Hotline Bling2Comparisons, preferences
distractedDistracted Boyfriend3Temptation, switching loyalties
fineThis Is Fine2Chaos, denial, everything's broken
brainExpanding Brain4Escalating levels, galaxy brain takes
catWoman Yelling at Cat2Arguments, confusion
changeChange My Mind1Hot takes, controversial opinions
buttonsTwo Buttons3Impossible choices, dilemmas
pikachuSurprised Pikachu2Obvious/predictable outcomes
stonksStonks1Money, trading, crypto
panikPanik Kalm Panik3Panic-relief-panic sequences
buff_dogeBuff Doge vs Cheems4Then vs now comparisons
unoUNO Draw 252Refusing to do something
always_has_beenAlways Has Been2Revelations
gru_planGru's Plan4Plans that backfire
trade_offerTrade Offer3Deals, exchanges
bernieBernie Asking1Repeated requests
left_exitLeft Exit Off Ramp3Ignoring the obvious choice
disaster_girlDisaster Girl2Evil satisfaction
hide_painHide the Pain Harold2Pretending everything's OK
think_about_itThink About It2Big brain logic

Workflow for Agent

When user asks for a meme:

  1. Run template selection with their topic to get the best format
  2. Write witty, specific captions that fit the template (be creative, match internet humor)
  3. Generate the image with --captions
  4. Send the image URL to the user

Caption tips:

  • Keep text SHORT — memes aren't essays
  • Use internet humor conventions (lowercase, no periods, specific > generic)
  • Match the template's energy (drake = preference, pikachu = obvious outcome, etc.)
  • Be specific to the topic — generic captions are never funny

Setup

The skill ships with a free imgflip account. To use your own:

export IMGFLIP_USER="your_username"
export IMGFLIP_PASS="your_password"

Register free at https://imgflip.com/signup

Dependencies

None — pure Python stdlib (urllib only).

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 03:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 861 📥 200,188
developer-tools

CoinGecko

olisim02
通过CoinGecko免费API获取数千种加密货币的实时价格、市值、24小时涨跌、热门币种及代币详情。
★ 1 📥 2,192
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,547