Native-style nodes for Krea2 Control LoRA inference are integrated into ComfyUI, allowing users to utilize expanded input projections from LoRA checkpoints during sampling while maintaining compatibility with existing workflows. This tool enhances the functionality of ComfyUI by enabling precise control over image generation through VAE-encoded latents.
- It features a dedicated loader for Krea2 Control LoRA, which prepares the model and manages sampling efficiently.
- The encoding node allows users to process control images using the Krea2/Qwen VAE, supporting various preprocessed inputs without direct integration with other external tools.
- The application node converts encoded latents into the Krea2 latent space, ensuring a seamless workflow and preventing errors during sampling.
Context
This tool serves as an extension for ComfyUI, specifically designed for Krea2 Control LoRA inference. Its primary purpose is to enhance the model's capabilities by allowing users to load and apply control LoRAs effectively, thereby improving the quality of generated images.
Key Features & Benefits
The Krea2 Control LoRA Loader streamlines the loading process of LoRA weights and prepares the model for sampling, which is crucial for maintaining the integrity of the image generation workflow. The Krea2 Control Image Encode node allows for flexible input processing, enabling users to encode control images in various formats while ensuring compatibility with different types of LoRAs. Lastly, the Krea2 Control Apply node is essential for integrating the encoded control latents into the model, ensuring that users can achieve the desired output without encountering errors.
Advanced Functionalities
Advanced functionalities include the ability to apply block LoRA weights through ComfyUI's ModelPatcher, which allows for normal model loading and offloading while supporting low-VRAM operations. The node's design also accommodates quantized or GGUF UNET loaders by reading live module weight shapes, enhancing compatibility and performance. Additionally, users can customize the encoding process through options like channel mode and normalization to suit various control types.
Practical Benefits
This tool significantly improves the workflow within ComfyUI by providing users with enhanced control over their image generation processes. It allows for greater flexibility and precision in handling control images, ultimately leading to higher quality outputs. The clear structure of nodes and their interconnections facilitates a more efficient workflow, reducing the risk of errors during sampling.
Credits/Acknowledgments
The development of this tool acknowledges the contributions of the Krea-2-controlnet project for providing documentation on the Krea2 control-LoRA inference pipeline. Additionally, thanks are given to Patil/Krea-2-depth-controlnet for supplying public depth Control LoRA weights, which further enrich the capabilities of this tool.




