ComfyUI > Nodes > ComfyUI Level Pixel > Tag Category Keeper [LP]

ComfyUI Node: Tag Category Keeper [LP]

Class Name

TagCategoryKeeper|LP

Category
LevelPixel/Tags
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

Install this extension via the ComfyUI Manager by searching for ComfyUI Level Pixel
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Level Pixel 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

Tag Category Keeper [LP] Description

Filters and retains tags by specified categories for streamlined tag management and analysis.

Tag Category Keeper [LP]| Tag Category Keeper [LP]:

The TagCategoryKeeper| Tag Category Keeper [LP] node is designed to help you manage and filter tags based on specified categories. Its primary function is to retain only those tags that belong to certain categories you wish to include. This node is particularly useful when you have a large set of tags and need to focus on specific categories, ensuring that only relevant tags are kept for further processing or analysis. By using this node, you can streamline your workflow, making it easier to handle and organize tags according to your creative needs. The node operates by comparing each tag against a predefined category list and includes tags that match the specified categories, providing a refined set of tags as output.

Tag Category Keeper [LP]| Tag Category Keeper [LP] Input Parameters:

tags

The tags parameter is a string input that represents the list of tags you want to process. Each tag should be separated by a comma, and the node will parse these tags to determine which ones belong to the specified categories. This parameter is crucial as it forms the basis of the node's operation, allowing it to filter and retain only the tags that match the desired categories. There are no explicit minimum or maximum values for this parameter, but it is important to ensure that the tags are formatted correctly for accurate processing.

include_categories

The include_categories parameter is a string input that specifies the categories you want to include in the filtering process. Similar to the tags parameter, categories should be separated by commas. This parameter allows you to define which categories are important for your task, and the node will ensure that only tags belonging to these categories are retained. If left empty, no specific categories will be targeted, and the node will not filter the tags based on categories. The default value is an empty string, indicating no categories are specified by default.

Tag Category Keeper [LP]| Tag Category Keeper [LP] Output Parameters:

result

The result parameter is a string output that contains the filtered list of tags. After processing the input tags against the specified categories, the node outputs a comma-separated string of tags that match the included categories. This output is essential as it provides you with a refined list of tags that are relevant to your specified categories, allowing for more focused and efficient use in subsequent tasks or analyses.

Tag Category Keeper [LP]| Tag Category Keeper [LP] Usage Tips:

  • Ensure that your tags input is well-formatted, with each tag separated by a comma, to facilitate accurate processing by the node.
  • Use the include_categories parameter to specify categories that are most relevant to your project, which will help in filtering out unnecessary tags and focusing on what matters most.

Tag Category Keeper [LP]| Tag Category Keeper [LP] Common Errors and Solutions:

Incorrect Tag Formatting

  • Explanation: If the tags are not properly formatted (e.g., missing commas or extra spaces), the node may not process them correctly.
  • Solution: Double-check the formatting of your tags to ensure they are separated by commas and free of unnecessary spaces.

Empty Result Output

  • Explanation: If the include_categories parameter is not set correctly or does not match any categories in the tags, the result may be empty.
  • Solution: Verify that the include_categories parameter is correctly specified and matches the categories present in your tags.

Tag Category Keeper [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
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.

Tag Category Keeper [LP]