ComfyUI > Nodes > ComfyUI-Prompt-Combinator > 🔢 Prompt Combinator

ComfyUI Node: 🔢 Prompt Combinator

Class Name

PromptCombinator

Category
prompt_combinator
Author
lquesada (Account age: 4090days)
Extension
ComfyUI-Prompt-Combinator
Latest Updated
2024-06-30
Github Stars
0.02K

How to Install ComfyUI-Prompt-Combinator

Install this extension via the ComfyUI Manager by searching for ComfyUI-Prompt-Combinator
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Prompt-Combinator 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 Combinator Description

Generate diverse prompts by combining strings from multiple lists for AI artists to explore creative possibilities efficiently.

🔢 Prompt Combinator:

The PromptCombinator node is designed to generate all possible combinations of prompts from several lists of strings, making it a powerful tool for AI artists looking to explore a wide range of creative possibilities. By combining different elements from multiple input lists, this node helps you create diverse and unique prompts that can be used to inspire and guide your AI-generated artwork. The main goal of the PromptCombinator is to streamline the process of prompt generation, allowing you to focus on the creative aspects of your work while the node handles the complex task of combining and organizing the input strings.

🔢 Prompt Combinator Input Parameters:

id_separator

The id_separator parameter is a string that specifies the character used to separate different IDs in the generated combinations. This helps in organizing and distinguishing between various parts of the combined prompts. The default value is @.

comment_prefix

The comment_prefix parameter is a string that defines the prefix used for comments within the prompts. This allows you to include notes or annotations in your prompts without affecting the actual content. The default value is #.

join_prompt_using

The join_prompt_using parameter determines how the different parts of the prompts are joined together. You can choose from three options: "comma and space", "space", and "enter". This setting affects the readability and structure of the generated prompts. The default value is "comma and space".

input_list_1

The input_list_1 parameter is a multiline string input that serves as the primary list of strings to be combined. This is a required input and forms the base for generating prompt combinations.

input_list_2

The input_list_2 parameter is an optional multiline string input that provides an additional list of strings to be combined with input_list_1. This allows for more complex and varied prompt combinations.

input_list_3

The input_list_3 parameter is an optional multiline string input that provides another list of strings to be combined with the previous input lists, further increasing the diversity of the generated prompts.

input_list_4

The input_list_4 parameter is an optional multiline string input that adds yet another list of strings to the combination process, allowing for even more unique prompt variations.

input_list_5

The input_list_5 parameter is an optional multiline string input that contributes an additional list of strings to the combination, enhancing the range of possible prompts.

input_list_6

The input_list_6 parameter is an optional multiline string input that provides another list of strings for combination, offering more creative possibilities.

input_list_7

The input_list_7 parameter is an optional multiline string input that adds another layer of strings to the combination process, increasing the potential for unique prompt generation.

input_list_8

The input_list_8 parameter is an optional multiline string input that serves as the final list of strings to be combined, maximizing the diversity and creativity of the generated prompts.

🔢 Prompt Combinator Output Parameters:

prompts

The prompts output parameter is a list of strings that contains all the generated prompt combinations. Each string in the list represents a unique combination of the input strings, providing a wide range of creative prompts for your AI artwork.

combination_ids

The combination_ids output parameter is a list of lists, where each inner list contains the IDs corresponding to the parts of a specific prompt combination. This helps in tracking and organizing the different elements that make up each prompt.

filenames

The filenames output parameter is a list of strings that contains filenames generated from the combination IDs. These filenames can be used to save or reference the generated prompts, ensuring that each prompt combination is uniquely identifiable.

🔢 Prompt Combinator Usage Tips:

  • Experiment with different id_separator and comment_prefix values to organize and annotate your prompts effectively.
  • Use the join_prompt_using parameter to control the structure and readability of your generated prompts, choosing the option that best suits your creative needs.
  • Start with a few input lists and gradually add more to explore a wider range of prompt combinations and discover unique creative possibilities.

🔢 Prompt Combinator Common Errors and Solutions:

Amount of combination ids must be the same as amount of prompts

  • Explanation: This error occurs when the number of combination IDs does not match the number of prompts provided.
  • Solution: Ensure that each prompt has a corresponding combination ID by checking the input lists and making sure they are of equal length.

Invalid input type for parameter

  • Explanation: This error occurs when an input parameter is provided with an incorrect type, such as a non-string value for a string parameter.
  • Solution: Verify that all input parameters are of the correct type and format, and adjust them as necessary to match the expected input types.

🔢 Prompt Combinator Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-Combinator
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.