ComfyUI Node
Prompt Deck
Feeds prompts line-by-line from a text file, with a visible list, click-to-jump, hold, ratings, and per-line disable. Blank lines and # comments are skipped; leading numbering like `12.` is stripped. line_index counts runnable lines and wraps around.
Prompt Deck
- text
- filename_slug
◄file_path►
◄line_index0►
◄pre_text►
◄after_text►
◄search►
◄replace►
◄cut_to►
◄cut_from►
◄rating_filterall►
◄disabled_lines►
◄resolved►
CategoryPromptDeck
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| file_path | STRING | Path to a .txt file, one prompt per line. | |
| line_index | INT | 00–2147483647 | Position among runnable lines (wraps around). Control: increment = forward, decrement = reverse, randomize = random, fixed = hold. |
| pre_text | STRING | — | |
| after_text | STRING | — | |
| search | STRING | Text to find in each line (leave empty for no replacement). | |
| replace | STRING | What `search` gets replaced with. | |
| cut_to | STRING | Comma-separated markers. Cuts everything up to and including the earliest match (trims the line's head). | |
| cut_from | STRING | Comma-separated markers. Cuts everything from the earliest match onward (trims the line's tail). | |
| rating_filter | COMBO | all | 3 options: all, good only, hide bad |
| disabled_linesopt | STRING | — | |
| resolvedopt | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| filename_slug | STRING | — |