Nodes/comfyui-llm-wildcard-manager/🎲 LLM Wildcard Manager
ComfyUI Node

🎲 LLM Wildcard Manager

A ComfyUI node in prompt/wildcards with 17 inputs and 3 outputs.

By pclshmΒ·Created 4 months agoΒ·Updated 3 months agoΒ· 1
🎲 LLM Wildcard Manager
  • server
  • structure
  • prompt_template
  • prompts
  • negative_prompt
β—„example_promptA portrait of a woman doing an outdoor activity, photorealistic, masterpiece.β–Ί
β—„lock_templatefalseβ–Ί
β—„seed0β–Ί
β—„directionnoneβ–Ί
β—„production_tiernoneβ–Ί
β—„moodnoneβ–Ί
β—„anchorsβ–Ί
β—„negative_promptβ–Ί
β—„forbidden_placeholdersβ–Ί
β—„min_categories3β–Ί
β—„max_categories8β–Ί
β—„system_prompt_overrideβ–Ί
β—„categories{}β–Ί
β—„design_brief{}β–Ί
β—„lock_brieftrueβ–Ί
Categoryprompt/wildcards

Inputs (17)

NameTypeDefaultDescription
serverLLM_SERVERβ€”
example_promptSTRINGA portrait of a woman doing an outdoor activity, photorealistic, masterpiece.β€”
lock_templateBOOLEANfalseWhen ON, skip the LLM and reuse the last generated prompt template + categories. Re-queue to get fresh random wildcards from the Resolver without changing the prompt.
seedINT00–18446744073709550000β€”
directionSTRINGnoneβ€”
production_tierSTRINGnoneWhat KIND of making this is. Orthogonal to direction β€” 'homemade' steers per-slot values toward amateur/phone-snapshot equivalents (casual outfit, ambient light, plain pose) without touching the aesthetic style.
moodSTRINGnoneEmotional tone of the scene. Biases pose, expression, activity and time-of-day choices without dictating the visual style.
anchorsSTRINGUser-pinned phrases. Each anchor is force-added to fixed_traits so the LLM cannot wildcardify it or paraphrase it away. Use this when the idea names something specific (a setting, a garment) and you don't want the resolver to re-roll it.
negative_promptSTRINGWhat the LLM must avoid. Pinning an aspect here (e.g. 'no old/middle-aged people' when the idea is 'young woman') prevents the Manager from creating a wildcard for that aspect AND keeps the resolver's per-slot values from contradicting it.
forbidden_placeholdersSTRINGHard deny-list. Any placeholder name listed here is stripped from the generated template and demoted to concrete words, even if the LLM ignored the instruction. Use this as a backstop when the negative prompt isn't enough.
min_categoriesINT31–30Minimum number of __wildcard__ placeholders the Manager will accept. Enforced by retrying the wildcardify step if the LLM falls short. Higher = more variation.
max_categoriesINT81–30Maximum number of __wildcard__ placeholders in the generated template. Lower = more focused prompts.
system_prompt_overrideSTRINGβ€”
categoriesSTRING{}β€”
design_briefSTRING{}β€”
lock_briefBOOLEANtrueWhen ON, reuse the design brief on the node and skip the LLM brief call. When OFF, regenerate the brief from the LLM every queue (edits are overwritten).
structureoptWILDCARD_STRUCTUREβ€”

Outputs (3)

NameTypeDescription
prompt_templateSTRINGβ€”
promptsWILDCARD_PROMPTSβ€”
negative_promptSTRINGβ€”