Reforged
Browse files- ComfyUI-AllinOne-Auto_install.bat +169 -3
- ComfyUI-Missing_nodes.bat +152 -0
- workflows/ComfyUI-AllinOne-Auto_install.bat +438 -0
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
|
145 |
REM Clone ComfyUI-Manager
|
146 |
-
echo [
|
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 [33mInstalling ComfyUI-Manager...[0m
|
162 |
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
|
163 |
+
echo [33mInstalling missing nodes...[0m
|
164 |
+
echo [33m -Impact pack[0m
|
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 [33m -Controlnet aux[0m
|
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 [33m -WAS suite aux[0m
|
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 [33m -GGUF[0m
|
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 [33m -Custom-Scripts[0m
|
191 |
+
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
|
192 |
+
|
193 |
+
echo [33m -Ultimate SD Upscale[0m
|
194 |
+
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
195 |
+
|
196 |
+
echo [33m -Various[0m
|
197 |
+
git clone https://github.com/jamesWalker55/comfyui-various
|
198 |
+
|
199 |
+
echo [33m -rgthree[0m
|
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 [33m -Florence2[0m
|
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 [33m -Inpaint-CropAndStitch[0m
|
212 |
+
git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
|
213 |
+
|
214 |
+
echo [33m -Universal-Styler[0m
|
215 |
+
git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
|
216 |
+
|
217 |
+
echo [33m -Tensorops[0m
|
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 [33m -X-Flux[0m
|
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 [33m -Efficiency Nodes[0m
|
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 [33m -Comfyroll Studio[0m
|
236 |
+
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
237 |
+
|
238 |
+
echo [33m -art-venture[0m
|
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 [33m -dream-project[0m
|
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 [33m -KJNodes[0m
|
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 [33m -Lora-Auto-Trigger-Words[0m
|
257 |
+
git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
|
258 |
+
|
259 |
+
echo [33m -Easy-Use[0m
|
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 [33m -mxToolkit[0m
|
266 |
+
git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
|
267 |
+
|
268 |
+
echo [33m -RvTools[0m
|
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 [33m -Zssentials[0m
|
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 [33m -PulID[0m
|
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 [33mUpdate ComfyUI[0m
|
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 [33mInstalling ComfyUI-Manager...[0m
|
18 |
+
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
|
19 |
+
echo [33mInstalling missing nodes...[0m
|
20 |
+
echo [33m -Impact pack[0m
|
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 [33m -Controlnet aux[0m
|
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 [33m -WAS suite aux[0m
|
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 [33m -GGUF[0m
|
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 [33m -Custom-Scripts[0m
|
47 |
+
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
|
48 |
+
|
49 |
+
echo [33m -Ultimate SD Upscale[0m
|
50 |
+
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
51 |
+
|
52 |
+
echo [33m -Various[0m
|
53 |
+
git clone https://github.com/jamesWalker55/comfyui-various
|
54 |
+
|
55 |
+
echo [33m -rgthree[0m
|
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 [33m -Florence2[0m
|
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 [33m -Inpaint-CropAndStitch[0m
|
68 |
+
git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
|
69 |
+
|
70 |
+
echo [33m -Universal-Styler[0m
|
71 |
+
git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
|
72 |
+
|
73 |
+
echo [33m -Tensorops[0m
|
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 [33m -X-Flux[0m
|
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 [33m -Efficiency Nodes[0m
|
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 [33m -Comfyroll Studio[0m
|
92 |
+
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
93 |
+
|
94 |
+
echo [33m -art-venture[0m
|
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 [33m -dream-project[0m
|
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 [33m -KJNodes[0m
|
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 [33m -Lora-Auto-Trigger-Words[0m
|
113 |
+
git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
|
114 |
+
|
115 |
+
echo [33m -Easy-Use[0m
|
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 [33m -mxToolkit[0m
|
122 |
+
git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
|
123 |
+
|
124 |
+
echo [33m -RvTools[0m
|
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 [33m -Zssentials[0m
|
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 [33m -PulID[0m
|
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 [33mChoose your preferred installation:[0m
|
7 |
+
echo [32mA) Fast-Lowvram install[0m
|
8 |
+
echo [32mB) Unoptimized normal model[0m
|
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 [31mInvalid choice. Please enter A or B.[0m
|
17 |
+
goto CHOOSE_OPTION
|
18 |
+
)
|
19 |
+
|
20 |
+
:CHOOSE_FLUX_SCHNELL
|
21 |
+
REM Ask user if they want to download FLUX SCHNELL Model
|
22 |
+
echo [33mDo you want to download the FLUX SCHNELL Model?[0m
|
23 |
+
echo [32mA) Yes[0m
|
24 |
+
echo [32mB) No[0m
|
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 [31mInvalid choice. Please enter A or B.[0m
|
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 [33mDo you want to download FLUX GGUF Models?[0m
|
39 |
+
echo [32mA) Q8_0 + T5_Q8 (24GB Vram)[0m
|
40 |
+
echo [32mB) Q5_K_S + T5_Q5_K_M (16GB Vram)[0m
|
41 |
+
echo [32mC) Q4_K_S + T5_Q3_K_L (less than 12GB Vram)[0m
|
42 |
+
echo [32mD) All[0m
|
43 |
+
echo [32mE) No[0m
|
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 [31mInvalid choice. Please enter A or B.[0m
|
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 [33mDo you want to download ControlNet V3 Models?[0m
|
64 |
+
echo [32mA) Yes[0m
|
65 |
+
echo [32mB) No[0m
|
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 [31mInvalid choice. Please enter A or B.[0m
|
74 |
+
goto CHOOSE_FLUX_CONTROLNET
|
75 |
+
)
|
76 |
+
|
77 |
+
:CHOOSE_FLUX_LORA
|
78 |
+
REM Ask user if they want to download FLUX LORA
|
79 |
+
echo [33mDo you want to download UmeAiRT LoRAs?[0m
|
80 |
+
echo [32mA) Yes[0m
|
81 |
+
echo [32mB) No[0m
|
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 [31mInvalid choice. Please enter A or B.[0m
|
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 [33mDownloading ComfyUI...[0m
|
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 [33mInstalling ComfyUI-Manager...[0m
|
162 |
+
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
|
163 |
+
echo [33mInstalling missing nodes...[0m
|
164 |
+
echo [33m -Impact pack[0m
|
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 [33m -Controlnet aux[0m
|
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 [33m -WAS suite aux[0m
|
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 [33m -GGUF[0m
|
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 [33m -Custom-Scripts[0m
|
191 |
+
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
|
192 |
+
|
193 |
+
echo [33m -Ultimate SD Upscale[0m
|
194 |
+
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
195 |
+
|
196 |
+
echo [33m -Various[0m
|
197 |
+
git clone https://github.com/jamesWalker55/comfyui-various
|
198 |
+
|
199 |
+
echo [33m -rgthree[0m
|
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 [33m -Florence2[0m
|
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 [33m -Inpaint-CropAndStitch[0m
|
212 |
+
git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
|
213 |
+
|
214 |
+
echo [33m -Universal-Styler[0m
|
215 |
+
git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
|
216 |
+
|
217 |
+
echo [33m -Tensorops[0m
|
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 [33m -X-Flux[0m
|
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 [33m -Efficiency Nodes[0m
|
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 [33m -Comfyroll Studio[0m
|
236 |
+
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
237 |
+
|
238 |
+
echo [33m -art-venture[0m
|
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 [33m -dream-project[0m
|
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 [33m -KJNodes[0m
|
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 [33m -Lora-Auto-Trigger-Words[0m
|
257 |
+
git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words
|
258 |
+
|
259 |
+
echo [33m -Easy-Use[0m
|
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 [33m -mxToolkit[0m
|
266 |
+
git clone https://github.com/Smirnov75/ComfyUI-mxToolkit
|
267 |
+
|
268 |
+
echo [33m -RvTools[0m
|
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 [33m -Zssentials[0m
|
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 [33m -PulID[0m
|
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 [33mDownloading VAE file...[0m
|
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 [33mDownloading CLIP files...[0m
|
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 [33mDownloading FLUX GGUF encoder Model...[0m
|
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 [33mDownloading UNET file...[0m
|
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 [33mDownloading FLUX GGUF Model...[0m
|
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 [33mDownloading FLUX SCHNELL Model...[0m
|
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 [33mDownloading UmeAiRT LoRAs...[0m
|
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 [33mDownloading upscale models...[0m
|
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 [33mDownloading FLUX ControlNet Models...[0m
|
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 [33mDownloading comfy settings...[0m
|
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 [33mDownloading comfy workflow...[0m
|
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 |
+
)
|