自动标签生成Danbooru模型集成ComfyUI扩展
基于 HuggingFace 的 Dart 模型,为 ComfyUI 提供自动生成 Danbooru 标签的节点,快速生成高质量标签以辅助提示词与筛选。
💡 为生成图片自动生成 Danbooru 标签,便于筛选与扩展提示词。
🍴 5 Forks💻 Python🔄 2025-03-30
https://pan.quark.cn/s/6862a2001521
📄 README
ComfyUI-Dart
日本語版READMEはこちら。
Custom node for ComfyUI.
Add nodes that generates danbooru tags by Dart(Danbooru Tags Transformer).
Installation
cd <ComfyUI directory>/custom_nodes
git clone https://github.com/nkchocoai/ComfyUI-Dart.git
Nodes
Dart Generate
Generate danbooru tags by Dart(Danbooru Tags Transformer).
See the following URL for the syntax of prompt.
https://huggingface.co/p1atdev/dart-v1-sft#prompt-guidde
Tags specified with remove_tags will not be output.
Dart Compose Prompt
Output input “prompt” of Dart Generate node (dart-v1).
Dart Compose Prompt V2
Output input “prompt” of Dart Generate node (dart-v2).
Dart Get Aspect Ratio
Output aspect ratio tags for dart-v2 prompts from width and height.
Dart Generation Config
Output input “config” of Dart Generate node.
Dart Ban Tags From Regex
Output input “ban tags” of Dart Generate node from regular expressions.
Search with multiple regular expressions by splitting into multiple lines.
Dart Generate(Advanced)
Output a token ID sequence of danbooru tags generated by Dart(Danbooru Tags Transformer).
See the following URL for the syntax of prompt.
https://huggingface.co/p1atdev/dart-v1-sft#prompt-guidde
Dart Decode
Decode the token ID sequence.
Dart Rearranged By Animagine
Rearrange the token ID sequence in the order of Animagine prompt.
Dart Decode By Splited Parts
Output decoded strings of the token ID sequence split by part.
Dart Remove Tag Token
Remove the specified tag from the token ID sequence.