π± CR Simple Meme Template
Top/bottom Impact-font caption text, done in one node
- image
- image
- show_help
Comfyroll has a genuine meme-captioning node, and it's exactly what it sounds like - feed it an image, type top and bottom text, and it slaps classic meme-style captions on. The font list even includes impact.ttf, in case there was any doubt about which era of internet culture this node is built for.
It's a small, self-contained utility for a real use case: you generated a funny image and want the actual meme text on it without opening an editor.
How it works
You supply the base image, then text_top and text_bottom. font_name picks from the pack's bundled font set (ten options, including impact.ttf, comic.ttf, and a few decorative ones), max_font_size caps how large the text gets before it's shrunk to fit the image width. font_color and bar_color each have a big list of named colors plus a custom option - pick custom and set the matching font_color_hex/bar_color_hex field to any hex value you want instead. font_outline adds a stroke around the text (none through extra thick), which is what keeps meme captions readable over busy backgrounds. bar_options optionally adds solid color bars behind the text (no bars, top, bottom, or top and bottom) - the classic white-strip-behind-black-text look.
The preset dropdown includes three genuinely named classic templates ("One Does Not Simply β¦ MEME IN COMFY", "This is fine.", "Good Morning β¦ No Such Thing!") alongside custom - picking one of the three presets over custom is the fast path if you just want a recognizable format without dialing in font/color/bar settings yourself.
The inputs and outputs that matter
image- your base picture.text_top/text_bottom- the caption text. This is what you're actually here to set.preset- pick a named classic look, orcustomto control everything yourself.font_name,max_font_size,font_color(+font_color_hexif custom),font_outline- text styling.bar_color(+bar_color_hexif custom),bar_options- the optional background bars behind the text.
Output: a single image with the caption baked in, plus the standard show_help link.
How to install it
Comfyroll Studio (Suzie1 and RockOfFire) - ships its own font files, so the font_name dropdown isn't empty on a fresh install.
- ComfyUI Manager - search "Comfyroll Studio," install, restart.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.
Common issues & troubleshooting
Text is tiny or barely visible. Check max_font_size first - it's a ceiling, and the node shrinks text to fit the image width, so a caption with a lot of characters on a narrow image will end up small regardless of the max. Shorten the text or increase image width if you need bigger captions. Also check font_outline - with none selected, light-colored text can vanish into a bright background.
Color picked from the dropdown isn't showing correctly. Make sure you actually selected custom in font_color/bar_color if you're relying on the hex fields - leaving the dropdown on a named color ignores whatever you typed into font_color_hex/bar_color_hex.
Font not rendering as expected. The font_name list only shows fonts bundled with (or found by) the pack - if you need a font that isn't in the list, that's a fonts-folder issue on the install, not something you fix from this node's widgets.
Comfyroll nodes missing entirely. This node sits in the Graphics group, which is the part of the pack most exposed to font/image-library import failures. Check your startup log for Comfyroll Studio: Failed to load Graphics nodes and a trailing NameError: name 'CR_HalftoneGrid' is not defined - a symptom of an earlier import error, usually an incompatible Pillow version pulled in by another custom node. Force-reinstall Pillow (pip install --upgrade --force-reinstall pillow) and restart.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| preset | COMBO | 4 options: custom, One Does Not Simply ... MEME IN COMFY, This is fine., Good Morning ... No Such Thing! | |
| text_top | STRING | text_top | β |
| text_bottom | STRING | text_bottom | β |
| font_name | COMBO | 10 options: Roboto-Regular.ttf, Quicksand-Bold.ttf, Oswald-Bold.ttf, comic.ttf, AlumniSansCollegiateOne-Regular.ttf, NotoSansArabic-Regular.ttf, +4 | |
| max_font_size | INT | 15020β2048 | β |
| font_color | COMBO | 30 options: custom, white, black, red, green, blue, +24 | |
| font_outline | COMBO | 4 options: none, thin, thick, extra thick | |
| bar_color | COMBO | 30 options: custom, white, black, red, green, blue, +24 | |
| bar_options | COMBO | 4 options: no bars, top, bottom, top and bottom | |
| font_color_hexopt | STRING | #000000 | β |
| bar_color_hexopt | STRING | #000000 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| show_help | STRING | β |