ComfyUI  >  Nodes  >  comfyui_tag_filter

ComfyUI Extension: comfyui_tag_filter

Repo Name

comfyui_tag_fillter

Author
sugarkwork (Account age: 915 days)
Nodes
View all nodes (5)
Latest Updated
8/13/2024
Github Stars
0.0K

How to Install comfyui_tag_filter

Install this extension via the ComfyUI Manager by searching for  comfyui_tag_filter
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_tag_filter 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

comfyui_tag_filter Description

comfyui_tag_filter is a custom node for ComfyUI that categorizes and filters tags generated by tools like WD14Tagger, returning the refined results based on each category.

comfyui_tag_filter Introduction

The comfyui_tag_fillter extension is a powerful tool designed to help AI artists manage and refine tags generated by tools like WD14Tagger. This extension allows you to categorize, filter, and manipulate tags to better suit your creative needs. By organizing tags into specific categories, you can easily include or exclude certain types of tags, making your AI-generated art more precise and tailored to your vision.

How comfyui_tag_filter Works

At its core, comfyui_tag_fillter works by taking a list of tags and sorting them into predefined categories. These categories can then be filtered based on your preferences. For example, if you have tags like "smile" and "grin," they would be categorized under "expression." Similarly, tags related to colors would fall under the "color" category.

Think of it like organizing a messy art studio: you have different types of supplies (tags) scattered around, and this extension helps you sort them into labeled bins (categories). Once everything is sorted, you can easily pick out the supplies you need or put away the ones you don't.

comfyui_tag_filter Features

TagFilter

The TagFilter feature allows you to extract tags that belong to specific categories. For instance, if you only want tags related to facial expressions, you can filter out everything else and keep just the "expression" tags.

  • Include Categories: Specify the categories you want to include by listing them, separated by commas. For example, entering "expression" will filter out all tags except those related to expressions.
  • Exclude Categories: Conversely, you can specify categories to exclude. If you want to keep clothing tags but remove color tags, you would enter "cloth" in include_categories and "color" in exclude_categories. You can refer to the file to see how tags are categorized. This file is automatically sorted by AI but may contain some inaccuracies, which are being manually adjusted over time.

TagRemover

The TagRemover feature is useful when you want to delete specific tags from your prompt. For example, if you want to remove all expression tags or color tags, you can do so easily with this feature. It works well in combination with TagFilter, allowing you to fine-tune your tag list.

TagReplace (Experimental)

The TagReplace feature allows you to replace tags within the same category. For example, if your prompt includes the tag "long hair" and you want to replace it with "twintails," you can do so using this feature.

  • Replacement Accuracy: You can specify how closely the replacement tag should match the original tag, on a scale from 0.0 to 1.0. A value of 1.0 means the tags must match exactly within the category, while a lower value like 0.3 allows for more flexibility. If the replacement isn't working well, try lowering the value.

Troubleshooting comfyui_tag_filter

Here are some common issues you might encounter while using comfyui_tag_fillter and how to solve them:

Issue: Tags are not being categorized correctly

  • Solution: Check the file to see how tags are categorized. If you find inaccuracies, you may need to manually adjust the file.

Issue: TagReplace is not working as expected

  • Solution: Try adjusting the replacement accuracy value. Lowering the value can make the replacement more flexible and likely to succeed.

Issue: Filtered tags are not appearing in the output

  • Solution: Ensure that you have correctly specified the categories in the include_categories or exclude_categories fields. Double-check for any typos or formatting errors.

Learn More about comfyui_tag_filter

To further enhance your experience with comfyui_tag_fillter, here are some additional resources:

  • : Detailed documentation on how to use the extension.
  • Community Forums: Join forums and communities where you can ask questions, share your experiences, and get support from other AI artists.
  • Tutorials: Look for online tutorials that provide step-by-step guides on using comfyui_tag_fillter effectively. By leveraging these resources, you can master the use of comfyui_tag_fillter and create more refined and accurate AI-generated art.

comfyui_tag_filter Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.