Nodes/comfyui-prompt-folder/Prompt From Folder
ComfyUI Node

Prompt From Folder

Load one prompt from a folder of .txt files in ComfyUI/input/prompts, at random or in sequence. Press R to refresh the folder list.

By nzkritik·Created 5 days ago·Updated 5 days ago· 1
Prompt From Folder
    • prompt
    • file
    ◄folder▾►
    ◄include_subfoldersfalse►
    ◄modesequence►
    ◄seed0►
    Categoryutils/Prompt Folder

    Inputs (4)

    NameTypeDefaultDescription
    folderCOMBOA folder under ComfyUI/input/prompts. Symlinked folders work too.
    include_subfoldersBOOLEANfalse—
    modeCOMBOsequencerandom: a seeded random pick. sequence: each prompt in file-name order, one per run.
    seedINT00–18446744073709550000Random: the same seed always picks the same prompt. Sequence: the position in the sorted list, so set this to increment to take the next prompt on every run.

    Outputs (2)

    NameTypeDescription
    promptSTRING—
    fileSTRING—