ComfyUI Node

Wildcard Processor

A ComfyUI node in Eric Prompt Enhancers with 9 inputs and 4 outputs.

By EricRollei·Created about a year ago·Updated 3 days ago· 47
Wildcard Processor
    • text
    • llm_instructions
    • record_json
    • report
    ◄text__person__, __gestures__, beside __objects[hollow AND antique]__ in __spaces/**__. __light/setups__. __camera/lenses__.►
    ◄seed0►
    ◄moderandom►
    ◄index0►
    ◄legacy_syntaxtrue►
    ◄use_prompt_databasetrue►
    ◄extra_paths►
    ◄nsfwoff►
    ◄violence_filteroff►
    CategoryEric Prompt Enhancers

    Inputs (9)

    NameTypeDefaultDescription
    textSTRING__person__, __gestures__, beside __objects[hollow AND antique]__ in __spaces/**__. __light/setups__. __camera/lenses__.Prompt with wildcard syntax. __name__ = file wildcard, {a|b} = variant, __objects[tag AND tag]__ = pick by tag.
    seedINT00–18446744073709550000Same seed + same wildcard files = same text.
    modeCOMBOrandomrandom = weighted random picks decided by the seed. combinatorial = no randomness: the `index` input walks through every possible combination in order.
    indexoptINT00–4294967295A counter, not a seed. Connect a number that goes up by one per run. It selects which combination comes out when mode = combinatorial (wraps around at the end), and it steps cyclical variants {@a|b|c} in either mode.
    legacy_syntaxoptBOOLEANtrueAlso accept the v1 forms {animal} and {label:a|b|c}.
    use_prompt_databaseoptBOOLEANtrueLet __db:query__ draw a matching prompt from the prompt database.
    extra_pathsoptSTRINGExtra wildcard folders, one per line, highest priority. ComfyUI/models/wildcards is always searched; this is for folders elsewhere.
    nsfwoptCOMBOoffHow far wildcard picks may go (a word match on each entry and on list names, no model). off = SFW: no suggestive, nude or explicit lists or entries suggestive = also lingerie, bikinis, sexy, seductive ... nudity = also nude, naked, topless ... explicit = everything, including lists under _nsfw/ Fix a wrong rating in _catalog_user.yaml (nsfw: on a list, ratings: on entries). Entries pairing minor-related and sexual terms are removed at every level (config.json "content_filter").
    violence_filteroptCOMBOoffHold back violent wildcard picks (a word match on each entry and on list names, no model). off = nothing held back no gore = blood and gore, torture, mutilation, corpses no gore or violent acts = also murder, execution, stabbing, strangling, suicide ... no violence or weapons = also guns, swords, knives, bombs, battle, war Only wildcard picks are filtered; text you type is left as is.

    Outputs (4)

    NameTypeDescription
    textSTRING—
    llm_instructionsSTRING—
    record_jsonSTRING—
    reportSTRING—