ComfyUI  >  Nodes  >  comfyui-prompt-composer >  Prompt Composer Multiple Text

ComfyUI Node: Prompt Composer Multiple Text

Class Name

promptComposerTextMultiple

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

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 Cloud 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 Multiple Text Description

Create complex and weighted text prompts by combining multiple inputs with specified weights for AI model prompts.

Prompt Composer Multiple Text:

The promptComposerTextMultiple node is designed to help you create complex and weighted text prompts by combining multiple text inputs with specified weights. This node is particularly useful for AI artists who want to generate detailed and nuanced prompts for their AI models. By allowing you to input up to ten different text strings, each with its own weight, this node provides a flexible and powerful way to craft prompts that can influence the behavior and output of AI models. The main goal of this node is to streamline the process of prompt creation, making it easier to experiment with different text combinations and their respective influences.

Prompt Composer Multiple Text Input Parameters:

text_in_opt

This optional parameter allows you to input an initial text string that will be included in the final prompt if provided. It serves as a base or starting point for the prompt composition. If left empty, it will not affect the final output.

text_1

This is the first required text input. You can enter any string of text here, and it will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_1

This parameter sets the weight for text_1. The weight determines the influence of the text in the final prompt. It ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider, allowing for fine-tuning.

text_2

This is the second required text input. Similar to text_1, it will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter also supports multiline text.

weight_2

This parameter sets the weight for text_2. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_3

This is the third required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_3

This parameter sets the weight for text_3. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_4

This is the fourth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_4

This parameter sets the weight for text_4. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_5

This is the fifth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_5

This parameter sets the weight for text_5. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_6

This is the sixth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_6

This parameter sets the weight for text_6. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_7

This is the seventh required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_7

This parameter sets the weight for text_7. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_8

This is the eighth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_8

This parameter sets the weight for text_8. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_9

This is the ninth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_9

This parameter sets the weight for text_9. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

text_10

This is the tenth required text input. It will be included in the final prompt if the corresponding weight is greater than 0 and the node is active. This parameter supports multiline text.

weight_10

This parameter sets the weight for text_10. The weight ranges from 0 to 1.95, with a default value of 1. The weight is adjustable via a slider.

active

This boolean parameter determines whether the node is active. If set to True, the node will process the text inputs and weights to generate the final prompt. If set to False, the node will not produce any output.

Prompt Composer Multiple Text Output Parameters:

text_out

The output parameter text_out is a single string that contains the final composed prompt. This prompt is generated by combining all the active text inputs with their respective weights, formatted in a way that is suitable for use in AI models. The output is in lowercase and concatenated with commas.

Prompt Composer Multiple Text Usage Tips:

  • Ensure that the active parameter is set to True to generate the final prompt.
  • Use the weight sliders to fine-tune the influence of each text input in the final prompt.
  • Combine different text inputs creatively to explore various prompt compositions and their effects on AI model outputs.
  • Start with a base text using text_in_opt and build upon it with additional text inputs and weights for more complex prompts.

Prompt Composer Multiple Text Common Errors and Solutions:

"No active text inputs"

  • Explanation: This error occurs when none of the text inputs are active or have a weight greater than 0.
  • Solution: Ensure that at least one text input is active and has a weight greater than 0.

"Invalid weight value"

  • Explanation: This error occurs when a weight value is set outside the allowed range (0 to 1.95).
  • Solution: Adjust the weight values to be within the range of 0 to 1.95.

"Empty output"

  • Explanation: This error occurs when all text inputs are empty or inactive.
  • Solution: Provide valid text inputs and ensure they are active with appropriate weights.

Prompt Composer Multiple Text 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.