UmeAiRT commited on
Commit
b124253
1 Parent(s): 31ecc94
ComfyUI-AllinOne-Auto_install.bat CHANGED
@@ -139,12 +139,163 @@ if not exist "ComfyUI_windows_portable" (
139
  exit /b 1
140
  )
141
 
 
 
 
 
142
  REM Navigate to custom_nodes folder
143
- cd ComfyUI_windows_portable\ComfyUI\custom_nodes
 
 
 
 
 
 
 
 
 
 
 
144
 
145
  REM Clone ComfyUI-Manager
146
- echo Cloning ComfyUI-Manager...
147
  git clone https://github.com/ltdrdata/ComfyUI-Manager.git
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
 
149
  REM Navigate to models folder
150
  cd ..\models
@@ -220,6 +371,8 @@ if "%DOWNLOAD_FLUX_LORA%"=="yes" (
220
  curl -L -o ume_modern_pixelart.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Modern_Pixel_art/resolve/main/ume_modern_pixelart.safetensors?download=true
221
  curl -L -o ume_classic_Romanticism.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Romanticism/resolve/main/ume_classic_Romanticism.safetensors?download=true
222
  curl -L -o ume_classic_impressionist.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Impressionism/resolve/main/ume_classic_impressionist.safetensors?download=true
 
 
223
  )
224
 
225
  cd ..
@@ -232,7 +385,7 @@ curl -L -o 4x-ClearRealityV1.pth https://huggingface.co/skbhadra/ClearRealityV1/
232
 
233
  cd ..
234
 
235
-
236
  mkdir .\xlabs\controlnets
237
  cd xlabs\controlnets
238
  REM Download FLUX ControlNet Models if user chose to
@@ -258,8 +411,21 @@ curl -L -o "FLUX - Upscale.json" https://huggingface.co/UmeAiRT/FLUX-auto_instal
258
  curl -L -o "FLUX - CTRLNet DEPTH.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetDEPTH.json?download=true
259
  curl -L -o "FLUX - CTRLNet CANNY.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetCANNY.json?download=true
260
  curl -L -o "FLUX - CTRLNet HED.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetHED.json?download=true
 
 
261
  cd ..\..\..\..
262
 
 
 
 
 
 
 
 
 
 
 
 
263
 
264
  REM Final steps based on user choice
265
  if "%INSTALL_TYPE%"=="fast-lowvram" (
 
139
  exit /b 1
140
  )
141
 
142
+ REM Delete archive
143
+ del /f ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z -force
144
+
145
+
146
  REM Navigate to custom_nodes folder
147
+ REM Update ComfyUI
148
+ cd ComfyUI_windows_portable\update
149
+ ..\python_embeded\python.exe -m pip install --upgrade pip
150
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\
151
+ if exist update_new.py (
152
+ move /y update_new.py update.py
153
+ echo Running updater again since it got updated.
154
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
155
+ )
156
+
157
+ cd ..
158
+ cd ComfyUI\custom_nodes
159
 
160
  REM Clone ComfyUI-Manager
161
+ echo Installing ComfyUI-Manager...
162
  git clone https://github.com/ltdrdata/ComfyUI-Manager.git
163
+ echo Installing missing nodes...
164
+ echo  -Impact pack
165
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
166
+ cd ComfyUI-Impact-Pack
167
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack
168
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
169
+ ..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location
170
+ cd ..
171
+
172
+ echo  -Controlnet aux
173
+ git clone https://github.com/Fannovel16/comfyui_controlnet_aux
174
+ cd comfyui_controlnet_aux
175
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
176
+ cd ..
177
+
178
+ echo  -WAS suite aux
179
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui
180
+ cd was-node-suite-comfyui
181
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
182
+ cd ..
183
+
184
+ echo  -GGUF
185
+ git clone https://github.com/city96/ComfyUI-GGUF
186
+ cd ComfyUI-GGUF
187
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
188
+ cd ..
189
+
190
+ echo  -Custom-Scripts
191
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
192
+
193
+ echo  -Ultimate SD Upscale
194
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
195
+
196
+ echo  -Various
197
+ git clone https://github.com/jamesWalker55/comfyui-various
198
+
199
+ echo  -rgthree
200
+ git clone https://github.com/rgthree/rgthree-comfy
201
+ cd rgthree-comfy
202
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
203
+ cd ..
204
+
205
+ echo  -Florence2
206
+ git clone https://github.com/kijai/ComfyUI-Florence2
207
+ cd ComfyUI-Florence2
208
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
209
+ cd ..
210
+
211
+ echo  -Inpaint-CropAndStitch
212
+ git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
213
+
214
+ echo  -Universal-Styler
215
+ git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
216
+
217
+ echo  -Tensorops
218
+ git clone https://github.com/un-seen/comfyui-tensorops
219
+ cd comfyui-tensorops
220
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
221
+ cd ..
222
+
223
+ echo  -X-Flux
224
+ git clone https://github.com/XLabs-AI/x-flux-comfyui
225
+ cd x-flux-comfyui
226
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
227
+ cd ..
228
+
229
+ echo  -Efficiency Nodes
230
+ git clone https://github.com/jags111/efficiency-nodes-comfyui
231
+ cd efficiency-nodes-comfyui
232
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
233
+ cd ..
234
+
235
+ echo  -Comfyroll Studio
236
+ git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
237
+
238
+ echo  -art-venture
239
+ git clone https://github.com/sipherxyz/comfyui-art-venture
240
+ cd comfyui-art-venture
241
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
242
+ cd ..
243
+
244
+ echo  -dream-project
245
+ git clone https://github.com/alt-key-project/comfyui-dream-project
246
+ cd comfyui-dream-project
247
+ ..\..\..\python_embeded\python.exe -s -m pip install imageio pilgram scipy numpy==1.24.4 torchvision evalidate --no-warn-script-location
248
+ cd ..
249
+
250
+ echo  -KJNodes
251
+ git clone https://github.com/kijai/ComfyUI-KJNodes
252
+ cd ComfyUI-KJNodes
253
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
254
+ cd ..
255
+
256
+ echo  -Lora-Auto-Trigger-Words
257
+ git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
258
+
259
+ echo  -Easy-Use
260
+ git clone https://github.com/yolain/ComfyUI-Easy-Use
261
+ cd ComfyUI-Easy-Use
262
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
263
+ cd ..
264
+
265
+ echo  -mxToolkit
266
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
267
+
268
+ echo  -RvTools
269
+ git clone https://github.com/Rvage0815/ComfyUI-RvTools
270
+ cd ComfyUI-RvTools
271
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
272
+ cd ..
273
+
274
+ echo  -Zssentials
275
+ git clone https://github.com/cubiq/ComfyUI_essentials
276
+ cd ComfyUI_essentials
277
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
278
+
279
+ cd ..
280
+
281
+ echo  -PulID
282
+ git clone https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced
283
+ cd ..\..\python_embeded
284
+ curl -L -o "insightface-0.7.3-cp311-cp311-win_amd64.whl" https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl
285
+ .\python.exe -m pip install --use-pep517 facexlib
286
+ .\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git
287
+ .\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl
288
+ cd ..
289
+ cd ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
290
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
291
+ cd ..\..
292
+ cd models
293
+ git lfs install
294
+ git clone https://huggingface.co/Aitrepreneur/insightface
295
+ mkdir pulid
296
+ cd pulid
297
+ curl -L -o "pulid_flux_v0.9.0.safetensors" https://huggingface.co/Aitrepreneur/FLX/resolve/main/pulid_flux_v0.9.0.safetensors?download=true
298
+ cd ..
299
 
300
  REM Navigate to models folder
301
  cd ..\models
 
371
  curl -L -o ume_modern_pixelart.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Modern_Pixel_art/resolve/main/ume_modern_pixelart.safetensors?download=true
372
  curl -L -o ume_classic_Romanticism.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Romanticism/resolve/main/ume_classic_Romanticism.safetensors?download=true
373
  curl -L -o ume_classic_impressionist.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Impressionism/resolve/main/ume_classic_impressionist.safetensors?download=true
374
+ curl -L -o ume_the-little-newspaper.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_J1900/resolve/main/umej1900.safetensors?download=true
375
+ curl -L -o ume_knight.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_Knight/resolve/main/ume_gachaak.safetensors?download=true
376
  )
377
 
378
  cd ..
 
385
 
386
  cd ..
387
 
388
+ mkdir LLM
389
  mkdir .\xlabs\controlnets
390
  cd xlabs\controlnets
391
  REM Download FLUX ControlNet Models if user chose to
 
411
  curl -L -o "FLUX - CTRLNet DEPTH.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetDEPTH.json?download=true
412
  curl -L -o "FLUX - CTRLNet CANNY.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetCANNY.json?download=true
413
  curl -L -o "FLUX - CTRLNet HED.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetHED.json?download=true
414
+ curl -L -o "FLUX - LoRA tester.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-LoRATester.json?download=true
415
+ curl -L -o "UmeAiRT - Node check.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/UmeAiRT-Nodecheck.json?download=true
416
  cd ..\..\..\..
417
 
418
+ cd ComfyUI
419
+ cd custom_nodes
420
+ mkdir ComfyUI-NAI-styler
421
+ cd ComfyUI-NAI-styler
422
+ mkdir CSV
423
+ cd CSV
424
+ curl -L -o "naifilters.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naifilters.csv?download=true
425
+ curl -L -o "naistyles.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naistyles.csv?download=true
426
+ curl -L -o "naitypes.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naitypes.csv?download=true
427
+
428
+ cd ..\..\..\..
429
 
430
  REM Final steps based on user choice
431
  if "%INSTALL_TYPE%"=="fast-lowvram" (
ComfyUI-Missing_nodes.bat ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+ echo Update ComfyUI
4
+ cd ComfyUI_windows_portable\update
5
+ ..\python_embeded\python.exe -m pip install --upgrade pip
6
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\
7
+ if exist update_new.py (
8
+ move /y update_new.py update.py
9
+ echo Running updater again since it got updated.
10
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
11
+ )
12
+
13
+ cd ..
14
+ cd ComfyUI\custom_nodes
15
+
16
+ REM Clone ComfyUI-Manager
17
+ echo Installing ComfyUI-Manager...
18
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git
19
+ echo Installing missing nodes...
20
+ echo  -Impact pack
21
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
22
+ cd ComfyUI-Impact-Pack
23
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack
24
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
25
+ ..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location
26
+ cd ..
27
+
28
+ echo  -Controlnet aux
29
+ git clone https://github.com/Fannovel16/comfyui_controlnet_aux
30
+ cd comfyui_controlnet_aux
31
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
32
+ cd ..
33
+
34
+ echo  -WAS suite aux
35
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui
36
+ cd was-node-suite-comfyui
37
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
38
+ cd ..
39
+
40
+ echo  -GGUF
41
+ git clone https://github.com/city96/ComfyUI-GGUF
42
+ cd ComfyUI-GGUF
43
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
44
+ cd ..
45
+
46
+ echo  -Custom-Scripts
47
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
48
+
49
+ echo  -Ultimate SD Upscale
50
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
51
+
52
+ echo  -Various
53
+ git clone https://github.com/jamesWalker55/comfyui-various
54
+
55
+ echo  -rgthree
56
+ git clone https://github.com/rgthree/rgthree-comfy
57
+ cd rgthree-comfy
58
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
59
+ cd ..
60
+
61
+ echo  -Florence2
62
+ git clone https://github.com/kijai/ComfyUI-Florence2
63
+ cd ComfyUI-Florence2
64
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
65
+ cd ..
66
+
67
+ echo  -Inpaint-CropAndStitch
68
+ git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
69
+
70
+ echo  -Universal-Styler
71
+ git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
72
+
73
+ echo  -Tensorops
74
+ git clone https://github.com/un-seen/comfyui-tensorops
75
+ cd comfyui-tensorops
76
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
77
+ cd ..
78
+
79
+ echo  -X-Flux
80
+ git clone https://github.com/XLabs-AI/x-flux-comfyui
81
+ cd x-flux-comfyui
82
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
83
+ cd ..
84
+
85
+ echo  -Efficiency Nodes
86
+ git clone https://github.com/jags111/efficiency-nodes-comfyui
87
+ cd efficiency-nodes-comfyui
88
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
89
+ cd ..
90
+
91
+ echo  -Comfyroll Studio
92
+ git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
93
+
94
+ echo  -art-venture
95
+ git clone https://github.com/sipherxyz/comfyui-art-venture
96
+ cd comfyui-art-venture
97
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
98
+ cd ..
99
+
100
+ echo  -dream-project
101
+ git clone https://github.com/alt-key-project/comfyui-dream-project
102
+ cd comfyui-dream-project
103
+ ..\..\..\python_embeded\python.exe -s -m pip install imageio pilgram scipy numpy==1.24.4 torchvision evalidate --no-warn-script-location
104
+ cd ..
105
+
106
+ echo  -KJNodes
107
+ git clone https://github.com/kijai/ComfyUI-KJNodes
108
+ cd ComfyUI-KJNodes
109
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
110
+ cd ..
111
+
112
+ echo  -Lora-Auto-Trigger-Words
113
+ git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
114
+
115
+ echo  -Easy-Use
116
+ git clone https://github.com/yolain/ComfyUI-Easy-Use
117
+ cd ComfyUI-Easy-Use
118
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
119
+ cd ..
120
+
121
+ echo  -mxToolkit
122
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
123
+
124
+ echo  -RvTools
125
+ git clone https://github.com/Rvage0815/ComfyUI-RvTools
126
+ cd ComfyUI-RvTools
127
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
128
+ cd ..
129
+
130
+ echo  -Zssentials
131
+ git clone https://github.com/cubiq/ComfyUI_essentials
132
+ cd ComfyUI_essentials
133
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
134
+ cd ..
135
+
136
+ echo  -PulID
137
+ git clone https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced
138
+ cd ..\..\python_embeded
139
+ curl -L -o "insightface-0.7.3-cp311-cp311-win_amd64.whl" https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl
140
+ .\python.exe -m pip install --use-pep517 facexlib
141
+ .\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git
142
+ .\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl
143
+ cd ..
144
+ cd ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
145
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
146
+ cd ..\..
147
+ cd models
148
+ mkdir pulid
149
+ cd pulid
150
+ curl -L -o "pulid_flux_v0.9.0.safetensors" https://huggingface.co/Aitrepreneur/FLX/resolve/main/pulid_flux_v0.9.0.safetensors?download=true
151
+ cd ..\..
152
+ cd custom_nodes
workflows/ComfyUI-AllinOne-Auto_install.bat ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+
4
+ :CHOOSE_OPTION
5
+ REM Ask user for installation type
6
+ echo Choose your preferred installation:
7
+ echo A) Fast-Lowvram install
8
+ echo B) Unoptimized normal model
9
+ set /p "CHOICE=Enter your choice (A or B) and press Enter: "
10
+
11
+ if /i "%CHOICE%"=="A" (
12
+ set "INSTALL_TYPE=fast-lowvram"
13
+ ) else if /i "%CHOICE%"=="B" (
14
+ set "INSTALL_TYPE=unoptimized"
15
+ ) else (
16
+ echo Invalid choice. Please enter A or B.
17
+ goto CHOOSE_OPTION
18
+ )
19
+
20
+ :CHOOSE_FLUX_SCHNELL
21
+ REM Ask user if they want to download FLUX SCHNELL Model
22
+ echo Do you want to download the FLUX SCHNELL Model?
23
+ echo A) Yes
24
+ echo B) No
25
+ set /p "FLUX_SCHNELL_CHOICE=Enter your choice (A or B) and press Enter: "
26
+
27
+ if /i "%FLUX_SCHNELL_CHOICE%"=="A" (
28
+ set "DOWNLOAD_FLUX_SCHNELL=yes"
29
+ ) else if /i "%FLUX_SCHNELL_CHOICE%"=="B" (
30
+ set "DOWNLOAD_FLUX_SCHNELL=no"
31
+ ) else (
32
+ echo Invalid choice. Please enter A or B.
33
+ goto CHOOSE_FLUX_SCHNELL
34
+ )
35
+
36
+ :CHOOSE_FLUX_GGUF
37
+ REM Ask user if they want to download FLUX GGUF Model
38
+ echo Do you want to download FLUX GGUF Models?
39
+ echo A) Q8_0 + T5_Q8 (24GB Vram)
40
+ echo B) Q5_K_S + T5_Q5_K_M (16GB Vram)
41
+ echo C) Q4_K_S + T5_Q3_K_L (less than 12GB Vram)
42
+ echo D) All
43
+ echo E) No
44
+ set /p "FLUX_GGUF_CHOICE=Enter your choice (A,B,C,D or E) and press Enter: "
45
+
46
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
47
+ set "DOWNLOAD_GGUF=yes"
48
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
49
+ set "DOWNLOAD_GGUF=yes"
50
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
51
+ set "DOWNLOAD_GGUF=yes"
52
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
53
+ set "DOWNLOAD_GGUF=yes"
54
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="E" (
55
+ set "DOWNLOAD_GGUF=no"
56
+ ) else (
57
+ echo Invalid choice. Please enter A or B.
58
+ goto CHOOSE_FLUX_GGUF
59
+ )
60
+
61
+ :CHOOSE_FLUX_CONTROLNET
62
+ REM Ask user if they want to download FLUX SCHNELL Model
63
+ echo Do you want to download ControlNet V3 Models?
64
+ echo A) Yes
65
+ echo B) No
66
+ set /p "FLUX_CONTROLNET_CHOICE=Enter your choice (A or B) and press Enter: "
67
+
68
+ if /i "%FLUX_CONTROLNET_CHOICE%"=="A" (
69
+ set "DOWNLOAD_FLUX_CONTROLNET=yes"
70
+ ) else if /i "%FLUX_CONTROLNET_CHOICE%"=="B" (
71
+ set "DOWNLOAD_FLUX_CONTROLNET=no"
72
+ ) else (
73
+ echo Invalid choice. Please enter A or B.
74
+ goto CHOOSE_FLUX_CONTROLNET
75
+ )
76
+
77
+ :CHOOSE_FLUX_LORA
78
+ REM Ask user if they want to download FLUX LORA
79
+ echo Do you want to download UmeAiRT LoRAs?
80
+ echo A) Yes
81
+ echo B) No
82
+ set /p "FLUX_LORA_CHOICE=Enter your choice (A or B) and press Enter: "
83
+
84
+ if /i "%FLUX_LORA_CHOICE%"=="A" (
85
+ set "DOWNLOAD_FLUX_LORA=yes"
86
+ ) else if /i "%FLUX_LORA_CHOICE%"=="B" (
87
+ set "DOWNLOAD_FLUX_LORA=no"
88
+ ) else (
89
+ echo Invalid choice. Please enter A or B.
90
+ goto CHOOSE_FLUX_LORA
91
+ )
92
+
93
+ REM Check if 7-Zip is installed and get its path
94
+ for %%I in (7z.exe) do set "SEVEN_ZIP_PATH=%%~$PATH:I"
95
+ if not defined SEVEN_ZIP_PATH (
96
+ if exist "%ProgramFiles%\7-Zip\7z.exe" (
97
+ set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
98
+ ) else if exist "%ProgramFiles(x86)%\7-Zip\7z.exe" (
99
+ set "SEVEN_ZIP_PATH=%ProgramFiles(x86)%\7-Zip\7z.exe"
100
+ ) else (
101
+ echo 7-Zip is not installed. Downloading and installing...
102
+ curl -L -o 7z-installer.exe https://www.7-zip.org/a/7z2201-x64.exe
103
+ 7z-installer.exe /S
104
+ set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
105
+ if not exist "%SEVEN_ZIP_PATH%" (
106
+ echo Installation of 7-Zip failed. Please install it manually and try again.
107
+ exit /b 1
108
+ )
109
+ del 7z-installer.exe
110
+ )
111
+ )
112
+
113
+ REM Check and install Git
114
+ git --version > NUL 2>&1
115
+ if %errorlevel% NEQ 0 (
116
+ echo Installing Git...
117
+ powershell -Command "& {Invoke-WebRequest -Uri 'https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/Git-2.41.0.3-64-bit.exe' -OutFile 'Git-2.41.0.3-64-bit.exe'; if ($LASTEXITCODE -ne 0) { exit 1 }}"
118
+ if %errorlevel% NEQ 0 (
119
+ echo Failed to download Git installer.
120
+ exit /b
121
+ )
122
+ start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT
123
+ del Git-2.41.0.3-64-bit.exe
124
+ ) else (
125
+ echo Git already installed.
126
+ )
127
+
128
+ REM Download ComfyUI
129
+ echo Downloading ComfyUI...
130
+ curl -L -o ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z
131
+
132
+ REM Extract ComfyUI
133
+ echo Extracting ComfyUI...
134
+ "%SEVEN_ZIP_PATH%" x ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z -o"%CD%" -y
135
+
136
+ REM Check if extraction was successful
137
+ if not exist "ComfyUI_windows_portable" (
138
+ echo Extraction failed. Please check the downloaded file and try again.
139
+ exit /b 1
140
+ )
141
+
142
+ REM Delete archive
143
+ del /f ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z -force
144
+
145
+
146
+ REM Navigate to custom_nodes folder
147
+ REM Update ComfyUI
148
+ cd ComfyUI_windows_portable\update
149
+ ..\python_embeded\python.exe -m pip install --upgrade pip
150
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\
151
+ if exist update_new.py (
152
+ move /y update_new.py update.py
153
+ echo Running updater again since it got updated.
154
+ ..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
155
+ )
156
+
157
+ cd ..
158
+ cd ComfyUI\custom_nodes
159
+
160
+ REM Clone ComfyUI-Manager
161
+ echo Installing ComfyUI-Manager...
162
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git
163
+ echo Installing missing nodes...
164
+ echo  -Impact pack
165
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
166
+ cd ComfyUI-Impact-Pack
167
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack
168
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
169
+ ..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location
170
+ cd ..
171
+
172
+ echo  -Controlnet aux
173
+ git clone https://github.com/Fannovel16/comfyui_controlnet_aux
174
+ cd comfyui_controlnet_aux
175
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
176
+ cd ..
177
+
178
+ echo  -WAS suite aux
179
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui
180
+ cd was-node-suite-comfyui
181
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
182
+ cd ..
183
+
184
+ echo  -GGUF
185
+ git clone https://github.com/city96/ComfyUI-GGUF
186
+ cd ComfyUI-GGUF
187
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
188
+ cd ..
189
+
190
+ echo  -Custom-Scripts
191
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
192
+
193
+ echo  -Ultimate SD Upscale
194
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
195
+
196
+ echo  -Various
197
+ git clone https://github.com/jamesWalker55/comfyui-various
198
+
199
+ echo  -rgthree
200
+ git clone https://github.com/rgthree/rgthree-comfy
201
+ cd rgthree-comfy
202
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
203
+ cd ..
204
+
205
+ echo  -Florence2
206
+ git clone https://github.com/kijai/ComfyUI-Florence2
207
+ cd ComfyUI-Florence2
208
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
209
+ cd ..
210
+
211
+ echo  -Inpaint-CropAndStitch
212
+ git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
213
+
214
+ echo  -Universal-Styler
215
+ git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
216
+
217
+ echo  -Tensorops
218
+ git clone https://github.com/un-seen/comfyui-tensorops
219
+ cd comfyui-tensorops
220
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
221
+ cd ..
222
+
223
+ echo  -X-Flux
224
+ git clone https://github.com/XLabs-AI/x-flux-comfyui
225
+ cd x-flux-comfyui
226
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
227
+ cd ..
228
+
229
+ echo  -Efficiency Nodes
230
+ git clone https://github.com/jags111/efficiency-nodes-comfyui
231
+ cd efficiency-nodes-comfyui
232
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
233
+ cd ..
234
+
235
+ echo  -Comfyroll Studio
236
+ git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
237
+
238
+ echo  -art-venture
239
+ git clone https://github.com/sipherxyz/comfyui-art-venture
240
+ cd comfyui-art-venture
241
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
242
+ cd ..
243
+
244
+ echo  -dream-project
245
+ git clone https://github.com/alt-key-project/comfyui-dream-project
246
+ cd comfyui-dream-project
247
+ ..\..\..\python_embeded\python.exe -s -m pip install imageio pilgram scipy numpy==1.24.4 torchvision evalidate --no-warn-script-location
248
+ cd ..
249
+
250
+ echo  -KJNodes
251
+ git clone https://github.com/kijai/ComfyUI-KJNodes
252
+ cd ComfyUI-KJNodes
253
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
254
+ cd ..
255
+
256
+ echo  -Lora-Auto-Trigger-Words
257
+ git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
258
+
259
+ echo  -Easy-Use
260
+ git clone https://github.com/yolain/ComfyUI-Easy-Use
261
+ cd ComfyUI-Easy-Use
262
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
263
+ cd ..
264
+
265
+ echo  -mxToolkit
266
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
267
+
268
+ echo  -RvTools
269
+ git clone https://github.com/Rvage0815/ComfyUI-RvTools
270
+ cd ComfyUI-RvTools
271
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
272
+ cd ..
273
+
274
+ echo  -Zssentials
275
+ git clone https://github.com/cubiq/ComfyUI_essentials
276
+ cd ComfyUI_essentials
277
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
278
+
279
+ cd ..
280
+
281
+ echo  -PulID
282
+ git clone https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced
283
+ cd ..\..\python_embeded
284
+ curl -L -o "insightface-0.7.3-cp311-cp311-win_amd64.whl" https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl
285
+ .\python.exe -m pip install --use-pep517 facexlib
286
+ .\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git
287
+ .\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl
288
+ cd ..
289
+ cd ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
290
+ ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location
291
+ cd ..\..
292
+ cd models
293
+ git lfs install
294
+ git clone https://huggingface.co/Aitrepreneur/insightface
295
+ mkdir pulid
296
+ cd pulid
297
+ curl -L -o "pulid_flux_v0.9.0.safetensors" https://huggingface.co/Aitrepreneur/FLX/resolve/main/pulid_flux_v0.9.0.safetensors?download=true
298
+ cd ..
299
+
300
+ REM Navigate to models folder
301
+ cd ..\models
302
+
303
+ REM Download VAE file
304
+ echo Downloading VAE file...
305
+ cd vae
306
+ curl -L -o ae.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/ae.safetensors?download=true
307
+
308
+ cd ..
309
+
310
+ REM Download CLIP files
311
+ echo Downloading CLIP files...
312
+ cd clip
313
+ curl -L -o clip_l.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/clip_l.safetensors?download=true
314
+ curl -L -o t5xxl_fp8_e4m3fn.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/t5xxl_fp8_e4m3fn.safetensors?download=true
315
+ curl -L -o t5xxl_fp16.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/t5xxl_fp16.safetensors?download=true
316
+ curl -L -o ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors?download=true
317
+
318
+ if "%DOWNLOAD_GGUF%"=="yes" (
319
+ echo Downloading FLUX GGUF encoder Model...
320
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
321
+ curl -L -o t5-v1_1-xxl-encoder-Q8_0.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q8_0.gguf?download=true
322
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
323
+ curl -L -o t5-v1_1-xxl-encoder-Q5_K_M.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q5_K_M.gguf?download=true
324
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
325
+ curl -L -o t5-v1_1-xxl-encoder-Q3_K_L.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q3_K_L.gguf?download=true
326
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
327
+ curl -L -o t5-v1_1-xxl-encoder-Q8_0.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q8_0.gguf?download=true
328
+ curl -L -o t5-v1_1-xxl-encoder-Q5_K_M.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q5_K_M.gguf?download=true
329
+ curl -L -o t5-v1_1-xxl-encoder-Q3_K_L.gguf https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q3_K_L.gguf?download=true
330
+ )
331
+ )
332
+ cd ..
333
+
334
+ REM Download UNET file based on user choice
335
+ echo Downloading UNET file...
336
+ cd unet
337
+ if "%INSTALL_TYPE%"=="fast-lowvram" (
338
+ curl -L -o flux1-dev-fp8.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/flux1-dev-fp8.safetensors?download=true
339
+ ) else (
340
+ curl -L -o flux1-dev.sft https://huggingface.co/Aitrepreneur/FLX/resolve/main/flux1-dev.sft?download=true
341
+ )
342
+
343
+ if "%DOWNLOAD_GGUF%"=="yes" (
344
+ echo Downloading FLUX GGUF Model...
345
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
346
+ curl -L -o flux1-dev-Q8_0.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q8_0.gguf?download=true
347
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
348
+ curl -L -o flux1-dev-Q5_K_S.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_K_S.gguf?download=true
349
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
350
+ curl -L -o flux1-dev-Q4_K_S.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q4_K_S.gguf?download=true
351
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
352
+ curl -L -o flux1-dev-Q8_0.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q8_0.gguf?download=true
353
+ curl -L -o flux1-dev-Q5_K_S.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_K_S.gguf?download=true
354
+ curl -L -o flux1-dev-Q4_K_S.gguf https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q4_K_S.gguf?download=true
355
+ )
356
+ )
357
+
358
+ REM Download FLUX SCHNELL Model if user chose to
359
+ if "%DOWNLOAD_FLUX_SCHNELL%"=="yes" (
360
+ echo Downloading FLUX SCHNELL Model...
361
+ curl -L -o flux1-schnell-fp8.safetensors https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/flux1-schnell-fp8.safetensors?download=true
362
+ )
363
+
364
+ cd ..
365
+
366
+ cd loras
367
+ REM Download FLUX SCHNELL Model if user chose to
368
+ if "%DOWNLOAD_FLUX_LORA%"=="yes" (
369
+ echo Downloading UmeAiRT LoRAs...
370
+ curl -L -o ume_sky_v2.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_Sky/resolve/main/ume_sky_v2.safetensors?download=true
371
+ curl -L -o ume_modern_pixelart.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Modern_Pixel_art/resolve/main/ume_modern_pixelart.safetensors?download=true
372
+ curl -L -o ume_classic_Romanticism.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Romanticism/resolve/main/ume_classic_Romanticism.safetensors?download=true
373
+ curl -L -o ume_classic_impressionist.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Impressionism/resolve/main/ume_classic_impressionist.safetensors?download=true
374
+ curl -L -o ume_the-little-newspaper.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_J1900/resolve/main/umej1900.safetensors?download=true
375
+ curl -L -o ume_knight.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_Knight/resolve/main/ume_gachaak.safetensors?download=true
376
+ )
377
+
378
+ cd ..
379
+
380
+ REM Download upscale model
381
+ echo Downloading upscale models...
382
+ cd upscale_models
383
+ curl -L -o 4x_NMKD-Siax_200k.pth https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x_NMKD-Siax_200k.pth?download=true
384
+ curl -L -o 4x-ClearRealityV1.pth https://huggingface.co/skbhadra/ClearRealityV1/resolve/main/4x-ClearRealityV1.pth?download=true
385
+
386
+ cd ..
387
+
388
+ mkdir LLM
389
+ mkdir .\xlabs\controlnets
390
+ cd xlabs\controlnets
391
+ REM Download FLUX ControlNet Models if user chose to
392
+ if "%DOWNLOAD_FLUX_CONTROLNET%"=="yes" (
393
+ echo Downloading FLUX ControlNet Models...
394
+ curl -L -o flux-canny-controlnet-v3.safetensors https://huggingface.co/XLabs-AI/flux-controlnet-canny-v3/resolve/main/flux-canny-controlnet-v3.safetensors?download=true
395
+ curl -L -o flux-depth-controlnet-v3.safetensors https://huggingface.co/XLabs-AI/flux-controlnet-depth-v3/resolve/main/flux-depth-controlnet-v3.safetensors?download=true
396
+ curl -L -o flux-hed-controlnet-v3.safetensors https://huggingface.co/XLabs-AI/flux-controlnet-hed-v3/resolve/main/flux-hed-controlnet-v3.safetensors?download=true
397
+ )
398
+
399
+ cd ..\..\..
400
+ mkdir .\user\default
401
+ echo Downloading comfy settings...
402
+ cd user\default
403
+ curl -L -o comfy.settings.json https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/comfy.settings.json?download=true
404
+ echo Downloading comfy workflow...
405
+ mkdir .\workflows
406
+ cd workflows
407
+ curl -L -o "FLUX - TXT to IMG.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-TXTtoIMG.json?download=true
408
+ curl -L -o "FLUX - IMG to IMG.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-IMGtoIMG.json?download=true
409
+ curl -L -o "FLUX - Inpainting.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-Inpainting.json?download=true
410
+ curl -L -o "FLUX - Upscale.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-Upscale.json?download=true
411
+ curl -L -o "FLUX - CTRLNet DEPTH.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetDEPTH.json?download=true
412
+ curl -L -o "FLUX - CTRLNet CANNY.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetCANNY.json?download=true
413
+ curl -L -o "FLUX - CTRLNet HED.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-CTRLNetHED.json?download=true
414
+ curl -L -o "FLUX - LoRA tester.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/FLUX-LoRATester.json?download=true
415
+ curl -L -o "UmeAiRT - Node check.json" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/UmeAiRT-Nodecheck.json?download=true
416
+ cd ..\..\..\..
417
+
418
+ cd ComfyUI
419
+ cd custom_nodes
420
+ mkdir ComfyUI-NAI-styler
421
+ cd ComfyUI-NAI-styler
422
+ mkdir CSV
423
+ cd CSV
424
+ curl -L -o "naifilters.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naifilters.csv?download=true
425
+ curl -L -o "naistyles.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naistyles.csv?download=true
426
+ curl -L -o "naitypes.csv" https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/naitypes.csv?download=true
427
+
428
+ cd ..\..\..\..
429
+
430
+ REM Final steps based on user choice
431
+ if "%INSTALL_TYPE%"=="fast-lowvram" (
432
+ echo Downloading special run file for fast-lowvram...
433
+ curl -L -o "run_nvidia_gpu-LOWVRAM.bat" "https://huggingface.co/UmeAiRT/FLUX-auto_installer/resolve/main/run_nvidia_gpu-LOWVRAM.bat?download=true"
434
+ echo ComfyUI and FLUX installed. Running ComfyUI...
435
+ call "run_nvidia_gpu-LOWVRAM.bat"
436
+ ) else (
437
+ echo ComfyUI and FLUX installed. HAVE FUN ;)
438
+ )