Nodes/comfyui-fvmtools/K2 Prompt Emphasis
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.

By ping1979ping·Created 5 months ago·Updated 21 days ago· 0
K2 Prompt Emphasis
  • emphasis
  • emphasis
phrase
scope__global__
strength0.50
occurrence0
CategoryFVM Tools/K2

Inputs (5)

NameTypeDefaultDescription
phraseSTRINGCase-sensitive exact phrase.
scopeSTRING__global__'__global__' for the global prompt, otherwise the region name or region id.
strengthFLOAT0.500–2Additional attention bias. 0 disables.
occurrenceINT00–32Which occurrence to target when the phrase appears multiple times (0 = first).
emphasisoptK2_EMPHASISChain input: previously defined emphases.

Outputs (1)

NameTypeDescription
emphasisK2_EMPHASIS