Nodes/ComfyUI-Batch-Process/TXT Batch Loader
ComfyUI Node

TXT Batch Loader

A ComfyUI node in Batch Process with 10 inputs and 2 outputs.

By Zar4X·Created about a year ago·Updated 6 months ago· 15
TXT Batch Loader
    • content
    • filename
    directory
    search_title
    search_content
    delimiter
    modeincremental_text
    seed0
    filename_option
    start_index0
    end_index0
    reset_on_queue1
    CategoryBatch Process

    Inputs (10)

    NameTypeDefaultDescription
    directorySTRING
    search_titleSTRING
    search_contentSTRING
    delimiterSTRING
    modeCOMBOincremental_text3 options: single_text, incremental_text, random
    seedINT00–18446744073709550000
    filename_optionCOMBO5 options: filename, prefix, suffix, prefix & suffix, prefix nor suffix
    start_indexINT00–999999Start index (1-based). Use 0 to start from beginning, or set 1 for first text file, 2 for second text file, etc.
    end_indexINT00–999999End index (inclusive, 1-based). Use 0 to include all remaining text files, or set >0 to limit range (1=first, 2=second, etc.).
    reset_on_queueoptINT10–1Any change to this value (0↔1) resets the read index to start from the first file again. Keep unchanged during a queue run to advance normally.

    Outputs (2)

    NameTypeDescription
    contentSTRING
    filenameSTRING