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.

By omervaner·Created about a month ago·Updated about a month ago· 1
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)

    NameTypeDefaultDescription
    file_pathSTRINGPath to a .txt file, one prompt per line.
    line_indexINT00–2147483647Position among runnable lines (wraps around). Control: increment = forward, decrement = reverse, randomize = random, fixed = hold.
    pre_textSTRING
    after_textSTRING
    searchSTRINGText to find in each line (leave empty for no replacement).
    replaceSTRINGWhat `search` gets replaced with.
    cut_toSTRINGComma-separated markers. Cuts everything up to and including the earliest match (trims the line's head).
    cut_fromSTRINGComma-separated markers. Cuts everything from the earliest match onward (trims the line's tail).
    rating_filterCOMBOall3 options: all, good only, hide bad
    disabled_linesoptSTRING
    resolvedoptSTRING

    Outputs (2)

    NameTypeDescription
    textSTRING
    filename_slugSTRING