Update README.md
Browse files
README.md
CHANGED
|
@@ -80,30 +80,17 @@ For an optimized generation process, consider using the custom workflow [MIDNIGH
|
|
| 80 |
|
| 81 |
*Note: The above image is a preview of the `MIDNIGHT1111_Chasm` workflow.*
|
| 82 |
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
To enhance the model's performance and specificity, the following trigger word lists are included:
|
| 86 |
-
|
| 87 |
-
- [`danbooru_artist_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_artist_webui.csv)
|
| 88 |
-
- [`danbooru_character_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_character_webui.csv)
|
| 89 |
-
- [`e621_artist_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_artist_webui.csv)
|
| 90 |
-
- [`e621_character_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_character_webui.csv)
|
| 91 |
-
|
| 92 |
-
These lists provide recognized tags for various artists and characters, facilitating more accurate and tailored image generation.
|
| 93 |
-
|
| 94 |
-
## How to Use
|
| 95 |
-
|
| 96 |
-
### Method I: reForge
|
| 97 |
|
| 98 |
1. **Installation:** If not already installed, follow the instructions in the [reForge repository](https://github.com/Panchovix/stable-diffusion-webui-reForge) to set up.
|
| 99 |
2. **Usage:** Launch WebUI and use the model as usual.
|
| 100 |
|
| 101 |
-
### Method II: ComfyUI
|
| 102 |
|
| 103 |
1. **Installation:** Follow the setup instructions in the [ComfyUI repository](https://github.com/comfyanonymous/ComfyUI).
|
| 104 |
2. **Workflow Sample:** Utilize the provided [ComfyUI workflow sample](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/MIDNIGHT1111_Chasm%2002-05-25.json) for guidance.
|
| 105 |
|
| 106 |
-
### Method III: WebUI
|
| 107 |
|
| 108 |
1. **Installation:** Follow the instructions in the [WebUI repository](https://github.com/AUTOMATIC1111/stable-diffusion-webui) to set up.
|
| 109 |
|
|
@@ -130,7 +117,7 @@ These lists provide recognized tags for various artists and characters, facilita
|
|
| 130 |
|
| 131 |
5. **Configuration:** Ensure you're using a stable branch, as the dev branch may contain bugs.
|
| 132 |
|
| 133 |
-
### Method IV: Diffusers
|
| 134 |
|
| 135 |
```bash
|
| 136 |
import torch
|
|
@@ -164,6 +151,62 @@ image = pipe(
|
|
| 164 |
image.save("output.png")
|
| 165 |
```
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
## Acknowledgments
|
| 168 |
|
| 169 |
Special thanks to:
|
|
|
|
| 80 |
|
| 81 |
*Note: The above image is a preview of the `MIDNIGHT1111_Chasm` workflow.*
|
| 82 |
|
| 83 |
+
### Method I: reForge without MIDNIGHT1111_Chasm Workflow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
1. **Installation:** If not already installed, follow the instructions in the [reForge repository](https://github.com/Panchovix/stable-diffusion-webui-reForge) to set up.
|
| 86 |
2. **Usage:** Launch WebUI and use the model as usual.
|
| 87 |
|
| 88 |
+
### Method II: ComfyUI *with* MIDNIGHT1111_Chasm Workflow
|
| 89 |
|
| 90 |
1. **Installation:** Follow the setup instructions in the [ComfyUI repository](https://github.com/comfyanonymous/ComfyUI).
|
| 91 |
2. **Workflow Sample:** Utilize the provided [ComfyUI workflow sample](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/MIDNIGHT1111_Chasm%2002-05-25.json) for guidance.
|
| 92 |
|
| 93 |
+
### Method III: WebUI without MIDNIGHT1111_Chasm Workflow
|
| 94 |
|
| 95 |
1. **Installation:** Follow the instructions in the [WebUI repository](https://github.com/AUTOMATIC1111/stable-diffusion-webui) to set up.
|
| 96 |
|
|
|
|
| 117 |
|
| 118 |
5. **Configuration:** Ensure you're using a stable branch, as the dev branch may contain bugs.
|
| 119 |
|
| 120 |
+
### Method IV: Diffusers without MIDNIGHT1111_Chasm Workflow
|
| 121 |
|
| 122 |
```bash
|
| 123 |
import torch
|
|
|
|
| 151 |
image.save("output.png")
|
| 152 |
```
|
| 153 |
|
| 154 |
+
## e621/Danbooru Artist Wildcards for A1111 & ComfyUI Enclosed in CSV & TXT Formats
|
| 155 |
+
|
| 156 |
+
To enhance the model's performance and specificity, the following trigger word lists in CSV format are included:
|
| 157 |
+
|
| 158 |
+
- [`danbooru_artist_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_artist_webui.csv)
|
| 159 |
+
- [`danbooru_character_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_character_webui.csv)
|
| 160 |
+
- [`e621_artist_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_artist_webui.csv)
|
| 161 |
+
- [`e621_character_webui.csv`](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_character_webui.csv)
|
| 162 |
+
|
| 163 |
+
These lists provide recognized tags for various artists and characters, facilitating more accurate and tailored image generation.
|
| 164 |
+
|
| 165 |
+
The wildcard file in 'TXT' format is included and designed for seamless integration with **AUTOMATIC1111** and **ComfyUI**, optimized for dynamic prompt generation using artist data from **e621** and **Danbooru**.
|
| 166 |
+
|
| 167 |
+
- **TXT Format:** Sanitized artist tags by removing URLs and converted from `.csv` to `.txt` format for improved readability across different extensions.
|
| 168 |
+
- **Dual Dataset Support:** Supports both e621 and Danbooru datasets to enhance art style diversity.
|
| 169 |
+
- **Smooth Randomization:** Structured with trailing commas for seamless wildcard cycling during prompt generation.
|
| 170 |
+
|
| 171 |
+
## How to Use Wildcards
|
| 172 |
+
|
| 173 |
+
### For A1111
|
| 174 |
+
1. **Install:** [stable-diffusion-webui-wildcards](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards)
|
| 175 |
+
2. **Place the `.txt` file in:**
|
| 176 |
+
```
|
| 177 |
+
/A1111/extensions/stable-diffusion-webui-wildcards
|
| 178 |
+
```
|
| 179 |
+
3. **Use in your prompt like this:**
|
| 180 |
+
```
|
| 181 |
+
__e621_artist_wildcard__, very awa, masterpiece, best quality, amazing quality
|
| 182 |
+
```
|
| 183 |
+
```
|
| 184 |
+
__danbooru_character_wildcard__, very awa, masterpiece, best quality, amazing quality
|
| 185 |
+
```
|
| 186 |
+
```
|
| 187 |
+
__e621_artist_wildcard__, __danbooru_character_wildcard__, very awa, masterpiece, best quality, amazing quality
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
### For ComfyUI
|
| 191 |
+
1. **Install:** [ComfyUI-Impact-Pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack)
|
| 192 |
+
2. **Place the `.txt` file in:**
|
| 193 |
+
```
|
| 194 |
+
/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/wildcards
|
| 195 |
+
```
|
| 196 |
+
or
|
| 197 |
+
```
|
| 198 |
+
/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/custom_wildcards
|
| 199 |
+
```
|
| 200 |
+
3. **Use the wildcard node to trigger dynamic randomization in your workflows.**
|
| 201 |
+
|
| 202 |
+
## What’s Included in Wildcards
|
| 203 |
+
|
| 204 |
+
TXT formatted file containing clean, artist-focused wildcard files ready for dynamic prompt workflows in A1111 and ComfyUI.
|
| 205 |
+
- [danbooru_artist_wildcard.txt](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_artist_wildcard.txt)
|
| 206 |
+
- [danbooru_character_wildcard.txt](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/danbooru_character_wildcard.txt)
|
| 207 |
+
- [e621_artist_wildcard.txt](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_artist_wildcard.txt)
|
| 208 |
+
- [e621_character_wildcard.txt](https://huggingface.co/MidnightRunner/MIDNIGHT_NAI-XL_vPredV1/blob/main/e621_character_wildcard.txt)
|
| 209 |
+
|
| 210 |
## Acknowledgments
|
| 211 |
|
| 212 |
Special thanks to:
|