Nodes/comfyui-gigachad/⚡ Gigachad Prompt File Reader
ComfyUI Node

⚡ Gigachad Prompt File Reader

A ComfyUI node in Gigachad with 7 inputs and 5 outputs.

By Winnougan·Created 3 months ago·Updated 3 months ago· 2
⚡ Gigachad Prompt File Reader
    • prompt
    • index
    • total
    • filename
    • remaining
    modesingle_file
    path
    index_modesequential
    fixed_index0
    looptrue
    reload_each_runfalse
    auto_queuefalse
    CategoryGigachad

    Inputs (7)

    NameTypeDefaultDescription
    modeCOMBOsingle_filesingle_file: read one .txt containing one or more prompts separated by blank lines. batch_folder: read all .txt files in a folder in order.
    pathSTRINGsingle_file: full path to the .txt file, e.g. C:/prompts/myprompts.txt batch_folder: path to the folder, e.g. C:/prompts/batch/
    index_modeCOMBOsequentialsequential: step through prompts one by one each run. random: pick a random prompt each run. fixed: always use the prompt at 'fixed_index'.
    fixed_indexINT00–99999Which prompt to use when index_mode='fixed'.
    loopBOOLEANtrueWhen sequential reaches the last prompt, loop back to 0 or stay.
    reload_each_runBOOLEANfalseWhen ON, re-reads the file(s) every execution so edits to your .txt are picked up without restarting ComfyUI.
    auto_queueBOOLEANfalseWhen ON, automatically re-queues after each run to step through all prompts without clicking Queue repeatedly. Stops when the last prompt is reached (unless loop is ON).

    Outputs (5)

    NameTypeDescription
    promptSTRING
    indexINT
    totalINT
    filenameSTRING
    remainingINT