ComfyUI Node
Text Loader
Load text files (.txt, .md, .json) from a folder
Text Loader
- text
- file_path
◄folder_path►
◄file_idx0►
◄random_idxfalse►
◄sort_bydate►
◄reversefalse►
◄seed42►
◄extensionall►
◄prefix►
CategorySagado-Nodes
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | — | |
| file_idxopt | INT | 0 | — |
| random_idxopt | BOOLEAN | false | — |
| sort_byopt | STRING | date | — |
| reverseopt | BOOLEAN | false | — |
| seedopt | INT | 42 | — |
| extensionopt | COMBO | all | 4 options: all, txt, md, json |
| prefixopt | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file_path | STRING | — |