ComfyUI Node

EZ Tag Loader

Loads tags from selected text file based on UI selection.

By ez-af·Created 2 years ago·Updated 3 months ago· 28
EZ Tag Loader
    • STRING
    • OPT_FILEPATH
    • BATCH_SELECTED
    tags_file
    selection_modesingle
    opt_seed0
    filter_text
    add_after
    selected_tags
    CategoryEZ NODES

    Inputs (6)

    NameTypeDefaultDescription
    tags_fileCOMBOText file to search for tags
    selection_modeCOMBOsingle- single: Allows selection of one item at a time. - multiple: Allows selection of multiple items. Output will be comma-separated. - random: Allows selection of multiple items. Randomly outputs one of the selected items on each prompt queue. Will select from all visible (filtered) items if none or single item is selected. Uses seed if opt_seed is connected. Always re-executes node if opt_seed is not connected
    opt_seedoptINT00–18446744073709550000Control SEED, used only in 'random' selection mode. If not connected, always re-executes node on prompt
    filter_textoptSTRINGFilter items based on a text string
    add_afteroptSTRINGAdd text string after each tag (space-separated)
    selected_tagsoptSTRING

    Outputs (3)

    NameTypeDescription
    STRINGSTRINGSelected tag(s). Delimited by comma if multiple
    OPT_FILEPATHSTRINGPath to currently selected text file containing tags.
    BATCH_SELECTEDSTRINGList of all selected items. Will output all visible (filtered) items if none or single item is selected.