Nodes/ComfyUI-Nunchaku-Klein/Nunchaku FLUX.2 Klein Identity Feature Transfer (Final)
ComfyUI Node

Nunchaku FLUX.2 Klein Identity Feature Transfer (Final)

Transfers identity features from a global reference bank after attention.

By tom-m-2020·Created 26 days ago·Updated 6 days ago· 1
Nunchaku FLUX.2 Klein Identity Feature Transfer (Final)
  • model
  • sigmas
  • subject_mask_1
  • subject_mask_2
  • subject_mask_3
  • subject_mask_4
  • subject_mask_5
  • subject_mask_6
  • subject_mask_7
  • subject_mask_8
  • MODEL
presetHARD_LOCK
enabledtrue
reference_index0
reference_indicesall
similarity_floor0.040
softmax_temperature0.0250
mask_threshold1.00
double_blocks0-7:mid_img=0.55
single_blocks0:mid_img=0.22; 1:mid_img=0.24; 3:mid_img=0.28; 4:mid_img=0.22; 6:mid_img=0.26; 7:mid_img=0.27; 8:mid_img=0.25; 10:mid_img=0.27; 13:mid_img=0.27
debugfalse
mask_behaviorfocus_only
debug_spatialfalse
debug_probe_block_typedouble
debug_probe_block_index0
debug_eligible_bank_cap0
debug_reference_pool_height0
debug_reference_pool_width0
CategoryNunchaku/FLUX.2 Klein/Enhancer/Reference

Inputs (27)

NameTypeDefaultDescription
modelMODEL
presetCOMBOHARD_LOCK4 options: HARD_LOCK, MID_LOCK, SOFT_LOCK, custom
enabledBOOLEANtrue
reference_indexINT00–15
reference_indicesSTRINGall
similarity_floorFLOAT0.0400–0.95
softmax_temperatureFLOAT0.02500.0001–0.25
mask_thresholdFLOAT1.000–1
double_blocksSTRING0-7:mid_img=0.55
single_blocksSTRING0:mid_img=0.22; 1:mid_img=0.24; 3:mid_img=0.28; 4:mid_img=0.22; 6:mid_img=0.26; 7:mid_img=0.27; 8:mid_img=0.25; 10:mid_img=0.27; 13:mid_img=0.27
debugBOOLEANfalse
mask_behaviorCOMBOfocus_onlyfocus_only preserves the original masking behavior: the mask limits this node's reference bank while Klein still sees the complete reference. zero_unmasked_tokens blocks each wired reference's unmasked tokens as attention sources in every block. References without a wired mask remain complete and unchanged.
sigmasoptSIGMASSigma-aware strength scheduling is not supported by this first Nunchaku slice.
debug_spatialoptBOOLEANfalse
debug_probe_block_typeoptCOMBOdouble2 options: double, single
debug_probe_block_indexoptINT00–23
debug_eligible_bank_capoptINT00–65536
debug_reference_pool_heightoptINT00–4096
debug_reference_pool_widthoptINT00–4096
subject_mask_1optMASK
subject_mask_2optMASK
subject_mask_3optMASK
subject_mask_4optMASK
subject_mask_5optMASK
subject_mask_6optMASK
subject_mask_7optMASK
subject_mask_8optMASK

Outputs (1)

NameTypeDescription
MODELMODEL