Nodes/ComfyUI-Krea2-NAG/Krea2Edit Normalized Attention Guidance
ComfyUI Node

Krea2Edit Normalized Attention Guidance

Combined Krea2Edit and NAG forward. Source-reference attention stays on the positive path; NAG is applied only to target image tokens. Use CFG 1.0.

By iljung1106·Created 15 days ago·Updated 14 days ago· 10
Krea2Edit Normalized Attention Guidance
  • model
  • nag_negative
  • source_latent
  • source_latent_b
  • ref_boost_mask
  • vae
  • source_image
  • source_image_b
  • target_latent
  • model
phi4.0
tau2.50
alpha0.25
sigma_start1000.0
sigma_end0.0
ref_boost1.00
ref_boost_a1.00
fit_modefit
Categoryadvanced/guidance

Inputs (17)

NameTypeDefaultDescription
modelMODEL
nag_negativeCONDITIONING
source_latentLATENT
phiFLOAT4.00–20
tauFLOAT2.500.01–20
alphaFLOAT0.250–1
sigma_startFLOAT1000.00–1000
sigma_endFLOAT0.00–1000
source_latent_boptLATENT
ref_boostoptFLOAT1.000–1000
ref_boost_aoptFLOAT1.000–1000
fit_modeoptCOMBOfit2 options: fit, crop (legacy)
ref_boost_maskoptMASK
vaeoptVAE
source_imageoptIMAGE
source_image_boptIMAGE
target_latentoptLATENT

Outputs (1)

NameTypeDescription
modelMODEL