Nodes/Parametric Studio/PSN Style Library Switcher
ComfyUI Node

PSN Style Library Switcher

Selects a specific style block from the loaded prompt structure based on style_key. If the key is missing, uses fallback_style. Flattens the selected structure into a final prompt string.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
PSN Style Library Switcher
  • prompt_structure
  • resolved_prompt
◄style_keydefault►
◄fallback_styledefault►
◄delimiter, ►
CategoryParametric/Prompts

Inputs (4)

NameTypeDefaultDescription
prompt_structureDICT[object Object]Prompt structure.
style_keySTRINGdefaultStyle key. Default default.
fallback_styleSTRINGdefaultFallback style. Default default.
delimiteroptSTRING, Delimiter. Default , .

Outputs (1)

NameTypeDescription
resolved_promptSTRING—