Visit ComfyUI Online for ready-to-use ComfyUI environment
Replace text tokens with predefined values for dynamic text generation and automation in various applications.
The Text Parse Tokens node is designed to replace specific tokens within a given text with predefined values. This node is particularly useful for dynamically generating text by substituting placeholders with actual data, such as timestamps or custom tokens. By leveraging this node, you can automate the process of text customization, making it highly adaptable for various applications like prompt generation, text formatting, and more. The primary goal of this node is to streamline text manipulation tasks, ensuring that your text outputs are both accurate and contextually relevant.
This parameter represents the input text that contains tokens to be replaced. The text can include various placeholders or tokens that you want to substitute with specific values. The function of this parameter is to serve as the base text where the token replacement will occur. The impact of this parameter on the node's execution is significant, as it determines the content that will be processed and modified. The text should be provided as a string, and it can be either a single line or multiline text. There are no specific minimum or maximum values for this parameter, but it should be a valid string that includes the tokens you wish to replace.
The output parameter is the processed text with all specified tokens replaced by their corresponding values. This output is crucial as it provides the final text after all token substitutions have been made. The interpretation of this output is straightforward: it is the original input text with all tokens replaced by their respective values, making it ready for further use or display. The output is provided as a string, maintaining the same format as the input text but with the tokens substituted.
[token_name]
.[token_name]
.© Copyright 2024 RunComfy. All Rights Reserved.