Instructions to use StableDiffusionVN/Flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use StableDiffusionVN/Flux with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="StableDiffusionVN/Flux", filename="Clip/t5-v1_1-xxl-encoder-Q4_K_S.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use StableDiffusionVN/Flux with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Use Docker
docker model run hf.co/StableDiffusionVN/Flux:Q4_K_S
- LM Studio
- Jan
- Ollama
How to use StableDiffusionVN/Flux with Ollama:
ollama run hf.co/StableDiffusionVN/Flux:Q4_K_S
- Unsloth Studio new
How to use StableDiffusionVN/Flux with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for StableDiffusionVN/Flux to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for StableDiffusionVN/Flux to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for StableDiffusionVN/Flux to start chatting
- Docker Model Runner
How to use StableDiffusionVN/Flux with Docker Model Runner:
docker model run hf.co/StableDiffusionVN/Flux:Q4_K_S
- Lemonade
How to use StableDiffusionVN/Flux with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull StableDiffusionVN/Flux:Q4_K_S
Run and chat with the model
lemonade run user.Flux-Q4_K_S
List all available models
lemonade list
Upload 2 files
Browse files
ComfyUI_workflow/Flux_Union_Controlnet.json
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
| 1 |
+
{
|
| 2 |
+
"last_node_id": 62,
|
| 3 |
+
"last_link_id": 158,
|
| 4 |
+
"nodes": [
|
| 5 |
+
{
|
| 6 |
+
"id": 6,
|
| 7 |
+
"type": "CLIPTextEncode",
|
| 8 |
+
"pos": [
|
| 9 |
+
403,
|
| 10 |
+
148
|
| 11 |
+
],
|
| 12 |
+
"size": {
|
| 13 |
+
"0": 422.84503173828125,
|
| 14 |
+
"1": 164.31304931640625
|
| 15 |
+
},
|
| 16 |
+
"flags": {},
|
| 17 |
+
"order": 5,
|
| 18 |
+
"mode": 0,
|
| 19 |
+
"inputs": [
|
| 20 |
+
{
|
| 21 |
+
"name": "clip",
|
| 22 |
+
"type": "CLIP",
|
| 23 |
+
"link": 156
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"outputs": [
|
| 27 |
+
{
|
| 28 |
+
"name": "CONDITIONING",
|
| 29 |
+
"type": "CONDITIONING",
|
| 30 |
+
"links": [
|
| 31 |
+
119,
|
| 32 |
+
145
|
| 33 |
+
],
|
| 34 |
+
"slot_index": 0
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"title": "CLIP Text Encode (Positive Prompt)",
|
| 38 |
+
"properties": {
|
| 39 |
+
"Node name for S&R": "CLIPTextEncode"
|
| 40 |
+
},
|
| 41 |
+
"widgets_values": [
|
| 42 |
+
"The image features a young woman standing on a sandy beach, with the ocean stretching out into the horizon behind her. She is dressed in a delicate, white spaghetti-strap top adorned with subtle floral patterns, which exudes an aura of simplicity and elegance. Her dark hair is styled in a low bun, accented by two white flowers, which add a touch of natural beauty to her serene appearance. The soft sunlight highlights her refined features, casting gentle shadows and enhancing the luminous quality of her skin. The gentle breeze catching stray strands of her hair contributes to the portrait's overall sense of tranquility and quiet reflection amidst the expansive, unspoiled beachfront. This composition effectively juxtaposes the calm presence of the woman against the vast, dynamic backdrop of the sea and sand."
|
| 43 |
+
]
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"id": 8,
|
| 47 |
+
"type": "VAEDecode",
|
| 48 |
+
"pos": [
|
| 49 |
+
1508,
|
| 50 |
+
163
|
| 51 |
+
],
|
| 52 |
+
"size": {
|
| 53 |
+
"0": 210,
|
| 54 |
+
"1": 46
|
| 55 |
+
},
|
| 56 |
+
"flags": {},
|
| 57 |
+
"order": 9,
|
| 58 |
+
"mode": 0,
|
| 59 |
+
"inputs": [
|
| 60 |
+
{
|
| 61 |
+
"name": "samples",
|
| 62 |
+
"type": "LATENT",
|
| 63 |
+
"link": 143
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": "vae",
|
| 67 |
+
"type": "VAE",
|
| 68 |
+
"link": 158
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"outputs": [
|
| 72 |
+
{
|
| 73 |
+
"name": "IMAGE",
|
| 74 |
+
"type": "IMAGE",
|
| 75 |
+
"links": [
|
| 76 |
+
9
|
| 77 |
+
],
|
| 78 |
+
"slot_index": 0
|
| 79 |
+
}
|
| 80 |
+
],
|
| 81 |
+
"properties": {
|
| 82 |
+
"Node name for S&R": "VAEDecode"
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"id": 51,
|
| 87 |
+
"type": "KSampler",
|
| 88 |
+
"pos": [
|
| 89 |
+
1178,
|
| 90 |
+
159
|
| 91 |
+
],
|
| 92 |
+
"size": {
|
| 93 |
+
"0": 315,
|
| 94 |
+
"1": 474
|
| 95 |
+
},
|
| 96 |
+
"flags": {},
|
| 97 |
+
"order": 8,
|
| 98 |
+
"mode": 0,
|
| 99 |
+
"inputs": [
|
| 100 |
+
{
|
| 101 |
+
"name": "model",
|
| 102 |
+
"type": "MODEL",
|
| 103 |
+
"link": 155
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": "positive",
|
| 107 |
+
"type": "CONDITIONING",
|
| 108 |
+
"link": 144
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": "negative",
|
| 112 |
+
"type": "CONDITIONING",
|
| 113 |
+
"link": 146
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": "latent_image",
|
| 117 |
+
"type": "LATENT",
|
| 118 |
+
"link": 140
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"outputs": [
|
| 122 |
+
{
|
| 123 |
+
"name": "LATENT",
|
| 124 |
+
"type": "LATENT",
|
| 125 |
+
"links": [
|
| 126 |
+
143
|
| 127 |
+
],
|
| 128 |
+
"slot_index": 0,
|
| 129 |
+
"shape": 3
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"properties": {
|
| 133 |
+
"Node name for S&R": "KSampler"
|
| 134 |
+
},
|
| 135 |
+
"widgets_values": [
|
| 136 |
+
723469965151993,
|
| 137 |
+
"randomize",
|
| 138 |
+
20,
|
| 139 |
+
1,
|
| 140 |
+
"euler",
|
| 141 |
+
"simple",
|
| 142 |
+
1
|
| 143 |
+
]
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"id": 50,
|
| 147 |
+
"type": "AIO_Preprocessor",
|
| 148 |
+
"pos": [
|
| 149 |
+
495,
|
| 150 |
+
365
|
| 151 |
+
],
|
| 152 |
+
"size": {
|
| 153 |
+
"0": 315,
|
| 154 |
+
"1": 82
|
| 155 |
+
},
|
| 156 |
+
"flags": {},
|
| 157 |
+
"order": 4,
|
| 158 |
+
"mode": 0,
|
| 159 |
+
"inputs": [
|
| 160 |
+
{
|
| 161 |
+
"name": "image",
|
| 162 |
+
"type": "IMAGE",
|
| 163 |
+
"link": 151
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"outputs": [
|
| 167 |
+
{
|
| 168 |
+
"name": "IMAGE",
|
| 169 |
+
"type": "IMAGE",
|
| 170 |
+
"links": [
|
| 171 |
+
136,
|
| 172 |
+
152
|
| 173 |
+
],
|
| 174 |
+
"slot_index": 0,
|
| 175 |
+
"shape": 3
|
| 176 |
+
}
|
| 177 |
+
],
|
| 178 |
+
"properties": {
|
| 179 |
+
"Node name for S&R": "AIO_Preprocessor"
|
| 180 |
+
},
|
| 181 |
+
"widgets_values": [
|
| 182 |
+
"DepthAnythingV2Preprocessor",
|
| 183 |
+
1024
|
| 184 |
+
]
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"id": 59,
|
| 188 |
+
"type": "PreviewImage",
|
| 189 |
+
"pos": [
|
| 190 |
+
849,
|
| 191 |
+
419
|
| 192 |
+
],
|
| 193 |
+
"size": {
|
| 194 |
+
"0": 295.18359375,
|
| 195 |
+
"1": 299.61328125
|
| 196 |
+
},
|
| 197 |
+
"flags": {},
|
| 198 |
+
"order": 6,
|
| 199 |
+
"mode": 0,
|
| 200 |
+
"inputs": [
|
| 201 |
+
{
|
| 202 |
+
"name": "images",
|
| 203 |
+
"type": "IMAGE",
|
| 204 |
+
"link": 152
|
| 205 |
+
}
|
| 206 |
+
],
|
| 207 |
+
"properties": {
|
| 208 |
+
"Node name for S&R": "PreviewImage"
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"id": 9,
|
| 213 |
+
"type": "SaveImage",
|
| 214 |
+
"pos": [
|
| 215 |
+
1731,
|
| 216 |
+
160
|
| 217 |
+
],
|
| 218 |
+
"size": {
|
| 219 |
+
"0": 472.26861572265625,
|
| 220 |
+
"1": 537.8684692382812
|
| 221 |
+
},
|
| 222 |
+
"flags": {},
|
| 223 |
+
"order": 10,
|
| 224 |
+
"mode": 0,
|
| 225 |
+
"inputs": [
|
| 226 |
+
{
|
| 227 |
+
"name": "images",
|
| 228 |
+
"type": "IMAGE",
|
| 229 |
+
"link": 9
|
| 230 |
+
}
|
| 231 |
+
],
|
| 232 |
+
"properties": {
|
| 233 |
+
"Node name for S&R": "SaveImage"
|
| 234 |
+
},
|
| 235 |
+
"widgets_values": [
|
| 236 |
+
"ComfyUI"
|
| 237 |
+
]
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"id": 52,
|
| 241 |
+
"type": "EmptyLatentImage",
|
| 242 |
+
"pos": [
|
| 243 |
+
493,
|
| 244 |
+
625
|
| 245 |
+
],
|
| 246 |
+
"size": {
|
| 247 |
+
"0": 315,
|
| 248 |
+
"1": 106
|
| 249 |
+
},
|
| 250 |
+
"flags": {},
|
| 251 |
+
"order": 0,
|
| 252 |
+
"mode": 0,
|
| 253 |
+
"outputs": [
|
| 254 |
+
{
|
| 255 |
+
"name": "LATENT",
|
| 256 |
+
"type": "LATENT",
|
| 257 |
+
"links": [
|
| 258 |
+
140
|
| 259 |
+
],
|
| 260 |
+
"shape": 3
|
| 261 |
+
}
|
| 262 |
+
],
|
| 263 |
+
"properties": {
|
| 264 |
+
"Node name for S&R": "EmptyLatentImage"
|
| 265 |
+
},
|
| 266 |
+
"widgets_values": [
|
| 267 |
+
768,
|
| 268 |
+
1152,
|
| 269 |
+
1
|
| 270 |
+
]
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"id": 38,
|
| 274 |
+
"type": "ControlNetApplySD3",
|
| 275 |
+
"pos": [
|
| 276 |
+
841,
|
| 277 |
+
156
|
| 278 |
+
],
|
| 279 |
+
"size": {
|
| 280 |
+
"0": 315,
|
| 281 |
+
"1": 186
|
| 282 |
+
},
|
| 283 |
+
"flags": {},
|
| 284 |
+
"order": 7,
|
| 285 |
+
"mode": 0,
|
| 286 |
+
"inputs": [
|
| 287 |
+
{
|
| 288 |
+
"name": "positive",
|
| 289 |
+
"type": "CONDITIONING",
|
| 290 |
+
"link": 119
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"name": "negative",
|
| 294 |
+
"type": "CONDITIONING",
|
| 295 |
+
"link": 145
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"name": "control_net",
|
| 299 |
+
"type": "CONTROL_NET",
|
| 300 |
+
"link": 154
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"name": "vae",
|
| 304 |
+
"type": "VAE",
|
| 305 |
+
"link": 157
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"name": "image",
|
| 309 |
+
"type": "IMAGE",
|
| 310 |
+
"link": 136
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"outputs": [
|
| 314 |
+
{
|
| 315 |
+
"name": "positive",
|
| 316 |
+
"type": "CONDITIONING",
|
| 317 |
+
"links": [
|
| 318 |
+
144
|
| 319 |
+
],
|
| 320 |
+
"slot_index": 0,
|
| 321 |
+
"shape": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"name": "negative",
|
| 325 |
+
"type": "CONDITIONING",
|
| 326 |
+
"links": [
|
| 327 |
+
146
|
| 328 |
+
],
|
| 329 |
+
"slot_index": 1,
|
| 330 |
+
"shape": 3
|
| 331 |
+
}
|
| 332 |
+
],
|
| 333 |
+
"properties": {
|
| 334 |
+
"Node name for S&R": "ControlNetApplySD3"
|
| 335 |
+
},
|
| 336 |
+
"widgets_values": [
|
| 337 |
+
0.5,
|
| 338 |
+
0,
|
| 339 |
+
0.6
|
| 340 |
+
]
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"id": 58,
|
| 344 |
+
"type": "LoadImage",
|
| 345 |
+
"pos": [
|
| 346 |
+
156,
|
| 347 |
+
366
|
| 348 |
+
],
|
| 349 |
+
"size": {
|
| 350 |
+
"0": 315,
|
| 351 |
+
"1": 314
|
| 352 |
+
},
|
| 353 |
+
"flags": {},
|
| 354 |
+
"order": 1,
|
| 355 |
+
"mode": 0,
|
| 356 |
+
"outputs": [
|
| 357 |
+
{
|
| 358 |
+
"name": "IMAGE",
|
| 359 |
+
"type": "IMAGE",
|
| 360 |
+
"links": [
|
| 361 |
+
151
|
| 362 |
+
],
|
| 363 |
+
"slot_index": 0,
|
| 364 |
+
"shape": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "MASK",
|
| 368 |
+
"type": "MASK",
|
| 369 |
+
"links": null,
|
| 370 |
+
"shape": 3
|
| 371 |
+
}
|
| 372 |
+
],
|
| 373 |
+
"properties": {
|
| 374 |
+
"Node name for S&R": "LoadImage"
|
| 375 |
+
},
|
| 376 |
+
"widgets_values": [
|
| 377 |
+
"Hangkao_10.jpg",
|
| 378 |
+
"image"
|
| 379 |
+
]
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"id": 43,
|
| 383 |
+
"type": "InstantX Flux Union ControlNet Loader",
|
| 384 |
+
"pos": [
|
| 385 |
+
497,
|
| 386 |
+
490
|
| 387 |
+
],
|
| 388 |
+
"size": {
|
| 389 |
+
"0": 310.79998779296875,
|
| 390 |
+
"1": 87.62651824951172
|
| 391 |
+
},
|
| 392 |
+
"flags": {},
|
| 393 |
+
"order": 2,
|
| 394 |
+
"mode": 0,
|
| 395 |
+
"outputs": [
|
| 396 |
+
{
|
| 397 |
+
"name": "CONTROL_NET",
|
| 398 |
+
"type": "CONTROL_NET",
|
| 399 |
+
"links": [
|
| 400 |
+
154
|
| 401 |
+
],
|
| 402 |
+
"slot_index": 0,
|
| 403 |
+
"shape": 3
|
| 404 |
+
}
|
| 405 |
+
],
|
| 406 |
+
"properties": {
|
| 407 |
+
"Node name for S&R": "InstantX Flux Union ControlNet Loader"
|
| 408 |
+
},
|
| 409 |
+
"widgets_values": [
|
| 410 |
+
"ControlnetModel/Flux/Instant_flux-union.safetensors",
|
| 411 |
+
"depth"
|
| 412 |
+
]
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"id": 61,
|
| 416 |
+
"type": "CheckpointLoaderSimple",
|
| 417 |
+
"pos": [
|
| 418 |
+
69,
|
| 419 |
+
152
|
| 420 |
+
],
|
| 421 |
+
"size": {
|
| 422 |
+
"0": 315,
|
| 423 |
+
"1": 98
|
| 424 |
+
},
|
| 425 |
+
"flags": {},
|
| 426 |
+
"order": 3,
|
| 427 |
+
"mode": 0,
|
| 428 |
+
"outputs": [
|
| 429 |
+
{
|
| 430 |
+
"name": "MODEL",
|
| 431 |
+
"type": "MODEL",
|
| 432 |
+
"links": [
|
| 433 |
+
155
|
| 434 |
+
],
|
| 435 |
+
"slot_index": 0,
|
| 436 |
+
"shape": 3
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "CLIP",
|
| 440 |
+
"type": "CLIP",
|
| 441 |
+
"links": [
|
| 442 |
+
156
|
| 443 |
+
],
|
| 444 |
+
"slot_index": 1,
|
| 445 |
+
"shape": 3
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"name": "VAE",
|
| 449 |
+
"type": "VAE",
|
| 450 |
+
"links": [
|
| 451 |
+
157,
|
| 452 |
+
158
|
| 453 |
+
],
|
| 454 |
+
"slot_index": 2,
|
| 455 |
+
"shape": 3
|
| 456 |
+
}
|
| 457 |
+
],
|
| 458 |
+
"properties": {
|
| 459 |
+
"Node name for S&R": "CheckpointLoaderSimple"
|
| 460 |
+
},
|
| 461 |
+
"widgets_values": [
|
| 462 |
+
"Flux_dev_v1-fp8.safetensors"
|
| 463 |
+
]
|
| 464 |
+
}
|
| 465 |
+
],
|
| 466 |
+
"links": [
|
| 467 |
+
[
|
| 468 |
+
9,
|
| 469 |
+
8,
|
| 470 |
+
0,
|
| 471 |
+
9,
|
| 472 |
+
0,
|
| 473 |
+
"IMAGE"
|
| 474 |
+
],
|
| 475 |
+
[
|
| 476 |
+
119,
|
| 477 |
+
6,
|
| 478 |
+
0,
|
| 479 |
+
38,
|
| 480 |
+
0,
|
| 481 |
+
"CONDITIONING"
|
| 482 |
+
],
|
| 483 |
+
[
|
| 484 |
+
136,
|
| 485 |
+
50,
|
| 486 |
+
0,
|
| 487 |
+
38,
|
| 488 |
+
4,
|
| 489 |
+
"IMAGE"
|
| 490 |
+
],
|
| 491 |
+
[
|
| 492 |
+
140,
|
| 493 |
+
52,
|
| 494 |
+
0,
|
| 495 |
+
51,
|
| 496 |
+
3,
|
| 497 |
+
"LATENT"
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
143,
|
| 501 |
+
51,
|
| 502 |
+
0,
|
| 503 |
+
8,
|
| 504 |
+
0,
|
| 505 |
+
"LATENT"
|
| 506 |
+
],
|
| 507 |
+
[
|
| 508 |
+
144,
|
| 509 |
+
38,
|
| 510 |
+
0,
|
| 511 |
+
51,
|
| 512 |
+
1,
|
| 513 |
+
"CONDITIONING"
|
| 514 |
+
],
|
| 515 |
+
[
|
| 516 |
+
145,
|
| 517 |
+
6,
|
| 518 |
+
0,
|
| 519 |
+
38,
|
| 520 |
+
1,
|
| 521 |
+
"CONDITIONING"
|
| 522 |
+
],
|
| 523 |
+
[
|
| 524 |
+
146,
|
| 525 |
+
38,
|
| 526 |
+
1,
|
| 527 |
+
51,
|
| 528 |
+
2,
|
| 529 |
+
"CONDITIONING"
|
| 530 |
+
],
|
| 531 |
+
[
|
| 532 |
+
151,
|
| 533 |
+
58,
|
| 534 |
+
0,
|
| 535 |
+
50,
|
| 536 |
+
0,
|
| 537 |
+
"IMAGE"
|
| 538 |
+
],
|
| 539 |
+
[
|
| 540 |
+
152,
|
| 541 |
+
50,
|
| 542 |
+
0,
|
| 543 |
+
59,
|
| 544 |
+
0,
|
| 545 |
+
"IMAGE"
|
| 546 |
+
],
|
| 547 |
+
[
|
| 548 |
+
154,
|
| 549 |
+
43,
|
| 550 |
+
0,
|
| 551 |
+
38,
|
| 552 |
+
2,
|
| 553 |
+
"CONTROL_NET"
|
| 554 |
+
],
|
| 555 |
+
[
|
| 556 |
+
155,
|
| 557 |
+
61,
|
| 558 |
+
0,
|
| 559 |
+
51,
|
| 560 |
+
0,
|
| 561 |
+
"MODEL"
|
| 562 |
+
],
|
| 563 |
+
[
|
| 564 |
+
156,
|
| 565 |
+
61,
|
| 566 |
+
1,
|
| 567 |
+
6,
|
| 568 |
+
0,
|
| 569 |
+
"CLIP"
|
| 570 |
+
],
|
| 571 |
+
[
|
| 572 |
+
157,
|
| 573 |
+
61,
|
| 574 |
+
2,
|
| 575 |
+
38,
|
| 576 |
+
3,
|
| 577 |
+
"VAE"
|
| 578 |
+
],
|
| 579 |
+
[
|
| 580 |
+
158,
|
| 581 |
+
61,
|
| 582 |
+
2,
|
| 583 |
+
8,
|
| 584 |
+
1,
|
| 585 |
+
"VAE"
|
| 586 |
+
]
|
| 587 |
+
],
|
| 588 |
+
"groups": [],
|
| 589 |
+
"config": {},
|
| 590 |
+
"extra": {
|
| 591 |
+
"ds": {
|
| 592 |
+
"scale": 0.8954302432552409,
|
| 593 |
+
"offset": [
|
| 594 |
+
-386.840499085687,
|
| 595 |
+
-20.60113004411095
|
| 596 |
+
]
|
| 597 |
+
},
|
| 598 |
+
"groupNodes": {}
|
| 599 |
+
},
|
| 600 |
+
"version": 0.4
|
| 601 |
+
}
|
ComfyUI_workflow/Flux_Union_Controlnet.png
ADDED
|