diff --git a/README.jp.md b/README.jp.md index cefefe1..a81fbb1 100644 --- a/README.jp.md +++ b/README.jp.md @@ -1,4 +1,5 @@ -# ComfyUI-SizeFromPresets +# ComfyUI-PromptUtilities +![PromptUtilities Preview](preview.png "PromptUtilities Preview") - [ComfyUI](https://github.com/comfyanonymous/ComfyUI)用のカスタムノードです。 - プロンプト周りの便利なノードを追加します。 @@ -9,4 +10,26 @@ git clone https://github.com/nkchocoai/ComfyUI-PromptUtilities.git ``` ## 追加されるノード -todo \ No newline at end of file +### Join String List +- 入力として受け取った `argN` を `separator` で結合した文字列を出力します。 + +![Example Join String List](ex_join.png "Example Join String List") + +### Format String +- 入力として受け取った `argN` を `prompt` に埋め込んだ文字列を出力します。 +- `prompt` において、 `[N]` は `argN` の値に置き換わります。 + +![Example Format String](ex_format.png "Example Format String") + +### Load Preset +- 選択したプリセットのプロンプトを出力します。 +- プリセットは [presets](presets) ディレクトリ内に配置されたCSVファイルに記載します。 + +![Example Load Preset](ex_preset.png "Example Load Preset") + +### Const String +- 入力した文字列を出力します。 + +### Const String(multi line) +- 入力した文字列を出力します。 +- 複数行で入力できます。 diff --git a/README.md b/README.md index 8f3fc47..5d20e02 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# ComfyUI-SizeFromPresets +# ComfyUI-PromptUtilities +![PromptUtilities Preview](preview.png "PromptUtilities Preview") 日本語版READMEは[こちら](README.jp.md)。 - Custom node for [ComfyUI](https://github.com/comfyanonymous/ComfyUI). @@ -11,4 +12,26 @@ git clone https://github.com/nkchocoai/ComfyUI-PromptUtilities.git ``` ## Nodes -todo \ No newline at end of file +### Join String List +- Outputs a list of strings which are the input `argN` strings concatenated with `separator`. + +![Example Join String List](ex_join.png "Example Join String List") + +### Format String +- Format String Output a string containing the input `argN` embedded in a `prompt`. +- In the `prompt`, `[N]` is replaced by the value of `argN`. + +![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. diff --git a/ex_format.png b/ex_format.png new file mode 100644 index 0000000..716129f Binary files /dev/null and b/ex_format.png differ diff --git a/ex_join.png b/ex_join.png new file mode 100644 index 0000000..b133916 Binary files /dev/null and b/ex_join.png differ diff --git a/ex_preset.png b/ex_preset.png new file mode 100644 index 0000000..88b7089 Binary files /dev/null and b/ex_preset.png differ diff --git a/preview.png b/preview.png new file mode 100644 index 0000000..346f840 Binary files /dev/null and b/preview.png differ