Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline and tidy prompt tags for AI artists by removing duplicates and whitespace to improve tag management efficiency.
The clean_prompt_tags
node is designed to help you streamline and tidy up your prompt tags, ensuring they are clean, organized, and free of redundancies. This node is particularly useful for AI artists who work with complex prompts and need to maintain clarity and efficiency in their tag management. By removing duplicate tags and unnecessary whitespace, the clean_prompt_tags
node helps you create more effective and concise prompts, ultimately improving the quality and performance of your AI-generated art.
This parameter accepts the input text or list of tags that you want to clean. It can be a single string or a list of strings. The function will process this input to remove redundant commas, extra whitespace, and duplicate tags if specified. There is no minimum or maximum value for this parameter, but it should be a valid string or list of strings. The default value is an empty string.
This boolean parameter determines whether duplicate tags should be removed from the input. When set to True
, the node will eliminate duplicate tags, keeping only the first occurrence of each tag. This helps in maintaining a clean and unique set of tags. The default value is True
.
The output is a cleaned and organized string of tags. This string will have redundant commas and extra whitespace removed, and if remove_duplicate_tags
is set to True
, duplicate tags will also be eliminated. The result is a more concise and effective set of tags that can be used in your AI art prompts.
remove_duplicate_tags
parameter to ensure your tags are unique and free of repetitions, which can help in generating more precise and varied AI art.© Copyright 2024 RunComfy. All Rights Reserved.