Nodes/WFA Node Suite (WaifuArchitect)/WFA Prompt Label Filter ⚡ (WFA Suite)
ComfyUI Node

WFA Prompt Label Filter ⚡ (WFA Suite)

A ComfyUI node in WFA Node Suite/Prompts with 4 inputs and 3 outputs.

By WAonGHub·Created 22 days ago·Updated 2 days ago· 1
WFA Prompt Label Filter ⚡ (WFA Suite)
    • label_filter
    • end_index
    • count
    ◄prompt_fileexample_prompts.txt►
    ◄filter_modeAllowed Only►
    ◄label_states{}►
    ◄text_override—►
    CategoryWFA Node Suite/Prompts

    Inputs (4)

    NameTypeDefaultDescription
    prompt_fileCOMBOexample_prompts.txtSelect the prompt masterlist `.txt` file to scan for `[LABEL]` title tags.
    filter_modeCOMBOAllowed Only• Allowed Only: Passes prompts whose labels are ALL checked — unchecking any label (e.g. [PREG] or [M1]) skips every prompt carrying that label. • Match ANY (OR): Passes any prompt that has at least 1 checked label. • Match ALL (AND): Passes only prompts that have every checked label simultaneously.
    label_statesSTRING{}Serialized checkbox state managed automatically by the interactive label UI.
    text_overrideoptSTRINGOptional raw prompt list text wire (overrides `prompt_file` when connected).

    Outputs (3)

    NameTypeDescription
    label_filterWFA_PROMPT_FILTER—
    end_indexINT—
    countINT—