Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline text prompts by removing specified words or phrases for enhanced clarity and focus in AI-generated content.
The PromptCleaner node is designed to streamline and refine text prompts by removing specified words or phrases, enhancing the clarity and focus of your input text. This node is particularly useful for AI artists who need to clean up prompts by eliminating unnecessary or repetitive words, ensuring that the core message is conveyed without distractions. By providing a straightforward method to filter out unwanted elements, the PromptCleaner helps maintain the integrity and intent of your text, making it an essential tool for those looking to optimize their creative workflows.
This parameter represents the input text that you wish to clean. It can be a multiline string, allowing you to input longer passages or multiple lines of text. The text parameter is crucial as it serves as the primary content from which specified words or phrases will be removed. There are no specific minimum or maximum values for this parameter, but it should be a valid string.
This parameter is a comma-separated string of words that you want to remove from the input text. It is case-insensitive and allows you to specify multiple words by separating them with commas. The default value is "man, woman, world", but you can customize it to fit your needs. This parameter directly impacts the output by determining which words will be filtered out from the text.
The output of the PromptCleaner node is a cleaned version of the input text, returned as a single string. This output reflects the original text with the specified words or phrases removed, providing a more concise and focused version of the input. The cleaned text is essential for ensuring that your prompts are clear and free from unwanted elements, making it easier to convey your intended message.
words_to_remove
parameter.text
parameter is a properly formatted string and contains content to be processed.words_to_remove
parameter is not formatted correctly, possibly due to missing commas or incorrect casing.words_to_remove
parameter is a comma-separated list of words, and ensure that it is formatted correctly to match the intended words in the text.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.