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_SamplingUtils > Tag Normalize and Combine

ComfyUI Node: Tag Normalize and Combine

Class Name

TagNormalizeCombine

Category
advanced/text
Author
silveroxides (Account age: 2211days)
Extension
ComfyUI_SamplingUtils
Latest Updated
2026-06-03
Github Stars
0.02K

How to Install ComfyUI_SamplingUtils

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

Streamline tag management by normalizing and combining tag sets with scores for efficient organization and prioritization.

Tag Normalize and Combine:

The TagNormalizeCombine node is designed to streamline and enhance the process of managing and utilizing tags by normalizing and combining two sets of tags along with their associated scores. This node is particularly beneficial for tasks that require the integration of multiple tag datasets, ensuring that the tags are deduplicated and sorted based on their normalized scores. By doing so, it provides a more organized and efficient way to handle tags, which can be crucial in applications like image tagging, content categorization, or any scenario where tags play a significant role. The node's primary function is to take two sets of tags and their respective scores, normalize these scores, and then combine the tags into a single, deduplicated list sorted by the normalized scores. This ensures that the most relevant tags are prioritized, enhancing the overall quality and utility of the tag data.

Tag Normalize and Combine Input Parameters:

tags_1

This parameter accepts the first set of tags, which can be provided as either a string or a list. The tags represent the initial dataset that you want to normalize and combine. There are no specific minimum or maximum values for this parameter, but it is essential to ensure that the tags are relevant to your task for optimal results.

tags_2

Similar to tags_1, this parameter takes the second set of tags, also in the form of a string or a list. This set will be combined with the first set after normalization. The effectiveness of the node depends on the relevance and quality of the tags provided.

scores_1

This optional parameter is a dictionary of scores corresponding to the tags in tags_1. These scores are used to determine the importance or relevance of each tag. If not provided, the node will generate an even distribution of scores for the tags. The scores should ideally be between 0 and 1, with higher scores indicating greater importance.

scores_2

This parameter functions like scores_1 but applies to the tags in tags_2. It is also optional and can be left out if you want the node to automatically generate scores. Providing accurate scores can significantly impact the node's ability to prioritize and sort the tags effectively.

Tag Normalize and Combine Output Parameters:

deduped_tags

This output provides a string of deduplicated tags, sorted by their normalized scores in descending order. It represents the combined and refined list of tags from both input sets, ensuring that only the most relevant tags are included.

normalized_scores

This output is a dictionary containing the normalized scores for each tag in the deduplicated list. These scores reflect the relative importance of each tag after the normalization and combination process, providing a clear indication of which tags are most significant.

Tag Normalize and Combine Usage Tips:

  • Ensure that the tags provided in tags_1 and tags_2 are relevant and well-defined to maximize the effectiveness of the node.
  • If you have specific importance levels for your tags, provide accurate scores in scores_1 and scores_2 to enhance the prioritization process.
  • Use this node to consolidate tags from multiple sources, making it easier to manage and utilize them in downstream tasks.

Tag Normalize and Combine Common Errors and Solutions:

Invalid JSON in scores

  • Explanation: This error occurs when the scores provided in scores_1 or scores_2 are not in a valid JSON format.
  • Solution: Ensure that the scores are correctly formatted as JSON strings or dictionaries. Double-check for any syntax errors or missing elements in the JSON structure.

Missing tags input

  • Explanation: This error arises when either tags_1 or tags_2 is not provided, which is necessary for the node to function.
  • Solution: Make sure to provide at least one set of tags in tags_1 or tags_2 to enable the node to perform its operations.

Tag Normalize and Combine Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_SamplingUtils
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 Normalize and Combine