ComfyUI > Nodes > ComfyUI-CreaPrompt > CreaPrompt Multi Prompts

ComfyUI Node: CreaPrompt Multi Prompts

Class Name

CreaPrompt List

Category
CreaPrompt
Author
Tritant (Account age: 3163days)
Extension
ComfyUI-CreaPrompt
Latest Updated
2024-07-16
Github Stars
0.01K

How to Install ComfyUI-CreaPrompt

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

CreaPrompt Multi Prompts Description

Efficiently generate multiple prompts with prefixes and suffixes for streamlined prompt creation.

CreaPrompt Multi Prompts:

CreaPrompt List, also known as CreaPrompt Multi Prompts, is a versatile node designed to help you generate multiple prompts efficiently. This node allows you to input a list of prompts and optionally add prefixes and suffixes to each prompt. The primary goal of CreaPrompt List is to streamline the process of creating complex prompt structures by automating the concatenation of additional text elements. This can be particularly useful for AI artists who need to generate a variety of prompts with consistent formatting. By using this node, you can save time and ensure uniformity across your prompts, enhancing your creative workflow.

CreaPrompt Multi Prompts Input Parameters:

Multi_prompts

This parameter accepts a multiline string input where each line represents a separate prompt. The node will process each line individually, allowing you to manage multiple prompts in one go. The default value is "body_text".

prefix

This parameter allows you to specify a string that will be added as a prefix to each prompt. If left empty, no prefix will be added. This can be useful for adding consistent introductory text to each prompt. The default value is an empty string.

suffix

This parameter allows you to specify a string that will be added as a suffix to each prompt. If left empty, no suffix will be added. This can be useful for adding consistent concluding text to each prompt. The default value is an empty string.

CreaPrompt Multi Prompts Output Parameters:

prompt

This output parameter returns a list of processed prompts. Each prompt in the list will include the specified prefix and suffix if they were provided. This allows you to easily use the generated prompts in subsequent steps of your workflow.

prompt_debug

This output parameter returns a debug version of the processed prompts. Each prompt in this list is prefixed with a special character (➡️) to help you visually distinguish and debug the generated prompts. This can be particularly useful for troubleshooting and ensuring that your prompts are formatted correctly.

CreaPrompt Multi Prompts Usage Tips:

  • To generate prompts with consistent introductory and concluding text, make sure to utilize the prefix and suffix parameters effectively.
  • Use the prompt_debug output to verify the formatting and content of your generated prompts before using them in your main workflow.
  • If you have a large number of prompts, consider breaking them into smaller batches to make debugging and management easier.

CreaPrompt Multi Prompts Common Errors and Solutions:

Missing Multi_prompts Input

  • Explanation: The Multi_prompts parameter is required and cannot be left empty.
  • Solution: Ensure that you provide a multiline string input for the Multi_prompts parameter.

Invalid Prefix or Suffix

  • Explanation: The prefix or suffix parameters may contain invalid characters or formatting.
  • Solution: Check the content of your prefix and suffix parameters to ensure they are correctly formatted and do not contain any invalid characters.

Output List Mismatch

  • Explanation: The number of prompts in the prompt and prompt_debug outputs do not match.
  • Solution: Verify that your input prompts are correctly formatted and that the node is processing each line as expected. Use the prompt_debug output to identify any discrepancies.

CreaPrompt Multi Prompts Related Nodes

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