ComfyUI Node
Token Remap (CCN)
Encode a prompt with token-level embedding remapping. Remap words like 'ship' to 'starship' at the embedding level with controllable blending.
Token Remap (CCN)
- clip
- conditioning
- text_out
◄text—►
◄remappings# source -> target
# ship -> starship
# craft -> spacecraft►
◄blend1.00►
CategoryCCN/conditioning
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | — | |
| text | STRING | — | |
| remappings | STRING | # source -> target # ship -> starship # craft -> spacecraft | — |
| blend | FLOAT | 1.00-100–100 | 0.0 = original prompt, 1.0 = fully remapped. Values beyond 0-1 extrapolate in embedding space. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | — |
| text_out | STRING | — |