Nodes/comfyui-promptpalette/Prompt Palette (Weight Controller)
ComfyUI Node

Prompt Palette (Weight Controller)

Prompt Palette (by z3rofeels) - Weight Controller: a universal per-phrase weighting front-end for `(phrase:weight)` syntax. Parses weighted segments out of any input text and re-emits them in the format your backend actually wants - bracketed SDXL/CLIP syntax, Krea 2/ZIT/Qwen-style, or plain de-bracketed text for LLM/T5 encoders - with optional soft clamping and negative-weight routing. Can also encode straight to CONDITIONING if CLIP is connected.

By z3rofeels·Created 2 months ago·Updated a day ago· 14
Prompt Palette (Weight Controller)
  • clip
  • model
  • Weighted text
  • Weight dictionary
  • NegPip text
  • Conditioning
  • Model
  • CLIP
  • CLIP tokens
text
weighting_modeSDXL / CLIP (Standard)
advanced_controlsfalse
weight_clampingNone
negative_routingDirect
CategoryPromptPalette

Inputs (7)

NameTypeDefaultDescription
textSTRINGText containing optional (phrase:weight) segments.
weighting_modeCOMBOSDXL / CLIP (Standard)Choose the output syntax expected by the target text encoder.
advanced_controlsBOOLEANfalseShow or hide the optional clamping and negative-routing controls.
weight_clampingCOMBONoneOptionally compress extreme weights with a soft safety clamp.
negative_routingCOMBODirectChoose how negative weights are represented in clean-text modes.
clipoptCLIPOptional CLIP input for direct conditioning output.
modeloptMODELOptional model passthrough for compact workflow wiring.

Outputs (7)

NameTypeDescription
Weighted textSTRINGText formatted for the selected weighting mode.
Weight dictionaryDICTParsed phrase-to-weight values.
NegPip textSTRINGBracketed text compatible with negative-weight pipelines.
ConditioningCONDITIONINGEncoded conditioning when CLIP is connected.
ModelMODELModel passthrough.
CLIPCLIPCLIP passthrough.
CLIP tokensINTCLIP-L token count for the weighted text, or -1 when unavailable.