Nodes/ComfyUI_StarNodes/⭐ Star Prompt Picker
ComfyUI Node

⭐ Star Prompt Picker

A ComfyUI node in ⭐StarNodes/Text And Data with 8 inputs and 4 outputs.

By Starnodes2024·Created 2 years ago·Updated 7 days ago· 103
⭐ Star Prompt Picker
    • prompt
    • current_index
    • total_prompts
    • remaining_prompts
    pick_sourcePick From File
    file_path
    folder_path
    modeOne By One
    start_index0
    reset_progressfalse
    include_subfoldersfalse
    seed0
    Category⭐StarNodes/Text And Data

    Inputs (8)

    NameTypeDefaultDescription
    pick_sourceCOMBOPick From FileChoose where to pick prompts from. File: one prompt per line. Folder: one .txt file per prompt.
    file_pathSTRINGPath to a .txt file where each line is one prompt (empty lines are ignored). Used when Pick From File is selected.
    folder_pathSTRINGPath to a folder containing .txt files. Each file is treated as a single prompt (full file text). Used when Pick From Folder is selected.
    modeCOMBOOne By OneRandom: pick a random prompt each run. One By One: iterate prompts sequentially and save progress.
    start_indexINT00–1000000000Starting index for One By One mode (used when no saved progress exists, or when reset_progress is enabled).
    reset_progressoptBOOLEANfalseIf enabled, resets saved progress and starts at start_index.
    include_subfoldersoptBOOLEANfalseOnly for Pick From Folder: include .txt files in subfolders.
    seedoptINT00–18446744073709550000Optional seed for Random mode. 0 = use a new random seed each run.

    Outputs (4)

    NameTypeDescription
    promptSTRING
    current_indexINT
    total_promptsINT
    remaining_promptsINT