Files
nkchocoai-ComfyUI-PromptUti…/README.md
T

40 lines
1.3 KiB
Markdown

# ComfyUI-PromptUtilities
![PromptUtilities Preview](preview.png "PromptUtilities Preview")
日本語版READMEは[こちら](README.jp.md)。
- Custom node for [ComfyUI](https://github.com/comfyanonymous/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 a list of strings 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](ex_join.png "Example Join String List")
### Format String (Experimental)
- Format String Output a 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](ex_format.png "Example Format String")
### Load Preset
- Outputs the prompt for the selected preset.
- The presets are listed in a CSV file located in the [presets](presets) directory.
![Example Load Preset](ex_preset.png "Example Load Preset")
### Const String
- Outputs the input string.
### Const String(multi line)
- Outputs the input string.
- You can input the string in multiple lines.