stablediffusiontutorials/Flux-workflows
1. FLUX Installation Tutorial on ComfyUI/ForgeUI (Native/GGUF/NF4 variant): π https://www.stablediffusiontutorials.com/2024/08/flux-installation.html 2. Flux Kontext Installation + Workflow (Native/GGUF):π https://www.stablediffusiontutorials.com/2025/06/flux-kontext.html 3. Flux Kontext Dev LoRA Training on Windows/Linux:π https://www.stablediffusiontutorials.com/2025/06/train-flux-kontext-lora.html 4. Train Flux Dev/Schnell LoRA onβ¦ See the full description on the dataset page: https://huggingface.co/datasets/stablediffusiontutorials/Flux-workflows.
4296
1{2 "last_node_id": 30,3 "last_link_id": 44,4 "nodes": [5 {6 "id": 12,7 "type": "UNETLoader",8 "pos": [9 20,10 13011 ],12 "size": {13 "0": 320,14 "1": 8215 },16 "flags": {},17 "order": 0,18 "mode": 0,19 "outputs": [20 {21 "name": "MODEL",22 "type": "MODEL",23 "links": [24 38,25 3926 ],27 "shape": 3,28 "slot_index": 029 }30 ],31 "properties": {32 "Node name for S&R": "UNETLoader"33 },34 "widgets_values": [35 "flux1-dev.sft",36 "default"37 ]38 },39 {40 "id": 22,41 "type": "BasicGuider",42 "pos": [43 430,44 26045 ],46 "size": {47 "0": 310,48 "1": 5049 },50 "flags": {},51 "order": 10,52 "mode": 0,53 "inputs": [54 {55 "name": "model",56 "type": "MODEL",57 "link": 39,58 "slot_index": 059 },60 {61 "name": "conditioning",62 "type": "CONDITIONING",63 "link": 40,64 "slot_index": 165 }66 ],67 "outputs": [68 {69 "name": "GUIDER",70 "type": "GUIDER",71 "links": [72 3073 ],74 "shape": 3,75 "slot_index": 076 }77 ],78 "properties": {79 "Node name for S&R": "BasicGuider"80 }81 },82 {83 "id": 16,84 "type": "KSamplerSelect",85 "pos": [86 430,87 35088 ],89 "size": {90 "0": 315,91 "1": 5892 },93 "flags": {},94 "order": 1,95 "mode": 0,96 "outputs": [97 {98 "name": "SAMPLER",99 "type": "SAMPLER",100 "links": [101 19102 ],103 "shape": 3104 }105 ],106 "properties": {107 "Node name for S&R": "KSamplerSelect"108 },109 "widgets_values": [110 "euler"111 ]112 },113 {114 "id": 25,115 "type": "RandomNoise",116 "pos": [117 440,118 130119 ],120 "size": {121 "0": 315,122 "1": 82123 },124 "flags": {},125 "order": 2,126 "mode": 0,127 "outputs": [128 {129 "name": "NOISE",130 "type": "NOISE",131 "links": [132 37133 ],134 "shape": 3135 }136 ],137 "properties": {138 "Node name for S&R": "RandomNoise"139 },140 "widgets_values": [141 228290098960024,142 "randomize"143 ]144 },145 {146 "id": 13,147 "type": "SamplerCustomAdvanced",148 "pos": [149 801,150 125151 ],152 "size": [153 338.2307647294306,154 106155 ],156 "flags": {},157 "order": 11,158 "mode": 0,159 "inputs": [160 {161 "name": "noise",162 "type": "NOISE",163 "link": 37,164 "slot_index": 0165 },166 {167 "name": "guider",168 "type": "GUIDER",169 "link": 30,170 "slot_index": 1171 },172 {173 "name": "sampler",174 "type": "SAMPLER",175 "link": 19,176 "slot_index": 2177 },178 {179 "name": "sigmas",180 "type": "SIGMAS",181 "link": 20,182 "slot_index": 3183 },184 {185 "name": "latent_image",186 "type": "LATENT",187 "link": 44,188 "slot_index": 4189 }190 ],191 "outputs": [192 {193 "name": "output",194 "type": "LATENT",195 "links": [196 24197 ],198 "shape": 3,199 "slot_index": 0200 },201 {202 "name": "denoised_output",203 "type": "LATENT",204 "links": null,205 "shape": 3206 }207 ],208 "properties": {209 "Node name for S&R": "SamplerCustomAdvanced"210 }211 },212 {213 "id": 8,214 "type": "VAEDecode",215 "pos": [216 1172,217 124218 ],219 "size": {220 "0": 210,221 "1": 46222 },223 "flags": {},224 "order": 12,225 "mode": 0,226 "inputs": [227 {228 "name": "samples",229 "type": "LATENT",230 "link": 24231 },232 {233 "name": "vae",234 "type": "VAE",235 "link": 12236 }237 ],238 "outputs": [239 {240 "name": "IMAGE",241 "type": "IMAGE",242 "links": [243 9244 ],245 "slot_index": 0246 }247 ],248 "properties": {249 "Node name for S&R": "VAEDecode"250 }251 },252 {253 "id": 9,254 "type": "SaveImage",255 "pos": [256 788,257 293258 ],259 "size": [260 537.5791600596867,261 858.9998156491325262 ],263 "flags": {},264 "order": 13,265 "mode": 0,266 "inputs": [267 {268 "name": "images",269 "type": "IMAGE",270 "link": 9271 }272 ],273 "properties": {274 "Node name for S&R": "SaveImage"275 },276 "widgets_values": [277 "ComfyUI"278 ]279 },280 {281 "id": 29,282 "type": "ImageScaleToTotalPixels",283 "pos": [284 411,285 746286 ],287 "size": {288 "0": 320,289 "1": 82290 },291 "flags": {},292 "order": 7,293 "mode": 0,294 "inputs": [295 {296 "name": "image",297 "type": "IMAGE",298 "link": 41299 }300 ],301 "outputs": [302 {303 "name": "IMAGE",304 "type": "IMAGE",305 "links": [306 42307 ],308 "shape": 3,309 "slot_index": 0310 }311 ],312 "properties": {313 "Node name for S&R": "ImageScaleToTotalPixels"314 },315 "widgets_values": [316 "lanczos",317 1318 ]319 },320 {321 "id": 30,322 "type": "VAEEncode",323 "pos": [324 414,325 877326 ],327 "size": {328 "0": 320,329 "1": 50330 },331 "flags": {},332 "order": 9,333 "mode": 0,334 "inputs": [335 {336 "name": "pixels",337 "type": "IMAGE",338 "link": 42339 },340 {341 "name": "vae",342 "type": "VAE",343 "link": 43344 }345 ],346 "outputs": [347 {348 "name": "LATENT",349 "type": "LATENT",350 "links": [351 44352 ],353 "shape": 3,354 "slot_index": 0355 }356 ],357 "properties": {358 "Node name for S&R": "VAEEncode"359 }360 },361 {362 "id": 10,363 "type": "VAELoader",364 "pos": [365 20,366 438367 ],368 "size": {369 "0": 320,370 "1": 60371 },372 "flags": {},373 "order": 3,374 "mode": 0,375 "outputs": [376 {377 "name": "VAE",378 "type": "VAE",379 "links": [380 12,381 43382 ],383 "shape": 3,384 "slot_index": 0385 }386 ],387 "properties": {388 "Node name for S&R": "VAELoader"389 },390 "widgets_values": [391 "ae.sft"392 ]393 },394 {395 "id": 26,396 "type": "LoadImage",397 "pos": [398 23,399 549400 ],401 "size": [402 315.0104844737484,403 576.2686645749134404 ],405 "flags": {},406 "order": 4,407 "mode": 0,408 "outputs": [409 {410 "name": "IMAGE",411 "type": "IMAGE",412 "links": [413 41414 ],415 "shape": 3,416 "slot_index": 0417 },418 {419 "name": "MASK",420 "type": "MASK",421 "links": null,422 "shape": 3423 }424 ],425 "properties": {426 "Node name for S&R": "LoadImage"427 },428 "widgets_values": [429 "02980-1633518242.png",430 "image"431 ]432 },433 {434 "id": 11,435 "type": "DualCLIPLoader",436 "pos": [437 20,438 280439 ],440 "size": [441 354.42768189917507,442 106443 ],444 "flags": {},445 "order": 5,446 "mode": 0,447 "outputs": [448 {449 "name": "CLIP",450 "type": "CLIP",451 "links": [452 10453 ],454 "shape": 3,455 "slot_index": 0456 }457 ],458 "properties": {459 "Node name for S&R": "DualCLIPLoader"460 },461 "widgets_values": [462 "text_encoders/t5xxl_fp16.safetensors",463 "text_encoders/clip_l.safetensors",464 "flux"465 ]466 },467 {468 "id": 6,469 "type": "CLIPTextEncode",470 "pos": [471 420,472 460473 ],474 "size": [475 300.4883064552829,476 76477 ],478 "flags": {},479 "order": 8,480 "mode": 0,481 "inputs": [482 {483 "name": "clip",484 "type": "CLIP",485 "link": 10486 }487 ],488 "outputs": [489 {490 "name": "CONDITIONING",491 "type": "CONDITIONING",492 "links": [493 40494 ],495 "slot_index": 0496 }497 ],498 "properties": {499 "Node name for S&R": "CLIPTextEncode"500 },501 "widgets_values": [502 "anime style"503 ]504 },505 {506 "id": 17,507 "type": "BasicScheduler",508 "pos": [509 415,510 588511 ],512 "size": {513 "0": 315,514 "1": 106515 },516 "flags": {},517 "order": 6,518 "mode": 0,519 "inputs": [520 {521 "name": "model",522 "type": "MODEL",523 "link": 38,524 "slot_index": 0525 }526 ],527 "outputs": [528 {529 "name": "SIGMAS",530 "type": "SIGMAS",531 "links": [532 20533 ],534 "shape": 3535 }536 ],537 "properties": {538 "Node name for S&R": "BasicScheduler"539 },540 "widgets_values": [541 "simple",542 20,543 0.75544 ]545 }546 ],547 "links": [548 [549 9,550 8,551 0,552 9,553 0,554 "IMAGE"555 ],556 [557 10,558 11,559 0,560 6,561 0,562 "CLIP"563 ],564 [565 12,566 10,567 0,568 8,569 1,570 "VAE"571 ],572 [573 19,574 16,575 0,576 13,577 2,578 "SAMPLER"579 ],580 [581 20,582 17,583 0,584 13,585 3,586 "SIGMAS"587 ],588 [589 24,590 13,591 0,592 8,593 0,594 "LATENT"595 ],596 [597 30,598 22,599 0,600 13,601 1,602 "GUIDER"603 ],604 [605 37,606 25,607 0,608 13,609 0,610 "NOISE"611 ],612 [613 38,614 12,615 0,616 17,617 0,618 "MODEL"619 ],620 [621 39,622 12,623 0,624 22,625 0,626 "MODEL"627 ],628 [629 40,630 6,631 0,632 22,633 1,634 "CONDITIONING"635 ],636 [637 41,638 26,639 0,640 29,641 0,642 "IMAGE"643 ],644 [645 42,646 29,647 0,648 30,649 0,650 "IMAGE"651 ],652 [653 43,654 10,655 0,656 30,657 1,658 "VAE"659 ],660 [661 44,662 30,663 0,664 13,665 4,666 "LATENT"667 ]668 ],669 "groups": [],670 "config": {},671 "extra": {672 "ds": {673 "scale": 1.1,674 "offset": [675 380.1177171597737,676 -18.363543010638036677 ]678 }679 },680 "version": 0.4681}