Nodes/ComfyUi-MpiNodes/Mpi Style Selector
ComfyUI Node

Mpi Style Selector

Style router: one 'selector' integer picks a style, and every MpiStyleLoras bank chained after this node applies that style's LoRA and passes its trigger words along. 'triggers' is one style per line. Line 1 pairs with lora_1 of the first bank, line 6 with lora_1 of the second bank, and so on. selector 0 = no style (model and clip pass through untouched, prompt is empty). A line whose lora slot is left at 'None' is a prompt-only style. strength_model / strength_clip apply to whichever LoRA is active. Leave strength_clip at 0 (or leave clip unconnected) for model-only LoRAs.

By MadPonyInteractive·Created 10 months ago·Updated 4 days ago· 2
Mpi Style Selector
  • model
  • clip
  • style
selector0
triggers
strength_model1.00
strength_clip0.00
CategoryMpiNodes/ModelOps

Inputs (6)

NameTypeDefaultDescription
modelMODEL
selectorINT00–1000Which style to use. 0 = none, 1 = first trigger line / lora_1 of the first bank.
triggersSTRINGOne style trigger per line. Line N is style N — keep the line order in sync with the lora slots.
strength_modelFLOAT1.00-10–10
strength_clipFLOAT0.00-10–10
clipoptCLIP

Outputs (1)

NameTypeDescription
styleMPI_STYLE