ComfyUI-Krea2T-Enhancer is a specialized tool designed to enhance prompt adherence for Krea2 diffusion models within ComfyUI. It introduces various nodes that improve the integration of text and image processing, enabling more precise control over the generated outputs.
- Enhances the Krea2 model's text-fusion path to improve sampling accuracy.
- Offers advanced functionality such as attention-weighted phrase encoding and a Turbo sigma scheduler.
- Includes character LoRA loading capabilities that specifically target image tokens while minimizing interference with text processing.
Context
This tool serves as an enhancement package for Krea2 diffusion models in ComfyUI, focusing on improving the interaction between text prompts and generated images. Its primary goal is to refine the sampling process, ensuring that the generated images align more closely with the intended prompts.
Key Features & Benefits
The Krea2T-Enhancer includes several practical features that significantly improve the user experience:
- ComfyUI-Krea2T-Enhancer Node: This node patches the model path to enhance prompt adherence during the sampling process, making the outputs more reflective of the input prompts.
- Attention-Weighted Phrases: This feature allows users to assign weights to specific phrases in their prompts, adjusting how much attention the model pays to those phrases during image generation, thus improving the relevance of the output.
- Turbo Sigma Scheduler: This node creates a Turbo sigma schedule based on established Krea2 Turbo settings, validating the connected latent dimensions to ensure compatibility and optimal performance.
Advanced Functionalities
The tool offers advanced capabilities such as:
- Character LoRA — Image Only Loader: This loader applies character-specific updates directly to image tokens, bypassing text tokens to minimize interference. This ensures that character details are preserved without negatively impacting the overall prompt processing.
- Selective LoRA Loader: This utility allows users to selectively load LoRAs into the model, giving them control over which components of the Krea2 architecture are affected by the updates. It helps in isolating the effects of different LoRAs for more refined results.
Practical Benefits
Using the Krea2T-Enhancer streamlines the workflow in ComfyUI by providing users with more control over the relationship between text prompts and image outputs. It enhances the quality of generated images, allowing for more nuanced and accurate representations of user intentions. The addition of advanced features like weighted phrases and selective loading helps users to fine-tune their results, improving both efficiency and effectiveness in generating AI art.
Credits/Acknowledgments
This tool was developed by the original author, identified as capitan01R, and is hosted on GitHub under an open-source license. Contributions and updates are welcome from the community, fostering collaborative improvement of the tool.




