66 lines
2.8 KiB
Markdown
66 lines
2.8 KiB
Markdown
# 🎨🖼️ ComfyUI MagicClip_Strength for SDXL 🖼️🎨
|
|
|
|

|
|
|
|
<p align="center">
|
|
<a href="https://ko-fi.com/311_code"><img src="https://img.shields.io/badge/Support%20Me-Ko--Fi-red?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Support me on Ko-Fi"></a>
|
|
</p>
|
|
|
|
## ✨ Introduction
|
|
|
|
This project allows you to adjust the two SDXL text encoder's strengths individually for `clip_g` (ViT-bigG) and `clip_l` (CLIP-ViT-L) within **ComfyUI**.
|
|
|
|
## 🔧 Features
|
|
|
|
- 🎯 **Clip Text Encoding**: Adjust `clip_g` (global) and `clip_l` (local) strengths for better text-to-image alignment.
|
|
- 🖼️ **Enhanced Layer_idx values**: This node allows you to specify positive `layer_idx` values. (ComfyUI usually just supports negative values.) You can mix and match with positive and negative prompt values.
|
|
|
|
## 💡 Magic Clip Strength
|
|

|
|
|
|
## 🎨 Regular Clip Text Encode
|
|

|
|
|
|
## 🛠️ Installation Instructions
|
|
|
|
1. **Download ZIP and Extract**:
|
|
- Download the ZIP and extract it to:
|
|
```
|
|
/ComfyUI/custom_nodes/ComfyUI-MagicClip_Strength
|
|
```
|
|
2. **Or Clone the Repository**:
|
|
- Clone the repository directly into your ComfyUI custom nodes directory:
|
|
```sh
|
|
git clone https://github.com/311-code/ComfyUI-MagicClip_Strength
|
|
```
|
|
|
|
3. **Find the Node**:
|
|
- In **ComfyUI**, type `SDXL` to find the node labeled:
|
|
```
|
|
311_code SDXL Clip Text Encode
|
|
```
|
|
|
|
> **No `requirements.txt` file is needed.**
|
|
|
|
## 💡 How to Use
|
|
|
|
- After installation, use the node to adjust Clip strength directly in your workflows.
|
|
- For more refined control over SDXL models, experiment with `clip_g` and `clip_l` strengths.
|
|
- PS. Highly recommend using a 'saveclip' node on SDXL checkpoint, then use the saved custom clip_l into dualclip loader to mix and match clip_l with various models. (use this node and adjust strength)
|
|
|
|
## 💖 Support Me
|
|
|
|
Creating and maintaining this project takes time and effort. If you find it helpful, consider supporting me:
|
|
|
|
<p align="center">
|
|
<a href="https://ko-fi.com/311_code" target="_blank"><img src="https://img.shields.io/badge/Support%20Me-Ko--Fi-red?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Support me on Ko-Fi"></a>
|
|
</p>
|
|
|
|
## 🤝 Contributing
|
|
|
|
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please feel free to open an issue or submit a pull request.
|
|
|
|
## 📜 License
|
|
|
|
This project is licensed under the Apache License - see the [LICENSE](LICENSE) file for details.
|