Skip to content

Node for picking one or multiple values from a list either maintained in ComfyUI or from a file structure. Possibilities are endless but orginally thought of as a character generator.

License

Notifications You must be signed in to change notification settings

Arch666Angel/ComfyUI-RandomListPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ComfyUI-RandomListPicker

Node for picking one or multiple values from a list either maintained in ComfyUI or from a file structure. Possibilities are endless but orginally thought of as a character generator.

Modes

All random nodes have common options:

Mode

  • Manual - Only picks the values with activated checkboxes
  • Random - Picks between Min(N) and Max(N) values from the total list
  • Random Selected - Picks between Min(N) and Max(N) values from the total list of activated checkboxes

Count

  • Min count - Min(N) on how many picks to take from the list
  • Max count - Max(N) on how many picks to take from the list

Seperator

  • Comma - ","
  • Space - A whitespace
  • Semicolon - ";"
  • Pipe - "|"
  • Newline - Adds a linebreak
  • Point - Just a "."
  • Point Newline - "." followed by a newline
  • BREAK - "Break" with newline before and after
  • empty - Adds nothing

Prompt Selector

Selects one or many of the input fields. Outputs the selected value and/or concats multiple selection using a seperator.

image\

Random List Picker

Selects one or many values from a given list in the input field, seperator for input has to be specified. Outputs the selected value and/or concats multiple values using a seperator.

image\

Prompt Combinder

Outputs a concatenated string of all non-empty fields with trailing seperator. Empty fields and their trailing seperators are ignored.

image\

Tag File Writer

Writes to files in the tag folder. If no name is given it writes value as newline (see Animal example), if name is given it writes as key/value pair (see Actions example)

image\

Automatic node generation

The custom node folder contains a "tags" folder. If you create *.txt files in the tags folder the script will read them and automatically create new nodes for each file.

image

image

Example with just values

image

Example with key/value pairs

image

image\

About

Node for picking one or multiple values from a list either maintained in ComfyUI or from a file structure. Possibilities are endless but orginally thought of as a character generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages