ComfyUI Node
JoyLTX Prompts from File
Shot prompts from a file (--- separated text or JSON) -> the sampler's prompts input.
JoyLTX Prompts from File
- prompts
- shot_count
- name
- block
◄pathjoyltx_prompts/episode.txt►
◄reloadtrue►
◄modefile (path)►
◄folderjoyltx_prompts►
◄index0►
CategoryJoyLTX
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| path | STRING | joyltx_prompts/episode.txt | Relative to ComfyUI/input, or absolute. .txt: prompts separated by --- lines (or one per paragraph if there are no ---). .json: {"prompts": [...]} or a list. |
| reloadopt | BOOLEAN | true | Re-read the file every run (turn off to cache). |
| modeopt | COMBO | file (path) | file = the path above. folder + index = the N-th prompt file (sorted) in `folder`; wire `index` from a Primitive set to increment and queue the graph N times to render a folder of episodes unattended. |
| folderopt | STRING | joyltx_prompts | Folder under ComfyUI/input (or absolute) holding .txt / .json prompt files. |
| indexopt | INT | 00–100000 | In 'folder + index' mode: which FILE (0-based, wraps). For the `block` output it is also which BLOCK inside the chosen file. Wire a Primitive on 'increment' and queue once per item to walk a folder of scripts, or a file of story ideas, unattended. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| prompts | STRING | — |
| shot_count | INT | — |
| name | STRING | — |
| block | STRING | — |