UmeAiRT commited on
Commit
290d8b0
·
1 Parent(s): 4407df3

New scripts for FLUX

Browse files
ComfyUI-FLUX-AllinOne-Auto_install.bat CHANGED
@@ -374,7 +374,7 @@ if "%DOWNLOAD_FLUX_CONTROLNET%"=="yes" (
374
  curl -L -o Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/controlnet/Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors?download=true
375
  )
376
 
377
- cd ..\..
378
  mkdir .\user\default
379
  echo Downloading comfy settings...
380
  cd user\default
 
374
  curl -L -o Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/controlnet/Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors?download=true
375
  )
376
 
377
+ cd ..\..\..
378
  mkdir .\user\default
379
  echo Downloading comfy settings...
380
  cd user\default
ComfyUI-Missing_nodes_WindowsPortable.bat DELETED
@@ -1,93 +0,0 @@
1
- @echo off
2
- setlocal enabledelayedexpansion
3
- echo Update ComfyUI
4
- cd 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 >nul 2>&1
19
- echo Installing additional nodes...
20
- echo - Impact-Pack
21
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack >nul 2>&1
22
- cd ComfyUI-Impact-Pack
23
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack >nul 2>&1
24
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
25
- ..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location >nul 2>&1
26
- cd ..
27
-
28
- echo - WAS-Suite
29
- git clone https://github.com/WASasquatch/was-node-suite-comfyui >nul 2>&1
30
- cd was-node-suite-comfyui
31
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
32
- cd ..
33
-
34
- echo - GGUF
35
- git clone https://github.com/city96/ComfyUI-GGUF >nul 2>&1
36
- cd ComfyUI-GGUF
37
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
38
- cd ..
39
-
40
- echo - Custom-Scripts
41
- git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts >nul 2>&1
42
-
43
- echo - UltimateSDUpscale
44
- git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive >nul 2>&1
45
-
46
- echo - rgthree
47
- git clone https://github.com/rgthree/rgthree-comfy >nul 2>&1
48
- cd rgthree-comfy
49
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
50
- cd ..
51
-
52
- echo - Florence2
53
- git clone https://github.com/kijai/ComfyUI-Florence2 >nul 2>&1
54
- cd ComfyUI-Florence2
55
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
56
- cd ..
57
-
58
- echo - KJNodes
59
- git clone https://github.com/kijai/ComfyUI-KJNodes >nul 2>&1
60
- cd ComfyUI-KJNodes
61
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
62
- cd ..
63
-
64
- echo - ComfyUI-Image-Saver
65
- git clone https://github.com/alexopus/ComfyUI-Image-Saver >nul 2>&1
66
- cd ComfyUI-Image-Saver
67
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
68
- cd ..
69
-
70
- echo - ComfyUI-RMBG
71
- git clone https://github.com/1038lab/ComfyUI-RMBG >nul 2>&1
72
- cd ComfyUI-RMBG
73
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
74
- cd ..
75
-
76
- echo - mxToolkit
77
- git clone https://github.com/Smirnov75/ComfyUI-mxToolkit >nul 2>&1
78
-
79
- echo - Comfyroll
80
- git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes >nul 2>&1
81
-
82
- echo - PulID
83
- git clone https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced >nul 2>&1
84
- cd ..\..\python_embeded
85
- 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 >nul 2>&1
86
- .\python.exe -m pip install --use-pep517 facexlib >nul 2>&1
87
- .\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git >nul 2>&1
88
- .\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl >nul 2>&1
89
- cd ..
90
- cd ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
91
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
92
- cd ..
93
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ComfyUI-FLUX-Missing_nodes_WindowsPortable.bat → UmeAiRT-FLUX-Missing_nodes.bat RENAMED
@@ -1,7 +1,23 @@
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 (
 
1
  @echo off
2
  setlocal enabledelayedexpansion
3
+
4
+
5
+ set "comfyUIPath=%CD%"
6
+
7
+ :check_folder
8
+ if exist "%comfyUIPath%\ComfyUI" (
9
+ echo ComfyUI folder detected
10
+ ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" (
11
+ cd ComfyUI_windows_portable
12
+ echo ComfyUI folder detected
13
+ ) else (
14
+ echo ComfyUI folder not detected
15
+ pause
16
+ exit /b
17
+ )
18
+
19
  echo Update ComfyUI
20
+ cd update
21
  ..\python_embeded\python.exe -m pip install --upgrade pip
22
  ..\python_embeded\python.exe .\update.py ..\ComfyUI\
23
  if exist update_new.py (
UmeAiRT-FLUX-Model_downloader.bat ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+
4
+
5
+ set "comfyUIPath=%CD%"
6
+
7
+ :check_folder
8
+ if exist "%comfyUIPath%\ComfyUI" (
9
+ echo ComfyUI folder detected
10
+ ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" (
11
+ cd ComfyUI_windows_portable
12
+ echo ComfyUI folder detected
13
+ ) else (
14
+ echo ComfyUI folder not detected
15
+ pause
16
+ exit /b
17
+ )
18
+
19
+ :CHOOSE_OPTION
20
+ REM Ask user for installation type
21
+ echo Choose your preferred installation:
22
+ echo A) Fast-Lowvram install
23
+ echo B) Unoptimized normal model
24
+ set /p "CHOICE=Enter your choice (A or B) and press Enter: "
25
+
26
+ if /i "%CHOICE%"=="A" (
27
+ set "INSTALL_TYPE=fast-lowvram"
28
+ ) else if /i "%CHOICE%"=="B" (
29
+ set "INSTALL_TYPE=unoptimized"
30
+ ) else (
31
+ echo Invalid choice. Please enter A or B.
32
+ goto CHOOSE_OPTION
33
+ )
34
+
35
+ :CHOOSE_FLUX_SCHNELL
36
+ REM Ask user if they want to download FLUX SCHNELL Model
37
+ echo Do you want to download the FLUX SCHNELL Model?
38
+ echo A) Yes
39
+ echo B) No
40
+ set /p "FLUX_SCHNELL_CHOICE=Enter your choice (A or B) and press Enter: "
41
+
42
+ if /i "%FLUX_SCHNELL_CHOICE%"=="A" (
43
+ set "DOWNLOAD_FLUX_SCHNELL=yes"
44
+ ) else if /i "%FLUX_SCHNELL_CHOICE%"=="B" (
45
+ set "DOWNLOAD_FLUX_SCHNELL=no"
46
+ ) else (
47
+ echo Invalid choice. Please enter A or B.
48
+ goto CHOOSE_FLUX_SCHNELL
49
+ )
50
+
51
+ :CHOOSE_FLUX_GGUF
52
+ REM Ask user if they want to download FLUX GGUF Model
53
+ echo Do you want to download FLUX GGUF Models?
54
+ echo A) Q8_0 + T5_Q8 (24GB Vram)
55
+ echo B) Q5_K_S + T5_Q5_K_M (16GB Vram)
56
+ echo C) Q4_K_S + T5_Q3_K_L (less than 12GB Vram)
57
+ echo D) All
58
+ echo E) No
59
+ set /p "FLUX_GGUF_CHOICE=Enter your choice (A,B,C,D or E) and press Enter: "
60
+
61
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
62
+ set "DOWNLOAD_GGUF=yes"
63
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
64
+ set "DOWNLOAD_GGUF=yes"
65
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
66
+ set "DOWNLOAD_GGUF=yes"
67
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
68
+ set "DOWNLOAD_GGUF=yes"
69
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="E" (
70
+ set "DOWNLOAD_GGUF=no"
71
+ ) else (
72
+ echo Invalid choice. Please enter A or B.
73
+ goto CHOOSE_FLUX_GGUF
74
+ )
75
+
76
+ :CHOOSE_FLUX_CONTROLNET
77
+ REM Ask user if they want to download FLUX SCHNELL Model
78
+ echo Do you want to download FLUX ControlNet Models?
79
+ echo A) Yes
80
+ echo B) No
81
+ set /p "FLUX_CONTROLNET_CHOICE=Enter your choice (A or B) and press Enter: "
82
+
83
+ if /i "%FLUX_CONTROLNET_CHOICE%"=="A" (
84
+ set "DOWNLOAD_FLUX_CONTROLNET=yes"
85
+ ) else if /i "%FLUX_CONTROLNET_CHOICE%"=="B" (
86
+ set "DOWNLOAD_FLUX_CONTROLNET=no"
87
+ ) else (
88
+ echo Invalid choice. Please enter A or B.
89
+ goto CHOOSE_FLUX_CONTROLNET
90
+ )
91
+
92
+ :CHOOSE_FLUX_LORA
93
+ REM Ask user if they want to download FLUX LORA
94
+ echo Do you want to download UmeAiRT LoRAs?
95
+ echo A) Yes
96
+ echo B) No
97
+ set /p "FLUX_LORA_CHOICE=Enter your choice (A or B) and press Enter: "
98
+
99
+ if /i "%FLUX_LORA_CHOICE%"=="A" (
100
+ set "DOWNLOAD_FLUX_LORA=yes"
101
+ ) else if /i "%FLUX_LORA_CHOICE%"=="B" (
102
+ set "DOWNLOAD_FLUX_LORA=no"
103
+ ) else (
104
+ echo Invalid choice. Please enter A or B.
105
+ goto CHOOSE_FLUX_LORA
106
+ )
107
+
108
+ cd ComfyUI\models
109
+
110
+ curl -L -o "insightface.7z" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/insightface.7z?download=true >nul 2>&1
111
+ "%SEVEN_ZIP_PATH%" x insightface.7z -o"%CD%" -y >nul 2>&1
112
+ del /f insightface.7z -force >nul 2>&1
113
+ mkdir pulid
114
+ cd pulid
115
+ curl -L -o "pulid_flux_v0.9.0.safetensors" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/pulid/pulid_flux_v0.9.0.safetensors?download=true >nul 2>&1
116
+ cd ..
117
+
118
+ REM Download VAE file
119
+ echo Downloading VAE file...
120
+ cd vae
121
+ curl -L -o ae.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/vae/ae.safetensors?download=true
122
+
123
+ cd ..
124
+
125
+ REM Download CLIP files
126
+ echo Downloading CLIP files...
127
+ cd clip
128
+ curl -L -o "clip_l.safetensors" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/clip/clip_l.safetensors?download=true
129
+ curl -L -o "longclip-L.pt" https://huggingface.co/BeichenZhang/LongCLIP-L/blob/main/longclip-L.pt?download=true
130
+ curl -L -o "t5xxl_fp8_e4m3fn.safetensors" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/clip/t5xxl_fp8_e4m3fn.safetensors?download=true
131
+ curl -L -o "t5xxl_fp16.safetensors" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/clip/t5xxl_fp16.safetensors?download=true
132
+ 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
133
+
134
+ if "%DOWNLOAD_GGUF%"=="yes" (
135
+ echo Downloading FLUX GGUF encoder Model...
136
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
137
+ 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
138
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
139
+ 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
140
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
141
+ 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
142
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
143
+ 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
144
+ 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
145
+ 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
146
+ )
147
+ )
148
+ cd ..
149
+
150
+ REM Download UNET file based on user choice
151
+ echo Downloading UNET file...
152
+ cd unet
153
+ if "%INSTALL_TYPE%"=="fast-lowvram" (
154
+ curl -L -o flux1-dev-fp8.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev-fp8.safetensors?download=true
155
+ ) else (
156
+ curl -L -o flux1-dev.sft https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev.sft?download=true
157
+ )
158
+
159
+ if "%DOWNLOAD_GGUF%"=="yes" (
160
+ echo Downloading FLUX GGUF Model...
161
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
162
+ 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
163
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
164
+ 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
165
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
166
+ 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
167
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
168
+ 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
169
+ 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
170
+ 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
171
+ )
172
+ )
173
+
174
+ REM Download FLUX SCHNELL Model if user chose to
175
+ if "%DOWNLOAD_FLUX_SCHNELL%"=="yes" (
176
+ echo Downloading FLUX SCHNELL Model...
177
+ curl -L -o flux1-schnell-fp8.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-schnell-fp8.safetensors?download=true
178
+ )
179
+
180
+ cd ..
181
+
182
+ cd loras
183
+ REM Download FLUX SCHNELL Model if user chose to
184
+ if "%DOWNLOAD_FLUX_LORA%"=="yes" (
185
+ echo Downloading UmeAiRT LoRAs...
186
+ 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
187
+ 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
188
+ curl -L -o ume_classic_Romanticism.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Romanticism/resolve/main/ume_classic_Romanticism.safetensors?download=true
189
+ curl -L -o ume_classic_impressionist.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Impressionism/resolve/main/ume_classic_impressionist.safetensors?download=true
190
+ curl -L -o ume_the-little-newspaper.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_J1900/resolve/main/umej1900.safetensors?download=true
191
+ curl -L -o ume_knight.safetensors https://huggingface.co/UmeAiRT/FLUX.1-dev-LoRA-Ume_Knight/resolve/main/ume_gachaak.safetensors?download=true
192
+ )
193
+
194
+ cd ..
195
+
196
+ REM Download upscale model
197
+ echo Downloading upscale models...
198
+ cd upscale_models
199
+ curl -L -o 4x_NMKD-Siax_200k.pth https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x_NMKD-Siax_200k.pth?download=true
200
+ curl -L -o 4x-ClearRealityV1.pth https://huggingface.co/skbhadra/ClearRealityV1/resolve/main/4x-ClearRealityV1.pth?download=true
201
+
202
+ cd ..
203
+
204
+ mkdir LLM
205
+ mkdir .\xlabs\controlnets
206
+ cd xlabs\controlnets
207
+ REM Download FLUX ControlNet Models if user chose to
208
+ if "%DOWNLOAD_FLUX_CONTROLNET%"=="yes" (
209
+ echo Downloading FLUX ControlNet Models...
210
+ 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
211
+ 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
212
+ 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
213
+ cd ..\..
214
+ cd unet
215
+ curl -L -o flux1-depth-dev-fp8.safetensors https://huggingface.co/boricuapab/flux1-depth-dev-fp8/resolve/main/flux1-depth-dev-fp8.safetensors?download=true
216
+ curl -L -o flux1-canny-dev-fp8.safetensors https://huggingface.co/boricuapab/flux1-canny-dev-fp8/resolve/main/flux1-canny-dev-fp8.safetensors?download=true
217
+ if "%DOWNLOAD_GGUF%"=="yes" (
218
+ echo Downloading ControlNet GGUF Model...
219
+ if /i "%FLUX_GGUF_CHOICE%"=="A" (
220
+ curl -L -o flux1-depth-dev-fp16-Q8_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q8_0-GGUF.gguf?download=true
221
+ curl -L -o flux1-canny-dev-fp16-Q8_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q8_0-GGUF.gguf?download=true
222
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
223
+ curl -L -o flux1-depth-dev-fp16-Q5_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q5_0-GGUF.gguf?download=true
224
+ curl -L -o flux1-canny-dev-fp16-Q5_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q5_0-GGUF.gguf?download=true
225
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
226
+ curl -L -o flux1-depth-dev-fp16-Q4_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q4_0-GGUF.gguf?download=true
227
+ curl -L -o flux1-canny-dev-fp16-Q4_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q4_0-GGUF.gguf?download=true
228
+ ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
229
+ curl -L -o flux1-depth-dev-fp16-Q8_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q8_0-GGUF.gguf?download=true
230
+ curl -L -o flux1-depth-dev-fp16-Q5_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q5_0-GGUF.gguf?download=true
231
+ curl -L -o flux1-depth-dev-fp16-Q4_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Depth-dev-GGUF/resolve/main/flux1-depth-dev-fp16-Q4_0-GGUF.gguf?download=true
232
+ curl -L -o flux1-canny-dev-fp16-Q8_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q8_0-GGUF.gguf?download=true
233
+ curl -L -o flux1-canny-dev-fp16-Q5_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q5_0-GGUF.gguf?download=true
234
+ curl -L -o flux1-canny-dev-fp16-Q4_0-GGUF.gguf https://huggingface.co/SporkySporkness/FLUX.1-Canny-dev-GGUF/resolve/main/flux1-canny-dev-fp16-Q4_0-GGUF.gguf?download=true
235
+ )
236
+ )
237
+ cd ..
238
+ cd controlnet
239
+ curl -L -o diffusion_pytorch_model_promax.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/controlnet/diffusion_pytorch_model_promax.safetensors?download=true
240
+ curl -L -o Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/controlnet/Shakker-LabsFLUX1-dev-ControlNet-Union-Pro.safetensors?download=true
241
+ )
ComfyUI-WAN2.1-Missing_nodes_WindowsPortable.bat → UmeAiRT-WAN2.1-Missing_nodes.bat RENAMED
@@ -1,5 +1,20 @@
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
 
1
  @echo off
2
  setlocal enabledelayedexpansion
3
+
4
+ set "comfyUIPath=%CD%"
5
+
6
+ :check_folder
7
+ if exist "%comfyUIPath%\ComfyUI" (
8
+ echo ComfyUI folder detected
9
+ ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" (
10
+ cd ComfyUI_windows_portable
11
+ echo ComfyUI folder detected
12
+ ) else (
13
+ echo ComfyUI folder not detected
14
+ pause
15
+ exit /b
16
+ )
17
+
18
  echo Update ComfyUI
19
  cd ComfyUI_windows_portable\update
20
  ..\python_embeded\python.exe -m pip install --upgrade pip