Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI art prompts with adjustable stylistic elements for dynamic and tailored outputs.
The PromptComposerStyler
node is designed to enhance your AI-generated art prompts by incorporating specific styles with adjustable weights. This node allows you to add stylistic elements to your text inputs, making your prompts more dynamic and tailored to your artistic vision. By enabling or disabling the style application and adjusting the style weight, you can control the influence of the style on your prompt. This node is particularly useful for AI artists looking to experiment with different styles and fine-tune the stylistic impact on their generated art.
This optional parameter allows you to input a string of text that you want to style. If provided, this text will be included in the final prompt. The parameter is of type STRING
and is forced to be an input if used.
This required parameter specifies the style to be applied to the text. It is selected from a predefined list of styles, with the default being the first style in the list. The parameter is of type STRING
.
This required parameter determines the weight or intensity of the applied style. It is a FLOAT
value with a default of 1, a minimum of 0, and a maximum of 1.95. The weight can be adjusted in steps of 0.05 using a slider. A higher weight increases the influence of the style on the text.
This required parameter is a BOOLEAN
that determines whether the style should be applied. The default value is False
. When set to True
, the style and its weight will be considered in the final prompt.
This output parameter is a STRING
that contains the final styled prompt. The output text is a combination of the input text and the applied style, formatted and adjusted according to the specified style weight and active status. If no valid input or style is provided, the output will be an empty string.
style_weight
to a lower value, such as 0.5.active
parameter is set to True
to apply the style; otherwise, the style will not be included in the final prompt.text_in_opt
and style
parameters are empty or invalid, or when the active
parameter is set to False
.active
parameter to True
.style_weight
parameter is set outside the allowed range of 0 to 1.95. - Solution: Adjust the style_weight
parameter to be within the valid range using the slider.© Copyright 2024 RunComfy. All Rights Reserved.