ComfyUI > Nodes > comfyui-prompt-composer > Prompt Composer Styler (deprecated!)

ComfyUI Node: Prompt Composer Styler (deprecated!)

Class Name

PromptComposerStyler

Category
AI WizArt/Prompt Composer Tools/Deprecated
Author
florestefano1975 (Account age: 194days)
Extension
comfyui-prompt-composer
Latest Updated
2024-05-22
Github Stars
0.21K

How to Install comfyui-prompt-composer

Install this extension via the ComfyUI Manager by searching for comfyui-prompt-composer
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-prompt-composer in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Prompt Composer Styler (deprecated!) Description

Enhance AI art prompts with adjustable stylistic elements for dynamic and tailored outputs.

Prompt Composer Styler (deprecated!):

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.

Prompt Composer Styler (deprecated!) Input Parameters:

text_in_opt

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.

style

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.

style_weight

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.

active

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.

Prompt Composer Styler (deprecated!) Output Parameters:

text_out

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.

Prompt Composer Styler (deprecated!) Usage Tips:

  • To achieve a subtle stylistic effect, set the style_weight to a lower value, such as 0.5.
  • Ensure the active parameter is set to True to apply the style; otherwise, the style will not be included in the final prompt.
  • Experiment with different styles from the predefined list to see how they influence your AI-generated art.

Prompt Composer Styler (deprecated!) Common Errors and Solutions:

No output generated

  • Explanation: This occurs when both the text_in_opt and style parameters are empty or invalid, or when the active parameter is set to False.
  • Solution: Ensure that you provide a valid input text or style and set the active parameter to True.

Style weight out of range

  • Explanation: The 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.

Invalid style selection

  • Explanation: The selected style is not in the predefined list of styles.
  • Solution: Choose a style from the available list to ensure it is valid and can be applied to the prompt.

Prompt Composer Styler (deprecated!) Related Nodes

Go back to the extension to check out more related nodes.
comfyui-prompt-composer
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.