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.
PSN Style Library Switcher
- prompt_structure
- resolved_prompt
◄style_keydefault►
◄fallback_styledefault►
◄delimiter, ►
CategoryParametric/Prompts
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_structure | DICT | [object Object] | Prompt structure. |
| style_key | STRING | default | Style key. Default default. |
| fallback_style | STRING | default | Fallback style. Default default. |
| delimiteropt | STRING | , | Delimiter. Default , . |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| resolved_prompt | STRING | — |