ComfyUI Node
Load Random File From Path By Prefix
Pick a random file from a folder filtered by filename prefix and extension; return text contents and path metadata.
Load Random File From Path By Prefix
- text
- file_name
- file_path
- folder_path
- status
◄folderC:/prompts►
◄prefixprompt_wan22_►
◄extension.md►
◄recursivefalse►
◄case_sensitivefalse►
◄seed-1►
◄index_override-1►
◄debug_modefalse►
Categoryillumorae
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| folder | STRING | C:/prompts | — |
| prefix | STRING | prompt_wan22_ | — |
| extension | STRING | .md | — |
| recursive | BOOLEAN | false | — |
| case_sensitive | BOOLEAN | false | — |
| seed | INT | -1 | — |
| index_override | INT | -1 | — |
| debug_modeopt | BOOLEAN | false | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file_name | STRING | — |
| file_path | STRING | — |
| folder_path | STRING | — |
| status | STRING | — |