Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates advanced text replacement and line manipulation for AI artists, supporting various modes of processing and ordering.
The RunningHubNodeInfoReplace node is designed to facilitate advanced text replacement and line manipulation within node information entries. This node is particularly useful for AI artists who need to dynamically alter text data based on specific patterns or conditions. By leveraging a combination of text matching, replacement, and randomization techniques, this node allows for flexible and creative manipulation of text fields. It supports various modes of line selection and ordering, enabling users to customize how text is processed and replaced. The node's primary goal is to provide a robust tool for managing and transforming text data within a node-based workflow, enhancing the ability to automate and streamline text-related tasks.
This parameter represents the unique identifier for the node. It is a string that helps in distinguishing and managing different nodes within a workflow. The default value is an empty string.
This parameter specifies the name of the field within the node that is being targeted for text replacement. It is a string that identifies which part of the node's data will be manipulated. The default value is an empty string.
This parameter allows you to add a comment or note related to the node's operation. It is a string that can be used for documentation or clarification purposes. The default value is an empty string.
This parameter contains the original text data that will be processed. It is a multiline string, meaning it can contain multiple lines of text, each of which can be individually manipulated. The default value is an empty string.
This parameter is the string pattern that the node will search for within the field_value
. It is used to identify the text that needs to be replaced. The default value is an empty string.
This parameter provides the replacement text for the matched pattern. It is a multiline string, allowing for multiple lines of replacement text. The default value is an empty string.
This parameter is an integer used to initialize the random number generator, which affects the selection of lines and replacement text. It ensures that the randomization process can be replicated if needed. The default value is 0, with a minimum of 0 and a maximum of 0xffffffffffffffff.
This parameter is an integer that determines how much the seed value should be increased after each operation. It allows for controlled progression in the randomization process. The default value is 1, with a minimum of 1 and a maximum of 1000.
This parameter defines the mode of line selection and ordering. It offers several options: "normal", "reverse", "odd_forward", "even_forward", "odd_reverse", and "even_reverse". Each mode provides a different way of processing the lines, affecting how text is selected and replaced. The default mode is "normal".
This output parameter is a dictionary containing the processed node information. It includes the node ID, field name, and the modified field value after text replacement. This output is crucial for integrating the modified text back into the workflow.
This output parameter is an integer representing the updated seed value after the operation. It is important for maintaining consistency in randomization across multiple operations, allowing for predictable and repeatable results.
random_mode
settings to achieve unique text manipulation effects, such as reversing lines or selecting only odd or even lines.increment
parameter to control the progression of randomization, which can be particularly useful when processing a series of nodes in a workflow.match
and replace
parameters are correctly set to achieve the desired text replacement, especially when dealing with multiline text.field_value
or replace
.field_value
or replace
parameters are not properly initialized or are empty.field_value
and replace
contain valid text data before executing the node.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.