hexxacubic 9e914a8b1a Update Prompt_Library.py
Index issues fixed but index snapping removed due to limitations.
Project loading is more simple. The dropdownlist shows folders and files so all projects are in one single dropdown list.
2025-05-24 00:26:35 +02:00
2025-05-23 21:12:42 +02:00
2025-05-22 20:33:04 +02:00
2025-05-24 00:26:35 +02:00
2025-05-23 22:46:37 +02:00

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%