Visit ComfyUI Online for ready-to-use ComfyUI environment
Manage and manipulate text prompts with weighted control for AI-generated art compositions.
The PromptComposerGrouping
node is designed to help you manage and manipulate text prompts by applying specific weights to them. This node is particularly useful for AI artists who want to fine-tune their text inputs to achieve more precise and controlled outputs in their AI-generated art. By allowing you to set weights and activate or deactivate the prompt, this node provides a flexible way to enhance the influence of certain text elements in your compositions. The main goal of this node is to give you more control over how different parts of your text prompt contribute to the final result, making it easier to achieve the desired artistic effect.
This parameter takes a string input that represents the text prompt you want to manipulate. It is a required field, and you must provide a valid string for the node to function correctly. The text you input here will be the basis for any further modifications or weight applications.
This parameter allows you to set the weight of the text prompt. The weight determines the influence of the text prompt in the final output. It is a floating-point number with a default value of 1, a minimum value of 0, and a maximum value of 1.95. You can adjust the weight using a slider, which provides a step value of 0.05. Setting a higher weight will increase the prominence of the text prompt in the final composition.
This boolean parameter determines whether the text prompt and its weight should be applied. The default value is False
. When set to True
, the node will apply the specified weight to the text prompt. If set to False
, the text prompt will not be modified, and the original input will be returned.
This output parameter returns the modified text prompt as a string. If the input text is not empty, the weight is greater than 0, and the active parameter is set to True
, the output will be the weighted text prompt. Otherwise, it will return the original text input.
weight
parameter to a higher value. This will make those parts more influential in the final output.active
parameter to quickly enable or disable the application of weights without having to change the weight value itself.text_in
parameter is left empty.text_in
parameter.weight
parameter is set outside the allowed range.weight
parameter to be within the range of 0 to 1.95.active
parameter is set to a non-boolean value.active
parameter is set to either True
or False
.© Copyright 2024 RunComfy. All Rights Reserved.