r/StableDiffusion • u/mayasoo2020 • 1h ago
Resource - Update Manga screentone ComfyUI node pack
https://github.com/yamasoo/ComfyUI-Manga-Screentone/tree/mainHi all! I split the screentone post-processing out of my own manga workbench and released it as a
**GitHub:**
https://github.com/yamasoo/ComfyUI-Manga-Screentone
**Interactive before/after (drag the divider):**
https://yamasoo.github.io/ComfyUI-Manga-Screentone/

## What it does
It turns AI-generated color images into black & white manga screentone (dots, hatching, cross-hatching, Bayer, flat gray) or a limited color palette.
The main point is **region-based toning** instead of one tone over the whole image:
- Person and background get different tones (different angles avoid moiré where they overlap)
- Background is split by depth, so the far background can be lighter or flat gray
- The person is split into skin / hair / clothes, e.g. untoned skin, solid black hair, lighter tone on clothes
Each region can reuse the main settings, use its own pattern/size/angle, keep line art only, or be solid ink.
## Nodes
| Node | What it does |
|---|---|
| Manga Screentone | Main node: screentone or limited palette |
| Manga Region Tone | Tone settings for one region |
| Manga Person Mask | Anime person segmentation (SkyTNT ISNet) |
| Manga Depth Mask | Depth Anything V2 Small |
| Manga Body Parts | Skin / hair / clothes split |
You don't have to use my mask nodes. SAM, BiRefNet, or hand-painted masks all plug in.
## Install
- ComfyUI-Manager: search **Manga Screentone**, or `comfy node install comfyui-manga-screentone`
- The mask nodes need `onnxruntime` (or `onnxruntime-gpu`) and `opencv-python-headless`. These aren't auto-installed on purpose, so your GPU builds don't get overwritten.
- Models auto-download on first run into the pack's own `models/` folder. README has the URLs and folder layout if you prefer to download manually.
All models are permissively licensed: anime-seg (Apache-2.0), Depth Anything V2 **Small** (Apache-2.0; Base/Large are non-commercial, so they're not used), anime face detector (MIT, optional).
## Getting started
Open **Workflow → Browse Templates → ComfyUI-Manga-Screentone**:
- `recipe_bw_manga_full_regions`: Japanese B&W manga look with every region split (the settings I actually use)
- `recipe_ligne_claire_palette`: Ligne Claire 8-color flat palette, no models needed
Every example includes a Note explaining what each value means and how to tweak it, and every parameter has a hover tooltip.
## Tips
- Tone cell size is in pixels, so **resize to your final size first, then apply the tone**. Resizing after toning causes moiré.
- Skin/hair/clothes uses color clustering, not semantic segmentation. Same-colored hair and clothes can get mixed up; the optional face detector helps a lot.
Feedback and issues are very welcome!