gradient-diffusion commited on
Commit
d000c61
1 Parent(s): f87c2aa

Upload 2 files

Browse files
.gitattributes CHANGED
@@ -39,3 +39,4 @@ hed_res3.png filter=lfs diff=lfs merge=lfs -text
39
  hed_res4.png filter=lfs diff=lfs merge=lfs -text
40
  hed_result.gif filter=lfs diff=lfs merge=lfs -text
41
  hed_example.png filter=lfs diff=lfs merge=lfs -text
 
 
39
  hed_res4.png filter=lfs diff=lfs merge=lfs -text
40
  hed_result.gif filter=lfs diff=lfs merge=lfs -text
41
  hed_example.png filter=lfs diff=lfs merge=lfs -text
42
+ controlnet_hed_flow_example.png filter=lfs diff=lfs merge=lfs -text
controlnet_hed_flow_example.png ADDED

Git LFS Details

  • SHA256: 59079609dae05da4f1a10bd86d427f7da91748cddc15f7a064e88951d2d43cd7
  • Pointer size: 132 Bytes
  • Size of remote file: 2.33 MB
flux-controlnet-hed-v3-workflow.json ADDED
@@ -0,0 +1,737 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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os": [
9
+ 505,
10
+ -378
11
+ ],
12
+ "size": {
13
+ "0": 393,
14
+ "1": 78
15
+ },
16
+ "flags": {},
17
+ "order": 10,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "controlnet",
22
+ "type": "FluxControlNet",
23
+ "link": 44
24
+ },
25
+ {
26
+ "name": "image",
27
+ "type": "IMAGE",
28
+ "link": 110,
29
+ "slot_index": 1
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "name": "controlnet_condition",
35
+ "type": "ControlNetCondition",
36
+ "links": [
37
+ 28
38
+ ],
39
+ "shape": 3,
40
+ "slot_index": 0
41
+ }
42
+ ],
43
+ "properties": {
44
+ "Node name for S&R": "ApplyFluxControlNet"
45
+ },
46
+ "widgets_values": [
47
+ 0.7000000000000001
48
+ ]
49
+ },
50
+ {
51
+ "id": 6,
52
+ "type": "EmptyLatentImage",
53
+ "pos": [
54
+ 669,
55
+ 150
56
+ ],
57
+ "size": {
58
+ "0": 315,
59
+ "1": 106
60
+ },
61
+ "flags": {},
62
+ "order": 0,
63
+ "mode": 0,
64
+ "outputs": [
65
+ {
66
+ "name": "LATENT",
67
+ "type": "LATENT",
68
+ "links": [
69
+ 66
70
+ ],
71
+ "shape": 3,
72
+ "slot_index": 0
73
+ }
74
+ ],
75
+ "properties": {
76
+ "Node name for S&R": "EmptyLatentImage"
77
+ },
78
+ "widgets_values": [
79
+ 1024,
80
+ 1024,
81
+ 1
82
+ ]
83
+ },
84
+ {
85
+ "id": 46,
86
+ "type": "SaveImage",
87
+ "pos": [
88
+ 969,
89
+ 278
90
+ ],
91
+ "size": {
92
+ "0": 315,
93
+ "1": 270
94
+ },
95
+ "flags": {},
96
+ "order": 11,
97
+ "mode": 0,
98
+ "inputs": [
99
+ {
100
+ "name": "images",
101
+ "type": "IMAGE",
102
+ "link": 111
103
+ }
104
+ ],
105
+ "properties": {},
106
+ "widgets_values": [
107
+ "canny_process"
108
+ ]
109
+ },
110
+ {
111
+ "id": 5,
112
+ "type": "CLIPTextEncodeFlux",
113
+ "pos": [
114
+ 556,
115
+ -238
116
+ ],
117
+ "size": {
118
+ "0": 400,
119
+ "1": 200
120
+ },
121
+ "flags": {},
122
+ "order": 6,
123
+ "mode": 0,
124
+ "inputs": [
125
+ {
126
+ "name": "clip",
127
+ "type": "CLIP",
128
+ "link": 2,
129
+ "slot_index": 0
130
+ }
131
+ ],
132
+ "outputs": [
133
+ {
134
+ "name": "CONDITIONING",
135
+ "type": "CONDITIONING",
136
+ "links": [
137
+ 18
138
+ ],
139
+ "shape": 3,
140
+ "slot_index": 0
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "CLIPTextEncodeFlux"
145
+ },
146
+ "widgets_values": [
147
+ "A beautiful woman with white hair and light freckles, her neck area bare and visible, capturing attention with her attitude, has modeled for an editorial magazine, captured in full body, fashion photography, within the scope of high future fashion, photographed by Alessio Albi.",
148
+ "A beautiful woman with white hair and light freckles, her neck area bare and visible, capturing attention with her attitude, has modeled for an editorial magazine, captured in full body, fashion photography, within the scope of high future fashion, photographed by Alessio Albi.",
149
+ 4
150
+ ]
151
+ },
152
+ {
153
+ "id": 39,
154
+ "type": "PreviewImage",
155
+ "pos": [
156
+ 409,
157
+ -141
158
+ ],
159
+ "size": {
160
+ "0": 210,
161
+ "1": 246
162
+ },
163
+ "flags": {
164
+ "collapsed": false
165
+ },
166
+ "order": 9,
167
+ "mode": 0,
168
+ "inputs": [
169
+ {
170
+ "name": "images",
171
+ "type": "IMAGE",
172
+ "link": 109
173
+ }
174
+ ],
175
+ "properties": {
176
+ "Node name for S&R": "PreviewImage"
177
+ }
178
+ },
179
+ {
180
+ "id": 8,
181
+ "type": "VAELoader",
182
+ "pos": [
183
+ 946,
184
+ -361
185
+ ],
186
+ "size": {
187
+ "0": 315,
188
+ "1": 58
189
+ },
190
+ "flags": {},
191
+ "order": 1,
192
+ "mode": 0,
193
+ "outputs": [
194
+ {
195
+ "name": "VAE",
196
+ "type": "VAE",
197
+ "links": [
198
+ 7
199
+ ],
200
+ "shape": 3,
201
+ "slot_index": 0
202
+ }
203
+ ],
204
+ "properties": {
205
+ "Node name for S&R": "VAELoader"
206
+ },
207
+ "widgets_values": [
208
+ "ae.safetensors"
209
+ ]
210
+ },
211
+ {
212
+ "id": 7,
213
+ "type": "VAEDecode",
214
+ "pos": [
215
+ 986,
216
+ -227
217
+ ],
218
+ "size": {
219
+ "0": 210,
220
+ "1": 46
221
+ },
222
+ "flags": {},
223
+ "order": 13,
224
+ "mode": 0,
225
+ "inputs": [
226
+ {
227
+ "name": "samples",
228
+ "type": "LATENT",
229
+ "link": 6,
230
+ "slot_index": 0
231
+ },
232
+ {
233
+ "name": "vae",
234
+ "type": "VAE",
235
+ "link": 7
236
+ }
237
+ ],
238
+ "outputs": [
239
+ {
240
+ "name": "IMAGE",
241
+ "type": "IMAGE",
242
+ "links": [
243
+ 79,
244
+ 101
245
+ ],
246
+ "shape": 3,
247
+ "slot_index": 0
248
+ }
249
+ ],
250
+ "properties": {
251
+ "Node name for S&R": "VAEDecode"
252
+ }
253
+ },
254
+ {
255
+ "id": 21,
256
+ "type": "PreviewImage",
257
+ "pos": [
258
+ 1322,
259
+ -365
260
+ ],
261
+ "size": {
262
+ "0": 210,
263
+ "1": 246
264
+ },
265
+ "flags": {},
266
+ "order": 14,
267
+ "mode": 0,
268
+ "inputs": [
269
+ {
270
+ "name": "images",
271
+ "type": "IMAGE",
272
+ "link": 79,
273
+ "slot_index": 0
274
+ }
275
+ ],
276
+ "properties": {
277
+ "Node name for S&R": "PreviewImage"
278
+ }
279
+ },
280
+ {
281
+ "id": 19,
282
+ "type": "CLIPTextEncodeFlux",
283
+ "pos": [
284
+ 182,
285
+ 146
286
+ ],
287
+ "size": {
288
+ "0": 400,
289
+ "1": 200
290
+ },
291
+ "flags": {},
292
+ "order": 7,
293
+ "mode": 0,
294
+ "inputs": [
295
+ {
296
+ "name": "clip",
297
+ "type": "CLIP",
298
+ "link": 27,
299
+ "slot_index": 0
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "CONDITIONING",
305
+ "type": "CONDITIONING",
306
+ "links": [
307
+ 26
308
+ ],
309
+ "shape": 3,
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "CLIPTextEncodeFlux"
315
+ },
316
+ "widgets_values": [
317
+ "bad photo",
318
+ "bad photo",
319
+ 4
320
+ ]
321
+ },
322
+ {
323
+ "id": 32,
324
+ "type": "UNETLoader",
325
+ "pos": [
326
+ 634,
327
+ 305
328
+ ],
329
+ "size": {
330
+ "0": 315,
331
+ "1": 82
332
+ },
333
+ "flags": {},
334
+ "order": 2,
335
+ "mode": 0,
336
+ "outputs": [
337
+ {
338
+ "name": "MODEL",
339
+ "type": "MODEL",
340
+ "links": [
341
+ 58
342
+ ],
343
+ "shape": 3,
344
+ "slot_index": 0
345
+ }
346
+ ],
347
+ "properties": {
348
+ "Node name for S&R": "UNETLoader"
349
+ },
350
+ "widgets_values": [
351
+ "flux1-dev-fp8.safetensors",
352
+ "fp8_e4m3fn"
353
+ ]
354
+ },
355
+ {
356
+ "id": 4,
357
+ "type": "DualCLIPLoader",
358
+ "pos": [
359
+ 0,
360
+ -36
361
+ ],
362
+ "size": {
363
+ "0": 315,
364
+ "1": 106
365
+ },
366
+ "flags": {},
367
+ "order": 3,
368
+ "mode": 0,
369
+ "outputs": [
370
+ {
371
+ "name": "CLIP",
372
+ "type": "CLIP",
373
+ "links": [
374
+ 2,
375
+ 27
376
+ ],
377
+ "shape": 3,
378
+ "slot_index": 0
379
+ }
380
+ ],
381
+ "properties": {
382
+ "Node name for S&R": "DualCLIPLoader"
383
+ },
384
+ "widgets_values": [
385
+ "clip_l.safetensors",
386
+ "t5xxl_fp16.safetensors",
387
+ "flux"
388
+ ]
389
+ },
390
+ {
391
+ "id": 47,
392
+ "type": "HEDPreprocessor",
393
+ "pos": [
394
+ 92,
395
+ -170
396
+ ],
397
+ "size": {
398
+ "0": 315,
399
+ "1": 82
400
+ },
401
+ "flags": {},
402
+ "order": 8,
403
+ "mode": 0,
404
+ "inputs": [
405
+ {
406
+ "name": "image",
407
+ "type": "IMAGE",
408
+ "link": 108
409
+ }
410
+ ],
411
+ "outputs": [
412
+ {
413
+ "name": "IMAGE",
414
+ "type": "IMAGE",
415
+ "links": [
416
+ 109,
417
+ 110,
418
+ 111
419
+ ],
420
+ "shape": 3,
421
+ "slot_index": 0
422
+ }
423
+ ],
424
+ "properties": {
425
+ "Node name for S&R": "HEDPreprocessor"
426
+ },
427
+ "widgets_values": [
428
+ "enable",
429
+ 1024
430
+ ]
431
+ },
432
+ {
433
+ "id": 13,
434
+ "type": "LoadFluxControlNet",
435
+ "pos": [
436
+ 147,
437
+ -366
438
+ ],
439
+ "size": {
440
+ "0": 316.83343505859375,
441
+ "1": 86.47058868408203
442
+ },
443
+ "flags": {},
444
+ "order": 4,
445
+ "mode": 0,
446
+ "outputs": [
447
+ {
448
+ "name": "ControlNet",
449
+ "type": "FluxControlNet",
450
+ "links": [
451
+ 44
452
+ ],
453
+ "shape": 3,
454
+ "slot_index": 0
455
+ }
456
+ ],
457
+ "properties": {
458
+ "Node name for S&R": "LoadFluxControlNet"
459
+ },
460
+ "widgets_values": [
461
+ "flux-dev",
462
+ "flux-hed-controlnet-v3.safetensors"
463
+ ]
464
+ },
465
+ {
466
+ "id": 16,
467
+ "type": "LoadImage",
468
+ "pos": [
469
+ -236,
470
+ -397
471
+ ],
472
+ "size": {
473
+ "0": 315,
474
+ "1": 314
475
+ },
476
+ "flags": {},
477
+ "order": 5,
478
+ "mode": 0,
479
+ "outputs": [
480
+ {
481
+ "name": "IMAGE",
482
+ "type": "IMAGE",
483
+ "links": [
484
+ 108
485
+ ],
486
+ "shape": 3,
487
+ "slot_index": 0
488
+ },
489
+ {
490
+ "name": "MASK",
491
+ "type": "MASK",
492
+ "links": null,
493
+ "shape": 3
494
+ }
495
+ ],
496
+ "properties": {
497
+ "Node name for S&R": "LoadImage"
498
+ },
499
+ "widgets_values": [
500
+ "A beautiful woman with white hair and light freckl.webp",
501
+ "image"
502
+ ]
503
+ },
504
+ {
505
+ "id": 3,
506
+ "type": "XlabsSampler",
507
+ "pos": [
508
+ 964,
509
+ -75
510
+ ],
511
+ "size": {
512
+ "0": 342.5999755859375,
513
+ "1": 258
514
+ },
515
+ "flags": {},
516
+ "order": 12,
517
+ "mode": 0,
518
+ "inputs": [
519
+ {
520
+ "name": "model",
521
+ "type": "MODEL",
522
+ "link": 58,
523
+ "slot_index": 0
524
+ },
525
+ {
526
+ "name": "conditioning",
527
+ "type": "CONDITIONING",
528
+ "link": 18
529
+ },
530
+ {
531
+ "name": "neg_conditioning",
532
+ "type": "CONDITIONING",
533
+ "link": 26
534
+ },
535
+ {
536
+ "name": "latent_image",
537
+ "type": "LATENT",
538
+ "link": 66
539
+ },
540
+ {
541
+ "name": "controlnet_condition",
542
+ "type": "ControlNetCondition",
543
+ "link": 28
544
+ }
545
+ ],
546
+ "outputs": [
547
+ {
548
+ "name": "latent",
549
+ "type": "LATENT",
550
+ "links": [
551
+ 6
552
+ ],
553
+ "shape": 3
554
+ }
555
+ ],
556
+ "properties": {
557
+ "Node name for S&R": "XlabsSampler"
558
+ },
559
+ "widgets_values": [
560
+ 324242532548,
561
+ "fixed",
562
+ 25,
563
+ 1,
564
+ 3.5,
565
+ 0
566
+ ]
567
+ },
568
+ {
569
+ "id": 23,
570
+ "type": "SaveImage",
571
+ "pos": [
572
+ 1322,
573
+ -64
574
+ ],
575
+ "size": {
576
+ "0": 356.1513671875,
577
+ "1": 270
578
+ },
579
+ "flags": {},
580
+ "order": 15,
581
+ "mode": 0,
582
+ "inputs": [
583
+ {
584
+ "name": "images",
585
+ "type": "IMAGE",
586
+ "link": 101
587
+ }
588
+ ],
589
+ "properties": {},
590
+ "widgets_values": [
591
+ "canny_res"
592
+ ]
593
+ }
594
+ ],
595
+ "links": [
596
+ [
597
+ 2,
598
+ 4,
599
+ 0,
600
+ 5,
601
+ 0,
602
+ "CLIP"
603
+ ],
604
+ [
605
+ 6,
606
+ 3,
607
+ 0,
608
+ 7,
609
+ 0,
610
+ "LATENT"
611
+ ],
612
+ [
613
+ 7,
614
+ 8,
615
+ 0,
616
+ 7,
617
+ 1,
618
+ "VAE"
619
+ ],
620
+ [
621
+ 18,
622
+ 5,
623
+ 0,
624
+ 3,
625
+ 1,
626
+ "CONDITIONING"
627
+ ],
628
+ [
629
+ 26,
630
+ 19,
631
+ 0,
632
+ 3,
633
+ 2,
634
+ "CONDITIONING"
635
+ ],
636
+ [
637
+ 27,
638
+ 4,
639
+ 0,
640
+ 19,
641
+ 0,
642
+ "CLIP"
643
+ ],
644
+ [
645
+ 28,
646
+ 14,
647
+ 0,
648
+ 3,
649
+ 4,
650
+ "ControlNetCondition"
651
+ ],
652
+ [
653
+ 44,
654
+ 13,
655
+ 0,
656
+ 14,
657
+ 0,
658
+ "FluxControlNet"
659
+ ],
660
+ [
661
+ 58,
662
+ 32,
663
+ 0,
664
+ 3,
665
+ 0,
666
+ "MODEL"
667
+ ],
668
+ [
669
+ 66,
670
+ 6,
671
+ 0,
672
+ 3,
673
+ 3,
674
+ "LATENT"
675
+ ],
676
+ [
677
+ 79,
678
+ 7,
679
+ 0,
680
+ 21,
681
+ 0,
682
+ "IMAGE"
683
+ ],
684
+ [
685
+ 101,
686
+ 7,
687
+ 0,
688
+ 23,
689
+ 0,
690
+ "IMAGE"
691
+ ],
692
+ [
693
+ 108,
694
+ 16,
695
+ 0,
696
+ 47,
697
+ 0,
698
+ "IMAGE"
699
+ ],
700
+ [
701
+ 109,
702
+ 47,
703
+ 0,
704
+ 39,
705
+ 0,
706
+ "IMAGE"
707
+ ],
708
+ [
709
+ 110,
710
+ 47,
711
+ 0,
712
+ 14,
713
+ 1,
714
+ "IMAGE"
715
+ ],
716
+ [
717
+ 111,
718
+ 47,
719
+ 0,
720
+ 46,
721
+ 0,
722
+ "IMAGE"
723
+ ]
724
+ ],
725
+ "groups": [],
726
+ "config": {},
727
+ "extra": {
728
+ "ds": {
729
+ "scale": 0.922959981770646,
730
+ "offset": [
731
+ 263.90086107482557,
732
+ 618.1755731182905
733
+ ]
734
+ }
735
+ },
736
+ "version": 0.4
737
+ }