ComfyUI Node
⚡ Gigachad Prompt File Reader
A ComfyUI node in Gigachad with 7 inputs and 5 outputs.
⚡ Gigachad Prompt File Reader
- prompt
- index
- total
- filename
- remaining
◄modesingle_file►
◄path►
◄index_modesequential►
◄fixed_index0►
◄looptrue►
◄reload_each_runfalse►
◄auto_queuefalse►
CategoryGigachad
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | single_file | single_file: read one .txt containing one or more prompts separated by blank lines. batch_folder: read all .txt files in a folder in order. |
| path | STRING | single_file: full path to the .txt file, e.g. C:/prompts/myprompts.txt batch_folder: path to the folder, e.g. C:/prompts/batch/ | |
| index_mode | COMBO | sequential | sequential: step through prompts one by one each run. random: pick a random prompt each run. fixed: always use the prompt at 'fixed_index'. |
| fixed_index | INT | 00–99999 | Which prompt to use when index_mode='fixed'. |
| loop | BOOLEAN | true | When sequential reaches the last prompt, loop back to 0 or stay. |
| reload_each_run | BOOLEAN | false | When ON, re-reads the file(s) every execution so edits to your .txt are picked up without restarting ComfyUI. |
| auto_queue | BOOLEAN | false | When ON, automatically re-queues after each run to step through all prompts without clicking Queue repeatedly. Stops when the last prompt is reached (unless loop is ON). |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| index | INT | — |
| total | INT | — |
| filename | STRING | — |
| remaining | INT | — |