ComfyUI Node
K2 Prompt Emphasis
Boosts the spatial binding of one exact phrase. The phrase must occur literally in the selected scope (global prompt or a region prompt). This adds attention bias between those text tokens and the image tokens of the scope — it does not rewrite Qwen token weights and it is not the same as (phrase:1.2) weighting.
K2 Prompt Emphasis
- emphasis
- emphasis
◄phrase►
◄scope__global__►
◄strength0.50►
◄occurrence0►
CategoryFVM Tools/K2
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| phrase | STRING | Case-sensitive exact phrase. | |
| scope | STRING | __global__ | '__global__' for the global prompt, otherwise the region name or region id. |
| strength | FLOAT | 0.500–2 | Additional attention bias. 0 disables. |
| occurrence | INT | 00–32 | Which occurrence to target when the phrase appears multiple times (0 = first). |
| emphasisopt | K2_EMPHASIS | Chain input: previously defined emphases. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| emphasis | K2_EMPHASIS | — |