Files
nkchocoai-ComfyUI-PromptUti…/README.md
T
2024-01-28 11:59:44 +09:00

2.8 KiB

ComfyUI-PromptUtilities

PromptUtilities Preview
日本語版READMEはこちら。

  • Custom node for ComfyUI.
  • Add useful nodes related to prompt.

Installation

cd <ComfyUI directory>/custom_nodes
git clone https://github.com/nkchocoai/ComfyUI-PromptUtilities.git

Nodes

Join String List (Experimental)

  • Outputs string which are the input argN strings concatenated with separator.
  • There may be some bugs as we have not been able to check the operation very well.

Example Join String List

Format String (Experimental)

  • Output string containing the input argN embedded in a prompt.
  • In the prompt, [N] is replaced by the value of argN.
  • There may be some bugs as we have not been able to check the operation very well.

Example Format String

Load Preset

  • Outputs the prompt for the selected preset.
  • The presets are listed in a CSV file located in the presets directory.

Example Load Preset

Load Preset (Advanced)

  • Outputs the following values for the selected preset.
    • Positive prompt
    • Negative prompt
    • LoRA and its intensity
    • LoRA Stack (for Efficiency Nodes)
  • The presets are listed in a JSON file located in the advanced_presets directory.

Example Load Preset Advanced 01 Example Load Preset Advanced 02

Const String

  • Outputs the input string.

Const String(multi line)

  • Outputs the input string.
  • You can input the string in multiple lines.