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