space-nuko / ComfyBox

Customizable Stable Diffusion frontend for ComfyUI
GNU General Public License v3.0
586 stars 45 forks source link

Prompt builder UI #123

Open space-nuko opened 1 year ago

space-nuko commented 1 year ago

Essentially I want something like https://github.com/eideehi/sd-webui-better-prompt.

Sometimes it's nice to have randomization with wildcards, but sometimes I want to browse through the library of keywords and choose one that looks appealing. I also often want to swap out parts of the prompt demarcated by sections. For example, swapping out the group of keywords related to the background to change the location. Commenting out things works okay here, but working with raw text isn't ideal for efficiency if the keywords are clearly delimited by section/purpose

I imagine being able to:

  1. Group/break up groups of keywords in the prompt (comma-delimited or not)
  2. Save groups of keywords into a "keyword library". I think it's basically a wildcard list
  3. Browse through groups of keywords/wildcards. It should be compatible with existing wildcard lists
  4. Drag and drop keywords into the prompt
  5. Replace keyword groups with other groups
  6. Also be able to insert embedding: and wildcard syntax at a higher level embedding/wildcard list UI
  7. Support binding groups of keywords together and toggling between them, instead of needing to cut/paste every time
  8. Save prompt builder state along with the workflow so it can be restored