Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-anima-toolkit > TK Danbooru Tag Getter

ComfyUI Node: TK Danbooru Tag Getter

Class Name

AnimaTKDanbooruTagGetter

Category
TK/text
Author
Ararararararaki (Account age: 442days)
Extension
comfyui-anima-toolkit
Latest Updated
2026-09-16
Github Stars
0.03K

How to Install comfyui-anima-toolkit

Install this extension via the ComfyUI Manager by searching for comfyui-anima-toolkit
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-anima-toolkit in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

TK Danbooru Tag Getter Description

Specialized node for extracting, filtering, and weighting Danbooru tags, beneficial for AI artists categorizing image datasets efficiently.

TK Danbooru Tag Getter:

The AnimaTKDanbooruTagGetter is a specialized node designed to extract, filter, and weight tags from the Danbooru dataset, while preserving natural language segments as they are. This node is particularly beneficial for AI artists who work with image datasets and need to categorize or manipulate tags efficiently. It utilizes a custom-built index from the file data/tag_taxonomy.tsv.gz, eliminating the need for third-party plugins like ComfyUI-Danbooru-Tag-Sorter-Node. This approach significantly improves the accuracy of tag categorization, reducing the number of unclassified words. The node maintains compatibility with previous workflows by preserving the names and order of the first 12 categories, allowing for seamless integration with existing systems. Additionally, it supports inputs like tag_bundle and maintains the semantics of regex_blacklist and tag_blacklist, ensuring that users can continue using their established workflows without disruption.

TK Danbooru Tag Getter Input Parameters:

tag_bundle

The tag_bundle parameter allows you to input a collection of tags that you wish to process. This input is crucial for users who are transitioning from workflows that utilize the Packer system, as it ensures compatibility and continuity. The parameter does not have a predefined set of values, as it is designed to accept a wide range of tag inputs, allowing for flexibility in tag processing.

regex_blacklist

The regex_blacklist parameter is used to specify patterns of tags that should be excluded from processing. By using regular expressions, you can define complex patterns to filter out unwanted tags, ensuring that only relevant tags are considered. This parameter is particularly useful for refining the tag extraction process and improving the quality of the output.

tag_blacklist

Similar to the regex_blacklist, the tag_blacklist parameter allows you to list specific tags that should be ignored during processing. This parameter is straightforward and is used to exclude known tags that are not needed for your specific use case, helping to streamline the tag extraction process.

TK Danbooru Tag Getter Output Parameters:

categorized_tags

The categorized_tags output provides a structured list of tags that have been categorized according to the custom taxonomy. This output is essential for users who need organized and easily interpretable tag data, as it allows for efficient sorting and filtering based on predefined categories.

uncategorized_tags

The uncategorized_tags output contains tags that could not be matched to any category within the custom taxonomy. This output is useful for identifying tags that may require further analysis or manual categorization, ensuring that no data is overlooked in the tagging process.

TK Danbooru Tag Getter Usage Tips:

  • Ensure that your tag_bundle input is comprehensive and accurately reflects the tags you wish to process, as this will directly impact the effectiveness of the node's categorization capabilities.
  • Utilize the regex_blacklist and tag_blacklist parameters to refine your tag extraction process, removing any irrelevant or unwanted tags that could clutter your results.

TK Danbooru Tag Getter Common Errors and Solutions:

"Invalid tag format"

  • Explanation: This error occurs when the input tags do not conform to the expected format, possibly due to incorrect syntax or unsupported characters.
  • Solution: Verify that all tags in the tag_bundle are correctly formatted and free of unsupported characters. Adjust the input to match the expected format.

"Category index not found"

  • Explanation: This error indicates that the node could not locate the custom taxonomy index file data/tag_taxonomy.tsv.gz.
  • Solution: Ensure that the index file is present in the specified directory and is accessible by the node. If missing, regenerate or restore the file to enable proper categorization.

"Regex pattern error"

  • Explanation: This error arises when there is a syntax issue in the regex_blacklist parameter, preventing the node from processing the blacklist correctly.
  • Solution: Review the regular expressions used in the regex_blacklist for syntax errors. Correct any mistakes and ensure that the patterns are valid and compatible with the node's processing capabilities.

TK Danbooru Tag Getter Related Nodes

Go back to the extension to check out more related nodes.
comfyui-anima-toolkit
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

TK Danbooru Tag Getter