Nodes/Eric's Prompt Enhancers for ComfyUI/Wildcard Character Composer
ComfyUI Node

Wildcard Character Composer

Write the Subject section: type text between wildcard pills (Age, Occupation, Hair color...). Click a pill to see its list and fix, subset or exclude entries.

By EricRollei·Created about a year ago·Updated 2 days ago· 47
Wildcard Character Composer
  • sections
  • sections
  • text
  • llm_instructions
  • template
  • report
◄composer►
◄platformkrea2►
◄seed0►
◄nsfwoff►
◄violence_filteroff►
CategoryEric Prompt Enhancers/Wildcard Composers

Inputs (6)

NameTypeDefaultDescription
composerSTRINGComposer state (JSON), edited with the builder panel on the node. Empty = the starter phrase.
platformCOMBOkrea2Target model. Sets the order sections are joined in the `text` output (from the profile's structure line).
seedINT00–2147483647Same seed + same composer + same wildcard files = same picks.
sectionsoptPROMPT_SECTIONSSections from a builder earlier in the chain. This builder adds its own to them.
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 (5)

NameTypeDescription
sectionsPROMPT_SECTIONSEvery section filled so far (this builder and the ones before it). Connect to the next builder.
textSTRINGAll sections as one prompt, in the platform's order. Connect to a Platform Prompt Rewriter's idea for LLM polish, or use as is.
llm_instructionsSTRINGWhich picks were random and how to keep them (Meaning / Exact / Loose). Connect to the rewriter's wildcard_instructions.
templateSTRINGThe same prompt as wildcard syntax, unresolved. Useful to save, or to let another node roll it.
reportSTRINGWhat was picked, and any warnings.