Skip to content
cccskills
FreePublished on GitHub

meme-generator

Create memes and reaction images from a supplied picture and short text. Choose outlined text over the image or a caption bar above or below it, with automatic font sizing and line wrapping for Chinese and English.

OriginalShow the original description

表情包 / Meme 生成:给图片加经典上下大字(白字黑边)做梗图,或在图上/下加配文条做反应图('当…的时候'格式)。中英文都支持,自动换行和字号自适应。当用户说 表情包、做表情包、meme、梗图、reaction 图、配图加字、给这张图加字、做个梗、反应图、当xx的时候 时使用。

基于 shared/scripts/meme_ops.py(Pillow)。与 card-quote 区别:card-quote 做精致金句卡片,meme-generator 做梗图/表情包;与 image-editing watermark 区别:那个加水印,本 SKILL 加梗字。

See how to install

Good for

  • Adding classic top and bottom text to a picture
  • Creating a reaction image with a caption above it
  • Adding a punchline in a bar below an image
  • Laying out captions that mix Chinese and English

Files included (1)

  • SKILL.md3.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

表情包 / Meme 生成

给图片加梗字做表情包。两种排版:经典上下大字叠在图上,或加纯色配文条(反应图格式)。 走 skills/shared/scripts/meme_ops.py,不要手算字号/换行——脚本已做自适应字号、 中英文换行、白字黑边。

精致金句卡片见 card-quote;小红书知识卡见 card-xiaohongshu;加水印见 image-editing。

输入

字段必填说明
底图是表情包底图/截图/反应图(没给就问)
文字是上下字(overlay)或配文(bar)
排版否overlay 上下叠字(默认)/ top-bar 顶配文 / bottom-bar 底配文

输出(outputs/主题名/)

  • 表情包图片(jpg/png)

执行步骤

脚本路径(相对项目根):skills/shared/scripts/meme_ops.py(make -h 看参数)。

# 经典上下大字(白字黑边叠图上)
python skills/shared/scripts/meme_ops.py make -i cat.jpg \
  -o outputs/主题名/out.jpg --top "老板说" --bottom "这个需求很简单"

# 反应图:顶部配文条("当…的时候"格式)
python skills/shared/scripts/meme_ops.py make -i react.jpg \
  -o outputs/主题名/out.jpg --layout top-bar \
  --caption "当我周一早上打开电脑看到一堆消息"

# 底部黑条白字
python skills/shared/scripts/meme_ops.py make -i img.jpg -o out.png \
  --layout bottom-bar --caption "这就是生活" --bar-color black --text-color white

排版怎么选

排版效果适用
overlay(默认)白字黑边叠在图上、顶/底经典梗图(top/bottom text)
top-bar图上方加白条黑字反应图、"当…的时候"
bottom-bar图下方加配文条吐槽、点题
  • 英文默认转大写(更"梗"),--no-upper 关闭。
  • 描边粗细 --stroke(overlay,默认按字号自适应)。

规则

  1. 文字精炼——梗图靠短句,别写长段。
  2. 字号/换行由脚本自适应,别手动塞超长文本(会自动缩小但太长仍不好看)。
  3. overlay 用 --top/--bottom;bar 布局用 --caption。
  4. 要透明或多次叠加时输出 .png,一般发图用 .jpg。
  5. 产物统一进 outputs/主题名/。

参考来源

经典 meme(Impact 白字黑边上下排)与中文反应图(配文条)是社媒高传播格式。用 Pillow 做 自适应字号、中英混排换行、描边,输出确定可复现。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-image-gen

FreeSummary

Generate images from written descriptions, transform existing images with editing instructions, or create several variations. Choose image dimensions and quantity, then save the results using an OpenAI-compatible service or apimart with your own API key.

  • Generating an illustration from a written description
  • Changing an image's background using instructions
  • Creating several variations of an existing image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-music

FreeSummary

Generate background music for short videos, vlogs, and social posts from descriptions of mood, style, and instruments. Download MP3 audio, optionally include sung lyrics, and use shared scripts to trim tracks, adjust loudness, or add music to videos.

  • Generating background music for a vlog intro
  • Creating instrumental music to match a social post
  • Generating a sung track from supplied lyrics
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-video-gen

FreeSummary

Create new videos from written scene descriptions or still images using external AI services. Set the aspect ratio and duration, animate a character image, and request generated audio when the selected model supports it.

  • Generate a short video from a scene description
  • Animate a still image
  • Create character motion from a starting image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

asset-manager

FreeSummary

Organize generated images, videos, and text in outputs/ by date, platform, and type. Add tags, search filenames and content, produce asset lists and reports, and preview archive moves before applying them to make past work easier to reuse.

  • Organizing generated assets by date, platform, and type
  • Finding past content through keywords and tags
  • Listing assets for a specific account or platform
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-denoise

FreeSummary

Reduce background noise in audio recordings or video soundtracks with three processing levels. Keep the original file, create a cleaned version, and receive a report of the settings used and file details before and after processing.

  • Reducing fan or air conditioner noise in recordings
  • Cleaning speech in podcasts and interviews
  • Reducing noise in a video's audio track
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-editing

FreeSummary

Edit audio files by trimming sections, converting formats, matching loudness, or extracting sound from videos. You can also join recordings, add fades, and change playback speed while keeping the original pitch.

  • Trim a recording to the section you need
  • Convert audio formats and match loudness
  • Extract audio from a video
ZJU-REAL/Easel4KUpdated Oct 21, 2026

See all skills by ZJU-REAL

Report a problem with this skill