ComfyUI Node
LC Weighted Prompt ⚖️
A text encoder with a weight per word: click a word, move its slider. Green = more, red = less, below 0 = taken out. Works on Krea 2 (inside the model) and on CLIP models (SDXL, Illustrious, Pony).
LC Weighted Prompt ⚖️
- clip
- model
- edit_conditioning
- model
- conditioning
- prompt
- weighted_prompt
◄text►
◄strength1.00►
◄weights[]►
◄blockon change►
◄last_in►
◄prompt—►
CategoryLC123/conditioning
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | The text encoder (Krea 2, SDXL, Illustrious, Pony ...). | |
| text | STRING | The prompt. Its words show below, ready to weight. | |
| strength | FLOAT | 1.000–3 | How strongly every weight acts. Lower it if a weighted word starts to break the picture up. |
| weights | STRING | [] | The word weights (set on the node). |
| modelopt | MODEL | Krea 2 needs the model: its weights work inside the model. Other models don't. | |
| edit_conditioningopt | CONDITIONING | Not needed: the weights find their words in any Krea 2 encoding (wire this node's prompt into the edit encoder instead). Wired, this conditioning comes out as the node's own. | |
| blockopt | COMBO | on change | With the prompt socket wired. on change: the box takes the incoming prompt when it changes, your edit holds until then. always: the box holds, and a new incoming prompt stops the run here: edit, then Run carries on with the same seeds. never: the incoming prompt always comes through. |
| last_inopt | STRING | The incoming prompt of the last run (set on the node). | |
| promptopt | STRING | Optional: a prompt from another node. It lands in the box, where you can edit and weight it (see block). |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| model | MODEL | The model, with the word weights built in on Krea 2 (wire it to the sampler). |
| conditioning | CONDITIONING | The encoded prompt. |
| prompt | STRING | The prompt used (your edit, or the linked one), without weights: wire it into an edit encoder or metadata. |
| weighted_prompt | STRING | The prompt with (word:weight) written in, for metadata or another encoder. |