Booru Taggers for ComfyUI
An improved and extended node of various Booru taggers (WD taggers, Pixai, Camie, etc.)
ComfyUI Booru Tagger
Modification from pythongosssss
- Migrate to ComfyUI Node v3.
- Separate model loading and inference, much faster running! (No longer need to load models for each image input).
- New model support
- Pixai Tagger v0.9 (onnx model)
- Camie Tagger v2
- CL Tagger v1 (1.00 / 1.01 / 1.02)
- CL Tagger v2 (2.00 / 2.01a)
- AnimeTimm dbv4-full — timm-based taggers with 12,476 tags (caformer, eva02, swinv2)
- Multiple output fields —
tags(combined),general_tags,rating,character_tags
A ComfyUI extension allowing the interrogation of booru tags from images.
Outputs
| Output | Description |
|---|---|
| tags | Combined character + general tags |
| general_tags | Descriptive tags (attributes, clothing, composition, etc.) |
| rating | Top rating tag (safe / sensitive / questionable / explicit) |
| character_tags | Character, copyright, and artist tags |
Models
| Model | Tags | Input Size | License | Gated | |---|---|---|---|---| | WD Series (eva02, vit, swinv2, etc.) | varies | 448² | MIT | No | | Pixai Tagger v0.9 | 13,461 | 448² | Apache-2.0 | No | | Camie Tagger v2 | 70,527 | 512² | ? | No | | CL Tagger v1 (1.00 / 1.01 / 1.02) | 42,163 | 448² | Apache-2.0 | No | | CL Tagger v2 (2.00 / 2.01a) | 106,536 / 108,036 | 384² | Custom | Yes | | AnimeTimm swinv2_base | 12,476 | 256² | GPL-3.0 | Yes | | AnimeTimm eva02_large | 12,476 | 448² | GPL-3.0 | Yes | | AnimeTimm caformer_b36 | 12,476 | 384² | GPL-3.0 | Yes |
Gated models require a HuggingFace token. Accept the license on the model page, then either run
huggingface-cli loginor set theHF_TOKENenvironment variable before first download.
Credits:
- pythongosssss/ComfyUI-WD14-Tagger
- SmilingWolf/wd-v1-4-tags
- toriato/stable-diffusion-webui-wd14-tagger
Models created by:
- WD Taggers: SmilingWolf
- Pixai Tagger: pixai-labs
- Camie Tagger: Camais03
- CL Tagger v1 / v2: cella110n
- AnimeTimm: DeepGHS / narugo1992
Installation
- Clone this repo into the
custom_nodesfolder. - Install dependency (
onnxruntimeoronnxruntime-gpufor CUDA acceleration). - For gated models (CL Tagger v2, AnimeTimm): run
huggingface-cli loginonce, or set theHF_TOKENenvironment variable with your HuggingFace token.
Configuration
Edit models.json to customize defaults:
settings.ortProviders— ONNX Runtime execution providers. GPU is auto-detected.threshold/character_threshold— Per-model default thresholds.HF_ENDPOINT— Mirror/proxy URL for HuggingFace downloads.