pythongosssss / ComfyUI-Custom-Scripts

Enhancements & experiments for ComfyUI, mostly focusing on UI features
MIT License
1.38k stars 104 forks source link

Feature Idea: Node utilizing common prompt patterns #192

Open ilicnon opened 4 months ago

ilicnon commented 4 months ago

Wouldnt it be cool if there is a node that outputs a string, but rather than autocompleting by globally defined autocomplete rules, it instead :

  1. Got its own set of autocomplete rules
  2. Where you can utilize these files https://github.com/bedovyy/tagcomplete-for-animagine-xl-3.0/blob/master/outputs/character_plus.txt and https://github.com/bedovyy/tagcomplete-for-animagine-xl-3.0/blob/master/outputs/animagine_xl_3.0_artists.txt
  3. Where you can use them as a character prompt node and artist prompt node respectfully and then concatenate them into 1 single prompt using your other nodes

So when i want to generate Irys drawn by Atahuta for example, I :

  1. Go to my character prompt node and type 1 girl, irys, and it autocompletes to 1girl, irys \(hololive\), hololive, virtual youtuber, long hair, horns, pointy ears, red hair, blue eyes, multicolored hair, heterochromia, purple hair
  2. Go to my artist prompt node and type atahuta and it autocompletes to atahuta, virtual youtuber, long hair, hair ornament, dark-skinned male, dark skin, thighhighs
  3. Fill other prompt nodes with the global autocomplete rules.
  4. And then just queue