ComfyUI Node
EZ Prompt Loader
Loads prompt texts from files based on UI selection. Searches recursively through all subdirectories within the selected folder.
EZ Prompt Loader
- STRING
- OPT_DIRECTORY
- BATCH_SELECTED
◄prompt_directory▾►
◄selection_modesingle►
◄opt_seed0►
◄filter_text►
◄selected_files►
CategoryEZ NODES
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_directory | COMBO | Directory to search for prompt files. Searches recursively through all subdirectories. | |
| selection_mode | COMBO | single | - single: Allows selection of one item at a time. - multiple: Allows selection of multiple items. Output will be comma-separated. - random: Allows selection of multiple items. Randomly outputs one of the selected items on each prompt queue. Will select from all visible (filtered) items if none or single item is selected. Uses seed if opt_seed is connected. Always re-executes node if opt_seed is not connected |
| opt_seedopt | INT | 00–18446744073709550000 | Control SEED, used only in 'random' selection mode. If not connected, always re-executes node on prompt |
| filter_textopt | STRING | Filter items based on a text string | |
| selected_filesopt | STRING | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | Content of selected prompt file(s). Delimited by comma if multiple |
| OPT_DIRECTORY | STRING | Path to currently selected directory. |
| BATCH_SELECTED | STRING | List of all selected items. Will output all visible (filtered) items if none or single item is selected. |