Visit ComfyUI Online for ready-to-use ComfyUI environment
Refine AI art prompts by excluding unwanted keywords for focused output.
The prompt_blacklist
node is designed to help you refine and clean your AI-generated art prompts by removing unwanted tags or keywords. This node is particularly useful when you want to exclude specific elements from your prompts to achieve a more focused and desired output. By specifying a list of keywords or tags to be blacklisted, the node will filter out these elements from your base prompt, ensuring that the final prompt is free from any undesired content. This functionality is essential for artists who want to maintain a certain quality or style in their AI-generated artwork by eliminating irrelevant or distracting elements.
The string
parameter is the base prompt that you want to clean. It should be a multiline string containing various tags or keywords separated by commas. This is the primary input that the node will process to remove unwanted elements. The default value is an empty string, and it is a required input.
The Blacklist_Prompt
parameter is a multiline string where you specify the tags or keywords you want to remove from the base prompt. Each tag should be separated by a comma. This parameter allows you to customize the filtering process to exclude specific elements that you do not want in your final prompt. The default value is an empty string, and it is a required input.
The string
output parameter is the cleaned version of the base prompt after removing the blacklisted tags. This output will contain only the tags or keywords that were not specified in the Blacklist_Prompt
, providing you with a refined prompt for your AI-generated artwork.
The show_help
output parameter provides a helpful message explaining how to use the blacklist functionality. It includes an example to guide you on how to format your base prompt and blacklist prompt correctly. This output is particularly useful for new users who may need guidance on how to effectively use the node.
string
parameter) and blacklist prompt (Blacklist_Prompt
parameter) are properly formatted with tags separated by commas to achieve accurate filtering.show_help
output to understand the correct usage and formatting of the input parameters, especially if you are new to using this node.class_type
property, which is essential for execution.class_type
property defined. Check your prompt configuration and add the missing property where necessary.{class_type}
does not exist."© Copyright 2024 RunComfy. All Rights Reserved.