ComfyUI-PromptList

ComfyUI-PromptList is a simple prompt management node for ComfyUI that outputs prompts recorded in prompts.yaml.

日本語Readme

Features

  • Reads prompts from prompts.yaml and outputs positive and negative prompts as String format.
  • Writes new prompts to yaml.
  • Modifies prompts registered in yaml.

Installation

If you have installed ComfyUI-Manager:

  1. Click Manager -> Install via Git URL in the main menu.
  2. Paste the URL into the text box that appears at the top of the window and press OK.
    https://github.com/NakamuraShippo/ComfyUI-PromptList
  3. After installation is complete, restart ComfyUI.

If you have not installed ComfyUI-Manager:

  1. Navigate to ComfyUI's custom node directory. (Usually ComfyUI/custom_nodes/)
  2. Clone this repository.
    git clone https://github.com/NakamuraShippo/ComfyUI-PromptList
  3. Restart ComfyUI.

Usage

node
Right-click on the workspace -> Add node -> prompt -> Prompt List to add the node.

The node has the following inputs:
selection: List of prompts registered in prompts.yaml, outputs the prompt of the selected item.

If the following items are filled, the prompt from selection will not be output, instead the input prompt will be output:
Prompt Name: New prompt name or name of prompt to update
Positive Prompt: Content of positive prompt
Negative Prompt: Content of negative prompt

The input prompt name and prompts are saved in prompts.yaml.
Also, if you change the prompt using the same Prompt Name, it will overwrite the prompt in prompts.yaml.

prompts.yaml format

prompt name:
  positive: positive prompt
  negative: negative prompt
...

https://docs.google.com/spreadsheets/d/15_Zcr3VUkQZRqy7sd6jgMObB-DufQkPSWTFYUVhsQDw/edit?usp=sharing

Notes

The prompt list is saved in the prompts.yaml file. If you edit, add new prompts, or make changes, please press Refresh in ComfyUI's main menu to reflect the changes.

Update History

2024/08/24 Initial release as it's working for now

License

This project is released under the MIT License. See the LICENSE file for details.
You are free to use, modify, and distribute this software, both for private and commercial purposes, provided that you include the original
copyright notice and disclaimer.

Other

Bug reports and feature requests are welcome through any available contact method. Pull requests are also welcome.

Contact

NakamuraShippo

S
Description
No description provided
Readme
535 KiB
Languages
Python 52.4%
JavaScript 47.6%