meme-generation

Generate meme images from templates or AI scenes with caption overlays.

Updated May 4, 2026
One-click install
npx skills add https://github.com/JamesFincher/gengar --skill meme-generation-jamesfincher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meme-generation
Source: https://github.com/JamesFincher/gengar/tree/main/optional-skills/creative/meme-generation
Command: npx skills add https://github.com/JamesFincher/gengar --skill meme-generation-jamesfincher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, requests, and includes scripts (resource) components.

What problem does it solve?

It helps you quickly turn a topic or situation into a shareable meme image without manually finding templates and hand-placing text.

Core Features & Use Cases

  • Template-based meme rendering: Selects a curated meme template (or resolves an imgflip template by name/ID) and overlays captions with correct text placement.
  • Classic and AI-scene modes: Supports direct template memes and an AI-image workflow where you generate a scene and then add text.
  • Readable output controls: Automatically uses outline text for classic overlay and can switch to black-bar formatting for busy images to keep text legible.

Quick Start

Ask for a meme about a topic and provide two short captions, and the skill will return a generated image file you can send back to the user.

Frequently Asked Questions about meme-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a meme image from a template and custom text?

To generate a meme image, you select a curated template or imgflip template ID and provide short caption text. The skill overlays your captions onto the image using Pillow, rendering a final PNG file with auto-scaled and wrapped text.

Can I use AI-generated scenes for meme generation instead of classic templates?

Yes, meme generation supports an AI-scene mode where you generate a custom scene image and then add text. It can apply black-bar formatting over busy AI images to keep your caption text legible.

Does the meme-generation skill require Pillow and requests installed?

Yes, the skill requires Pillow and requests installed in your environment to function. Pillow handles the PNG output rendering, text positioning, and font auto-scaling, while requests is used for fetching templates.

What is the best way to ensure caption text remains readable on busy background images?

The best way to ensure caption text remains readable on busy images is to use the black-bar formatting option. For classic template overlays, the skill automatically applies outline text to maintain text legibility without altering the background.

How does text wrapping and font scaling work when overlaying captions on a meme template?

Text wrapping and font scaling are handled automatically by the Pillow rendering engine during meme generation. The skill uses field-based text positioning to ensure your provided captions fit within the template boundaries and output a valid PNG.

What are the limitations when using imgflip template names or IDs for meme generation?

A limitation of using imgflip template names or IDs is that the skill must resolve them correctly to fetch the right image. If the template name is ambiguous or the ID is invalid, the meme generation process will fail to produce the PNG output.