ComfyUI > Nodes > ComfyUI-JakeUpgrade > Prompt Combine JKšŸ‰

ComfyUI Node: Prompt Combine JKšŸ‰

Class Name

CM_PromptCombine_JK

Category
šŸ‰ JK/āœ–ļø Math/🐤 String
Author
jakechai (Account age: 1902days)
Extension
ComfyUI-JakeUpgrade
Latest Updated
2025-05-20
Github Stars
0.08K

How to Install ComfyUI-JakeUpgrade

Install this extension via the ComfyUI Manager by searching for ComfyUI-JakeUpgrade
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-JakeUpgrade 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Prompt Combine JKšŸ‰ Description

Merge two text prompts seamlessly for AI prompt creation efficiency.

Prompt Combine JKšŸ‰:

The CM_PromptCombine_JK node is designed to seamlessly merge two text prompts into a single cohesive string. This node is particularly useful for AI artists who need to combine different textual inputs to create more complex and nuanced prompts for their AI models. By intelligently handling the punctuation and ensuring that the combined prompt maintains a natural flow, this node helps streamline the prompt creation process, saving time and reducing the need for manual editing. Whether you are working with simple or elaborate prompts, CM_PromptCombine_JK ensures that your inputs are combined in a way that is both syntactically correct and contextually meaningful.

Prompt Combine JKšŸ‰ Input Parameters:

prompt_1

prompt_1 is the first text input that you want to combine. This parameter is mandatory and must be a string. The function of this parameter is to serve as the initial part of the combined prompt. If prompt_1 ends with a comma, the node will directly append prompt_2 to it. Otherwise, a comma will be added between prompt_1 and prompt_2 to ensure proper punctuation. There are no minimum or maximum values for this parameter, but it should not be an empty string if you want it to contribute to the final output.

prompt_2

prompt_2 is the second text input that you want to combine with prompt_1. This parameter is also mandatory and must be a string. The function of this parameter is to serve as the latter part of the combined prompt. If prompt_2 is provided and is not an empty string, it will be appended to prompt_1 with appropriate punctuation. Similar to prompt_1, there are no minimum or maximum values for this parameter, but it should not be an empty string if you want it to contribute to the final output.

Prompt Combine JKšŸ‰ Output Parameters:

Prompt

The output parameter Prompt is a single string that represents the combined result of prompt_1 and prompt_2. This output is crucial as it provides the final text prompt that can be used directly in your AI models. The combined prompt ensures that the inputs are merged with proper punctuation, making it ready for immediate use without further modifications. The output will be an empty string if both input prompts are empty or not provided.

Prompt Combine JKšŸ‰ Usage Tips:

  • Ensure that prompt_1 and prompt_2 are meaningful and contextually related to get the best results from the combined prompt.
  • If prompt_1 ends with a comma, you can directly append prompt_2 without worrying about additional punctuation.
  • Use this node to quickly merge prompts when you need to create complex instructions for your AI models, saving time on manual editing.

Prompt Combine JKšŸ‰ Common Errors and Solutions:

Empty Input Error

  • Explanation: This error occurs when both prompt_1 and prompt_2 are empty or not provided.
  • Solution: Ensure that at least one of the input prompts is a non-empty string to generate a meaningful combined prompt.

Improper Punctuation Error

  • Explanation: This error occurs when the combined prompt does not have proper punctuation, making it syntactically incorrect.
  • Solution: Check the individual prompts to ensure they are complete sentences or phrases. The node will handle punctuation, but the inputs should be logically structured.

NoneType Error

  • Explanation: This error occurs when either prompt_1 or prompt_2 is not provided (i.e., they are None).
  • Solution: Make sure to provide valid string inputs for both prompt_1 and prompt_2 to avoid this error.

Prompt Combine JKšŸ‰ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-JakeUpgrade
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.