ComfyUI Node
TXT Batch Loader
A ComfyUI node in Batch Process with 10 inputs and 2 outputs.
TXT Batch Loader
- content
- filename
◄directory—►
◄search_title►
◄search_content►
◄delimiter►
◄modeincremental_text►
◄seed0►
◄filename_option▾►
◄start_index0►
◄end_index0►
◄reset_on_queue1►
CategoryBatch Process
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | — | |
| search_title | STRING | — | |
| search_content | STRING | — | |
| delimiter | STRING | — | |
| mode | COMBO | incremental_text | 3 options: single_text, incremental_text, random |
| seed | INT | 00–18446744073709550000 | — |
| filename_option | COMBO | 5 options: filename, prefix, suffix, prefix & suffix, prefix nor suffix | |
| start_index | INT | 00–999999 | Start index (1-based). Use 0 to start from beginning, or set 1 for first text file, 2 for second text file, etc. |
| end_index | INT | 00–999999 | End index (inclusive, 1-based). Use 0 to include all remaining text files, or set >0 to limit range (1=first, 2=second, etc.). |
| reset_on_queueopt | INT | 10–1 | Any change to this value (0↔1) resets the read index to start from the first file again. Keep unchanged during a queue run to advance normally. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| content | STRING | — |
| filename | STRING | — |