Nodes/ComfyUI-Sticker/Image To Sticker
ComfyUI Node

Image To Sticker

A one-knob white-outline node (and the repo is already gone)

By turkyden·Created 57 years ago·Updated 57 years ago· 0
Image To Sticker
  • image
  • IMAGE
stroke_width0

The whole pack is one node, the node is one knob, and the README is one line: "image to sticker." That's the entire spec, and honestly it's about all you need. Image To Sticker takes an image, paints a white stroke around the subject, and hands you back a PNG that reads like a die-cut sticker instead of a flat rectangle. If you've ever made a batch of Discord/WhatsApp stickers by hand - cut out the subject, open GIMP, add the white border, export forty times - this is that last step as a node.

It belongs at the end of a very standard sticker pipeline. Feed it an image that's already had its background ripped out - BiRefNet is the default there and ComfyUI ships it in core these days, so you don't even need a third-party pack - then this node stamps the outline, then you save. Generate → cut out → outline → export. This node owns exactly one of those steps, and it owns it fine.

What it actually does

The schema tells you everything: one image in, one IMAGE out, and a single integer called stroke_width. That's the thickness of the white border in pixels, from 0 to 64 in steps of 1. Crank it to 8 or 12 and your subject gets a clean sticker outline; leave it at the default of 0 and nothing happens - literally, the node becomes a pass-through.

I'll be straight with you about the mechanism, because I can't read the source anymore: the repo 404s on GitHub as of this writing, so I'm reading the node from its saved interface, not its code. But there's not much ambiguity in a node this small. White stroke around the subject, thickness in pixels, zero is "off." That's it. There are no models, no checkpoints, no API keys - pure pixel math, fast on any hardware, costs you nothing in VRAM.

The two settings that matter

There are only two inputs, so this is a short list:

  • image - whatever you want stickered. Wire in your generated image, ideally one that's already had its background removed. A solid white border around a rectangular JPEG is not a sticker, it's a photo with a border.
  • stroke_width - outline thickness, 0–64. Default 0, which does nothing, which trips up more people than it should. 2–4 is subtle, 8–16 reads as a proper sticker.

The single output is an IMAGE, so it wires straight into Save Image (or a VHS node if you're batch-exporting a whole sheet). Nothing else to configure.

Installing it

The README is one line and doesn't document install at all, so you're doing the standard dance:

cd ComfyUI/custom_nodes
git clone https://github.com/turkyden/ComfyUI-Sticker

then restart ComfyUI. ComfyUI Manager should find it by searching "ComfyUI-Sticker," and honestly the Manager route is the one I'd try first, because:

The repo is currently gone. I checked - turkyden/ComfyUI-Sticker returns 404, and it's absent from the author's public repo list and from the Comfy registry. That means a fresh git clone will fail, and Manager may not resolve it either. If you already have it installed, great, keep using it. If you don't, your realistic options are finding a cached copy, or just doing the white outline in post - a 10-second ImageMagick job does the same thing.

Gotchas worth knowing

  • Default is a no-op. If you plug it in and see no change, you haven't broken anything - bump stroke_width above 0.
  • 64px is the ceiling. You can't build those chunky cartoon outlines with this; if you want a fat border you're doing it elsewhere.
  • It needs a transparent input to look right. Pair it with a background-removal node upstream, or the "sticker" is just a white rectangle.
  • The author has gone quiet on this one. turkyden (Dengju Deng) makes other small utilities like ComfyUI-SmartCrop, but this pack looks abandoned - treat it as a finished little utility, not something to build a workflow on.

It's a tiny node that may not even install fresh anymore. But if you have it, it does one boring job with zero fuss - which, for batch sticker work, is exactly the kind of boring you want.

Categoryimage

Inputs (2)

NameTypeDefaultDescription
imageIMAGE
stroke_widthINT00–64

Outputs (1)

NameTypeDescription
IMAGEIMAGE