Nodes/Comfyroll Studio/πŸ“± CR Simple Meme Template
ComfyUI Node Runs on cloud

πŸ“± CR Simple Meme Template

Top/bottom Impact-font caption text, done in one node

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
πŸ“± CR Simple Meme Template
  • image
  • image
  • show_help
β—„presetβ–Ύβ–Ί
β—„text_toptext_topβ–Ί
β—„text_bottomtext_bottomβ–Ί
β—„font_nameβ–Ύβ–Ί
β—„max_font_size150β–Ί
β—„font_colorβ–Ύβ–Ί
β—„font_outlineβ–Ύβ–Ί
β—„bar_colorβ–Ύβ–Ί
β—„bar_optionsβ–Ύβ–Ί
β—„font_color_hex#000000β–Ί
β—„bar_color_hex#000000β–Ί

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, or custom to control everything yourself.
  • font_name, max_font_size, font_color (+ font_color_hex if custom), font_outline - text styling.
  • bar_color (+ bar_color_hex if 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.

Category🧩 Comfyroll Studio/πŸ‘Ύ Graphics/πŸ“± Template

Inputs (12)

NameTypeDefaultDescription
imageIMAGEβ€”
presetCOMBO4 options: custom, One Does Not Simply ... MEME IN COMFY, This is fine., Good Morning ... No Such Thing!
text_topSTRINGtext_topβ€”
text_bottomSTRINGtext_bottomβ€”
font_nameCOMBO10 options: Roboto-Regular.ttf, Quicksand-Bold.ttf, Oswald-Bold.ttf, comic.ttf, AlumniSansCollegiateOne-Regular.ttf, NotoSansArabic-Regular.ttf, +4
max_font_sizeINT15020–2048β€”
font_colorCOMBO30 options: custom, white, black, red, green, blue, +24
font_outlineCOMBO4 options: none, thin, thick, extra thick
bar_colorCOMBO30 options: custom, white, black, red, green, blue, +24
bar_optionsCOMBO4 options: no bars, top, bottom, top and bottom
font_color_hexoptSTRING#000000β€”
bar_color_hexoptSTRING#000000β€”

Outputs (2)

NameTypeDescription
imageIMAGEβ€”
show_helpSTRINGβ€”