ComfyUI Node
Eric Krea2 Style Reference (training-free)
A ComfyUI node in Eric/Krea2 with 18 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| style_image | IMAGE | The 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. | |
| presetopt | COMBO | recommended | recommended: the original author's tuned low-leakage route (custom widgets ignored). custom: use the widgets below. |
| style_strengthopt | FLOAT | 1.000–2 | Overall style amount (applies in both modes). 0 = off. |
| s1_strengthopt | FLOAT | 1.000–2 | Stage 1 multiplier on style_strength. 0 = stock model for S1. |
| s2_strengthopt | FLOAT | 0.000–2 | Stage 2 multiplier. Default 0: S2 refines S1's styled result at full speed; raise to re-assert the style while refining (slow). |
| s3_strengthopt | FLOAT | 0.000–2 | Stage 3 multiplier (very slow at 8 MP). |
| ref_k_strengthopt | FLOAT | 1.060–5 | custom: 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_endopt | FLOAT | 1.10-4–8 | custom: end weight of the reference keys' low-frequency bands. Higher = more style, more content leakage / quality loss. |
| high_scale_startopt | FLOAT | 1.04-4–8 | custom: start weight of the high-frequency (positional) bands; they fade to high_scale_end over the run. |
| high_scale_endopt | FLOAT | 0.00-4–8 | custom: end weight of the high-frequency bands (0 = the target cannot copy reference positions late in the run). |
| adain_strengthopt | FLOAT | 0.850–1 | custom: AdaIN of the target's Q/K toward the reference. |
| ref_value_mixopt | FLOAT | 1.000–1 | custom: share of raw reference values (1 = raw). |
| value_adain_strengthopt | FLOAT | 0.650–1.5 | custom: AdaIN of target values toward the reference (only matters when ref_value_mix < 1). |
| betaopt | FLOAT | 2.500.01–20 | custom: curve of the high->low frequency weighting. |
| blocksopt | STRING | 7-27 | custom: transformer blocks that see the reference, e.g. 7-27 or 5,8,20-27. |
| trajectoryopt | COMBO | model_pc | How 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. |
| gammaopt | FLOAT | 0.500–1 | model_pc blend: 1 = pure model trajectory, 0 = pure linear prior. |
| trajectory_stepsopt | INT | 82–32 | Points on the reference trajectory per styled stage. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| style | KREA2_STYLE | — |
| style_preview | IMAGE | — |