jieg9341-lab/comfyui-krea2-styletransfer — explained in plain English
Analysis updated 2026-05-18
Apply the visual style of one reference image to a new AI-generated image without training a custom model.
Blend the styles of two reference images together using controllable stage-based settings.
Fine-tune style transfer strength against content leakage using the ref_k_strength and low_scale_end controls.
Add a training-free style reference workflow to an existing ComfyUI Krea2 setup.
| jieg9341-lab/comfyui-krea2-styletransfer | orchestration-agent/agentorchestration | paddlepaddle/plsc | |
|---|---|---|---|
| Stars | 155 | 155 | 155 |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-06 |
| Maintenance | — | — | Dormant |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 3/5 | 4/5 | 4/5 |
| Audience | vibe coder | ops devops | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing ComfyUI installation with the Krea2 model already set up before adding these nodes.
This project adds a set of custom nodes to ComfyUI, a visual tool for building AI image generation workflows, that let you copy the visual style of one reference image onto a new image while keeping the content described by your text prompt. It works with the Krea2 image model and does not require any training or preparing a dataset, unlike the more common approach of training a LoRA, which is a small add-on file that teaches a model a particular look. The README explains that Krea2 does not officially ship a style reference feature, and the usual workarounds each have problems. Image-to-image editing tends to change the subject or layout instead of just the style, and extracting a style through text prompts alone is unreliable and depends heavily on how the description is worded. Earlier attempts at directly injecting a reference image's style into the generation process could transfer the look, but often let unwanted details from the reference image leak into the output, or reduced overall image quality. The author's main technical finding is that two settings, called low_scale_end and ref_k_strength, can be separated from each other. Normally, turning up style transfer strength also let content leak in and hurt quality, while turning it down protected quality but weakened the style transfer. By adding ref_k_strength as its own separate control, the project lets low_scale_end stay set low, which keeps content leakage and quality problems in check, while ref_k_strength brings the style transfer back on its own. The project includes several ComfyUI nodes: one to prepare a single reference image, one to run the main single-image style transfer, and a pair of nodes for an experimental two-reference mode that blends the style of two images together in stages rather than simply averaging them. The two-reference mode is deliberately capped at two images, since the README notes that three or more references tend to compete with each other and produce unstable or hard to control results. Recommended settings for both strength values and sampler parameters are provided directly in the README for users who want to start from a tested configuration.
Custom ComfyUI nodes that copy a reference image's visual style onto new Krea2 generations without training, while limiting unwanted content leakage.
Mainly Python. The stack also includes Python, ComfyUI, Krea2.
No license information was found in the explanation provided.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
double-check against the repo, no cap.