Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized node managing prompt terms in ComfyUI, extends base class for structured handling and application in creative workflows.
PromptTermList4 is a specialized node designed to manage and manipulate a list of prompt terms within the ComfyUI framework. It extends the functionality of the base class PromptTermList
, allowing you to work with a predefined set of terms that can be dynamically loaded from a JSON file. This node is particularly useful for AI artists who want to incorporate specific terms into their creative workflows, providing a structured way to handle and apply these terms with varying strengths. The node's primary goal is to facilitate the integration of prompt terms into your projects, enabling you to enhance your creative outputs by adjusting the influence of each term through a strength parameter. By using PromptTermList4, you can streamline the process of managing prompt terms, ensuring that your artistic vision is effectively translated into the final output.
The terms
parameter is a required input that represents a list of prompt terms available for selection. These terms are dynamically loaded from a JSON file specific to this node, allowing you to choose from a predefined set of options. The selected term will be used in the node's processing, influencing the final output based on its presence and the strength parameter.
The text
parameter is an optional input that allows you to provide additional text to be included in the output. This can be any string that you want to append to the processed terms, offering flexibility in customizing the final output. The text
parameter is particularly useful when you want to add context or additional information to the terms being processed.
The strength
parameter is an optional floating-point value that determines the influence of the selected term on the final output. It ranges from 0.05 to 2.0, with a default value of 1.0. This parameter allows you to adjust the weight of the term, effectively controlling how strongly it impacts the output. A higher strength value increases the term's influence, while a lower value reduces it.
The store_input
parameter is an optional boolean that specifies whether the input text should be stored for future use. By default, it is set to False
. When enabled, the node will save the input text, allowing you to reuse it in subsequent operations. This feature is useful for maintaining consistency across multiple executions or when you need to reference the same input text in different contexts.
The text_out
parameter is the primary output of the node, representing the processed text that includes the selected term and any additional text provided. It reflects the influence of the strength parameter, encapsulating the term's impact within parentheses if the strength is not equal to 1.0. The text_out
parameter is crucial for understanding the final composition of the output, as it combines the selected term, its strength, and any appended text into a cohesive result.
strength
parameter to a higher value, ensuring that the term strongly influences the final output.text
parameter to add context or additional information to the selected term, enhancing the richness and depth of the output.store_input
parameter if you plan to reuse the same input text across multiple executions, saving time and ensuring consistency.class_type
property, which is essential for its execution.class_type
property. Check the configuration and make sure all necessary properties are included.NODE_CLASS_MAPPINGS
and NODE_DISPLAY_NAME_MAPPINGS
. Ensure that the node is properly imported and initialized in the system.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.