ComfyUI > Nodes > SeargeSDXL > Prompt combiner

ComfyUI Node: Prompt combiner

Class Name

SeargePromptCombiner

Category
Searge/_deprecated_/Prompting
Author
SeargeDP (Account age: 4180days)
Extension
SeargeSDXL
Latest Updated
2024-05-22
Github Stars
0.75K

How to Install SeargeSDXL

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

Merge two text prompts seamlessly for AI artists to enhance creativity and flexibility in prompt crafting.

Prompt combiner:

The SeargePromptCombiner node is designed to seamlessly merge two separate text prompts into a single, cohesive prompt. This node is particularly useful for AI artists who want to combine different ideas, styles, or instructions into one prompt for more complex and nuanced outputs. By providing a simple yet effective way to concatenate prompts with a customizable separator, it enhances the flexibility and creativity of prompt crafting. The main goal of this node is to streamline the process of prompt combination, ensuring that both prompts are integrated smoothly, whether both are provided or only one is available.

Prompt combiner Input Parameters:

prompt1

prompt1 is the first text input that you want to combine. This parameter accepts a string and can be multiline, allowing for detailed and extensive prompts. If only prompt1 is provided and prompt2 is empty, the output will be just prompt1. The default value is an empty string.

separator

separator is the string that will be used to join prompt1 and prompt2. This parameter is a single-line string and allows you to define how the two prompts are connected, such as with a comma, space, or any other character. The default value is ", ".

prompt2

prompt2 is the second text input that you want to combine with prompt1. Similar to prompt1, this parameter accepts a string and can be multiline. If only prompt2 is provided and prompt1 is empty, the output will be just prompt2. The default value is an empty string.

Prompt combiner Output Parameters:

combined prompt

The combined prompt is the resulting string after prompt1 and prompt2 have been concatenated using the specified separator. If both prompts are provided, they will be joined by the separator. If only one prompt is provided, the output will be that single prompt. This output is crucial for generating complex and detailed instructions for AI models.

Prompt combiner Usage Tips:

  • Use a clear and distinct separator to ensure that the combined prompt is easily readable and interpretable by the AI model.
  • When combining prompts with different themes or styles, consider using a separator that logically connects the two ideas, such as "and" or "then".
  • If you want to emphasize the separation between two prompts, use a separator like " | " to visually distinguish the parts.

Prompt combiner Common Errors and Solutions:

Empty prompt1 and prompt2

  • Explanation: Both prompt1 and prompt2 are empty, resulting in an empty combined prompt.
  • Solution: Ensure that at least one of the prompts (prompt1 or prompt2) contains text to generate a meaningful output.

Invalid separator

  • Explanation: The separator parameter is not a valid string.
  • Solution: Verify that the separator is a valid, non-empty string to properly combine the prompts.

Excessive length of combined prompt

  • Explanation: The combined prompt is too long for the AI model to process effectively.
  • Solution: Consider shortening the individual prompts or using a more concise separator to reduce the overall length of the combined prompt.

Prompt combiner Related Nodes

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