Nodes/Krea2_ComfyUI_Advanced/Eric Krea2 Style Reference (training-free)
ComfyUI Node

Eric Krea2 Style Reference (training-free)

A ComfyUI node in Eric/Krea2 with 18 inputs and 2 outputs.

By EricRollei·Created 3 months ago·Updated 3 days ago· 18
Eric Krea2 Style Reference (training-free)
  • style_image
  • style
  • style_preview
◄presetrecommended►
◄style_strength1.00►
◄s1_strength1.00►
◄s2_strength0.00►
◄s3_strength0.00►
◄ref_k_strength1.06►
◄low_scale_end1.10►
◄high_scale_start1.04►
◄high_scale_end0.00►
◄adain_strength0.85►
◄ref_value_mix1.00►
◄value_adain_strength0.65►
◄beta2.50►
◄blocks7-27►
◄trajectorymodel_pc►
◄gamma0.50►
◄trajectory_steps8►
CategoryEric/Krea2

Inputs (18)

NameTypeDefaultDescription
style_imageIMAGEThe style reference. Its palette / brushwork / texture / rendering language are transferred; its content should not leak. It is cover-cropped to each styled stage's size, so similar aspect ratios crop less.
presetoptCOMBOrecommendedrecommended: the original author's tuned low-leakage route (custom widgets ignored). custom: use the widgets below.
style_strengthoptFLOAT1.000–2Overall style amount (applies in both modes). 0 = off.
s1_strengthoptFLOAT1.000–2Stage 1 multiplier on style_strength. 0 = stock model for S1.
s2_strengthoptFLOAT0.000–2Stage 2 multiplier. Default 0: S2 refines S1's styled result at full speed; raise to re-assert the style while refining (slow).
s3_strengthoptFLOAT0.000–2Stage 3 multiplier (very slow at 8 MP).
ref_k_strengthoptFLOAT1.060–5custom: multiplier on the reference keys - how hard the target attends to the reference. Brings style back when low_scale_end is kept low.
low_scale_endoptFLOAT1.10-4–8custom: end weight of the reference keys' low-frequency bands. Higher = more style, more content leakage / quality loss.
high_scale_startoptFLOAT1.04-4–8custom: start weight of the high-frequency (positional) bands; they fade to high_scale_end over the run.
high_scale_endoptFLOAT0.00-4–8custom: end weight of the high-frequency bands (0 = the target cannot copy reference positions late in the run).
adain_strengthoptFLOAT0.850–1custom: AdaIN of the target's Q/K toward the reference.
ref_value_mixoptFLOAT1.000–1custom: share of raw reference values (1 = raw).
value_adain_strengthoptFLOAT0.650–1.5custom: AdaIN of target values toward the reference (only matters when ref_value_mix < 1).
betaoptFLOAT2.500.01–20custom: curve of the high->low frequency weighting.
blocksoptSTRING7-27custom: transformer blocks that see the reference, e.g. 7-27 or 5,8,20-27.
trajectoryoptCOMBOmodel_pcHow the reference is noised to the target's level. model_pc: model-guided (original route, costs ~2x trajectory_steps evals per styled stage). linear: plain ref+noise mix, free but weaker.
gammaoptFLOAT0.500–1model_pc blend: 1 = pure model trajectory, 0 = pure linear prior.
trajectory_stepsoptINT82–32Points on the reference trajectory per styled stage.

Outputs (2)

NameTypeDescription
styleKREA2_STYLE—
style_previewIMAGE—