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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Text containing optional (phrase:weight) segments. | |
| weighting_mode | COMBO | SDXL / CLIP (Standard) | Choose the output syntax expected by the target text encoder. |
| advanced_controls | BOOLEAN | false | Show or hide the optional clamping and negative-routing controls. |
| weight_clamping | COMBO | None | Optionally compress extreme weights with a soft safety clamp. |
| negative_routing | COMBO | Direct | Choose how negative weights are represented in clean-text modes. |
| clipopt | CLIP | Optional CLIP input for direct conditioning output. | |
| modelopt | MODEL | Optional model passthrough for compact workflow wiring. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| Weighted text | STRING | Text formatted for the selected weighting mode. |
| Weight dictionary | DICT | Parsed phrase-to-weight values. |
| NegPip text | STRING | Bracketed text compatible with negative-weight pipelines. |
| Conditioning | CONDITIONING | Encoded conditioning when CLIP is connected. |
| Model | MODEL | Model passthrough. |
| CLIP | CLIP | CLIP passthrough. |
| CLIP tokens | INT | CLIP-L token count for the weighted text, or -1 when unavailable. |