A custom node for comfy UI. The prompt library node gives you the ability to load prompt projects.

The node has outputs in following order:

  1. positive string
  2. negative string
  3. category string
  4. variation index number (1 to 99)

In the folder '/models/prompts' there are your category folders. In these category folders there should be your prompt project files. A prompt project file can store 99 projects or variations. The marker for the project index number is ### and the marker before the negative prompt is ---

Project file path example: /models/prompts/animals/cute_dog.txt

Here an example how a prompt project file should look. Note: For correct formatting, please view the example in GitHub's raw or code view to avoid unintended markdown styling.

###1 cute dog, depth of field, (bokeh:0.3), plants in background, (park:0.5), professional photo, high quality, dog portrait, animal photography

cat, horse, night, indoor, interior, simple background, boring background

###2 cute dog, depth of field, high quality, living room, dog on sofa, sunlight

outdoor, bad quality

S
Description
No description provided
Readme MIT
194 KiB
Languages
Python 100%