Cierpliwy/krea2_lineart_edit
241.3k
Krea 2 lineart edit
<Gallery />
LoRAs for Krea-2-Raw that turn a lineart sketch into a fully rendered image. You provide a lineart (e.g. extracted from a photo with the Realistic Lineart preprocessor) and a text prompt describing the final look โ the model paints it while following your lines.
๐ Try it out online in this demo Space.
Two variants are included:
Column 2 vs 3 in the gallery below shows the difference.
Requirements
- ComfyUI
- ComfyUI-Krea2-Ostris-Edit โ Krea 2 nodes (
TextEncodeKrea2OstrisEdit,Krea2OstrisEditModelPatch) - comfyui_controlnet_aux โ for the Realistic Lineart preprocessor (the lineart format these LoRAs were trained with)
- Krea-2-Raw base model weights: krea/Krea-2-Raw
Quick start
- Download the LoRA you want (Files & versions tab) and put it in
ComfyUI/models/loras/. - Load the example workflow
lineart_example.jsoninto ComfyUI (Workflow โ Open). - In the LoadImage node, drop in your lineart. Tip: run any photo through the Realistic Lineart preprocessor from
comfyui_controlnet_auxfirst โ the LoRAs work best with that specific line style. - In the TextEncodeKrea2OstrisEdit node, write a prompt describing the final image (style, colors, setting).
- Queue the prompt.
