ComfyUI Node
Random Text Picker
A ComfyUI node in text/random with 8 inputs and 3 outputs.
Random Text Picker
- text
- file_path
- selected_index
◄folder_path►
◄moderandom►
◄seed0►
◄index0►
◄recursivefalse►
◄file_pattern*.txt►
◄encodingutf-8►
◄strip_whitespacetrue►
Categorytext/random
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | — | |
| mode | COMBO | random | 3 options: random, sequential, index |
| seed | INT | 00–18446744073709550000 | — |
| index | INT | 00–999999 | — |
| recursive | BOOLEAN | false | — |
| file_pattern | STRING | *.txt | — |
| encoding | COMBO | utf-8 | 4 options: utf-8, utf-8-sig, gbk, latin-1 |
| strip_whitespace | BOOLEAN | true | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file_path | STRING | — |
| selected_index | INT | — |