ComfyUI Node
NS Cross-Attention Map Recycler
A ComfyUI node in NS/Attention with 8 inputs and 1 output.
NS Cross-Attention Map Recycler
- model
- MODEL
◄collection_end0.30►
◄injection_start0.30►
◄injection_strength0.30►
◄decay0.50►
◄target_layers▾►
◄collection_momentum0.70►
◄reset_cacheenable►
CategoryNS/Attention
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| collection_end | FLOAT | 0.300.05–0.5 | — |
| injection_start | FLOAT | 0.300.1–0.8 | — |
| injection_strength | FLOAT | 0.300–1 | — |
| decay | FLOAT | 0.500–1 | — |
| target_layers | COMBO | 4 options: all, mid_only, up_only, down_and_mid | |
| collection_momentum | FLOAT | 0.700–1 | EMA momentum for collected attention maps. Higher = more weight on earlier maps |
| reset_cache | COMBO | enable | Enable: clear cached attention maps every generation (more diversity). Disable: reuse maps across generations (more consistency) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |