Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline text prompt modifications by replacing specific substrings, enhancing workflow efficiency for AI artists.
The easy promptReplace node is designed to streamline the process of modifying text prompts by allowing you to replace specific substrings within a given prompt. This node is particularly useful for AI artists who need to make quick and efficient adjustments to their text prompts without manually editing each instance. By specifying up to three pairs of substrings to find and replace, you can easily customize and refine your prompts to better suit your creative needs. This node simplifies the text editing process, making it more intuitive and less time-consuming, ultimately enhancing your workflow and productivity.
This is the main text input where you provide the initial prompt that you want to modify. The prompt can be multiline, allowing for more complex and detailed text inputs. This parameter is required and must be provided for the node to function. The default value is an empty string.
This parameter specifies the first substring that you want to find within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
This parameter specifies the substring that will replace the first substring found within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
This parameter specifies the second substring that you want to find within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
This parameter specifies the substring that will replace the second substring found within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
This parameter specifies the third substring that you want to find within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
This parameter specifies the substring that will replace the third substring found within the prompt. It is optional and can be left empty if not needed. The default value is an empty string.
The output is the modified prompt after all specified find-and-replace operations have been performed. This output is a single string that reflects the changes made based on the input parameters. It allows you to see the final version of your prompt with all the specified replacements applied.
© Copyright 2024 RunComfy. All Rights Reserved.