Nodes/ComfyUI-KikoTools/Batch Prompts
ComfyUI Node

Batch Prompts

A ComfyUI node in 🫢 ComfyAssets/πŸ“ Text with 7 inputs and 7 outputs.

By ComfyAssetsΒ·Created about a year agoΒ·Updated 2 months agoΒ· 18
Batch Prompts
    • positive
    • negative
    • full_prompt
    • next_prompt
    • current_index
    • total_prompts
    • batch_info
    β—„prompt_fileprompts.txtβ–Ί
    β—„index0β–Ί
    β—„auto_incrementtrueβ–Ί
    β—„wrap_aroundtrueβ–Ί
    β—„split_negativetrueβ–Ί
    β—„reload_filefalseβ–Ί
    β—„show_previewtrueβ–Ί
    Category🫢 ComfyAssets/πŸ“ Text

    Inputs (7)

    NameTypeDefaultDescription
    prompt_fileSTRINGprompts.txtPath to text file containing prompts separated by '---'
    indexINT00–9999Current prompt index (0-based)
    auto_incrementBOOLEANtrueAutomatically increment index after each execution
    wrap_aroundBOOLEANtrueWrap to first prompt after reaching the end
    split_negativeBOOLEANtrueSplit prompts into positive/negative at 'Negative:' marker
    reload_fileoptBOOLEANfalseForce reload file from disk
    show_previewoptBOOLEANtrueShow prompt preview in console

    Outputs (7)

    NameTypeDescription
    positiveSTRINGβ€”
    negativeSTRINGβ€”
    full_promptSTRINGβ€”
    next_promptSTRINGβ€”
    current_indexINTβ€”
    total_promptsINTβ€”
    batch_infoSTRINGβ€”