Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/memo/comfyui_img2img/workflow4.json
3275 views
1
{
2
"last_node_id": 35,
3
"last_link_id": 57,
4
"nodes": [
5
{
6
"id": 5,
7
"type": "EmptyLatentImage",
8
"pos": [
9
473,
10
643
11
],
12
"size": {
13
"0": 315,
14
"1": 106
15
},
16
"flags": {},
17
"order": 0,
18
"mode": 0,
19
"outputs": [
20
{
21
"name": "LATENT",
22
"type": "LATENT",
23
"links": [],
24
"slot_index": 0
25
}
26
],
27
"properties": {
28
"Node name for S&R": "EmptyLatentImage"
29
},
30
"widgets_values": [
31
512,
32
512,
33
1
34
]
35
},
36
{
37
"id": 9,
38
"type": "SaveImage",
39
"pos": [
40
1435,
41
197
42
],
43
"size": {
44
"0": 406.69598388671875,
45
"1": 483.0635070800781
46
},
47
"flags": {},
48
"order": 19,
49
"mode": 0,
50
"inputs": [
51
{
52
"name": "images",
53
"type": "IMAGE",
54
"link": 9
55
}
56
],
57
"properties": {
58
"Node name for S&R": "SaveImage"
59
},
60
"widgets_values": [
61
"ComfyUI"
62
]
63
},
64
{
65
"id": 8,
66
"type": "VAEDecode",
67
"pos": [
68
1209,
69
188
70
],
71
"size": {
72
"0": 210,
73
"1": 46
74
},
75
"flags": {},
76
"order": 16,
77
"mode": 0,
78
"inputs": [
79
{
80
"name": "samples",
81
"type": "LATENT",
82
"link": 7
83
},
84
{
85
"name": "vae",
86
"type": "VAE",
87
"link": 8
88
}
89
],
90
"outputs": [
91
{
92
"name": "IMAGE",
93
"type": "IMAGE",
94
"links": [
95
9
96
],
97
"slot_index": 0
98
}
99
],
100
"properties": {
101
"Node name for S&R": "VAEDecode"
102
}
103
},
104
{
105
"id": 22,
106
"type": "SaveImage",
107
"pos": [
108
1459,
109
763
110
],
111
"size": {
112
"0": 403.6217956542969,
113
"1": 571.4622802734375
114
},
115
"flags": {},
116
"order": 20,
117
"mode": 0,
118
"inputs": [
119
{
120
"name": "images",
121
"type": "IMAGE",
122
"link": 35
123
}
124
],
125
"properties": {
126
"Node name for S&R": "SaveImage"
127
},
128
"widgets_values": [
129
"ComfyUI"
130
]
131
},
132
{
133
"id": 21,
134
"type": "VAEDecode",
135
"pos": [
136
1215,
137
765
138
],
139
"size": {
140
"0": 210,
141
"1": 46
142
},
143
"flags": {},
144
"order": 17,
145
"mode": 0,
146
"inputs": [
147
{
148
"name": "samples",
149
"type": "LATENT",
150
"link": 33
151
},
152
{
153
"name": "vae",
154
"type": "VAE",
155
"link": 34
156
}
157
],
158
"outputs": [
159
{
160
"name": "IMAGE",
161
"type": "IMAGE",
162
"links": [
163
35
164
],
165
"shape": 3,
166
"slot_index": 0
167
}
168
],
169
"properties": {
170
"Node name for S&R": "VAEDecode"
171
}
172
},
173
{
174
"id": 20,
175
"type": "KSamplerAdvanced",
176
"pos": [
177
866,
178
766
179
],
180
"size": {
181
"0": 315,
182
"1": 334
183
},
184
"flags": {},
185
"order": 15,
186
"mode": 0,
187
"inputs": [
188
{
189
"name": "model",
190
"type": "MODEL",
191
"link": 31
192
},
193
{
194
"name": "positive",
195
"type": "CONDITIONING",
196
"link": 29
197
},
198
{
199
"name": "negative",
200
"type": "CONDITIONING",
201
"link": 30
202
},
203
{
204
"name": "latent_image",
205
"type": "LATENT",
206
"link": 32
207
}
208
],
209
"outputs": [
210
{
211
"name": "LATENT",
212
"type": "LATENT",
213
"links": [
214
33,
215
43
216
],
217
"shape": 3,
218
"slot_index": 0
219
}
220
],
221
"properties": {
222
"Node name for S&R": "KSamplerAdvanced"
223
},
224
"widgets_values": [
225
"enable",
226
2222,
227
"fixed",
228
40,
229
8,
230
"euler",
231
"normal",
232
20,
233
30,
234
"enable"
235
]
236
},
237
{
238
"id": 26,
239
"type": "SaveImage",
240
"pos": [
241
1467,
242
1407
243
],
244
"size": {
245
"0": 385.0066833496094,
246
"1": 537.3496704101562
247
},
248
"flags": {},
249
"order": 22,
250
"mode": 0,
251
"inputs": [
252
{
253
"name": "images",
254
"type": "IMAGE",
255
"link": 44
256
}
257
],
258
"properties": {
259
"Node name for S&R": "SaveImage"
260
},
261
"widgets_values": [
262
"ComfyUI"
263
]
264
},
265
{
266
"id": 24,
267
"type": "VAEDecode",
268
"pos": [
269
1222,
270
1411
271
],
272
"size": {
273
"0": 210,
274
"1": 46
275
},
276
"flags": {},
277
"order": 21,
278
"mode": 0,
279
"inputs": [
280
{
281
"name": "samples",
282
"type": "LATENT",
283
"link": 40
284
},
285
{
286
"name": "vae",
287
"type": "VAE",
288
"link": 41
289
}
290
],
291
"outputs": [
292
{
293
"name": "IMAGE",
294
"type": "IMAGE",
295
"links": [
296
44
297
],
298
"shape": 3,
299
"slot_index": 0
300
}
301
],
302
"properties": {
303
"Node name for S&R": "VAEDecode"
304
}
305
},
306
{
307
"id": 23,
308
"type": "KSamplerAdvanced",
309
"pos": [
310
859,
311
1402
312
],
313
"size": {
314
"0": 315,
315
"1": 334
316
},
317
"flags": {},
318
"order": 18,
319
"mode": 0,
320
"inputs": [
321
{
322
"name": "model",
323
"type": "MODEL",
324
"link": 45
325
},
326
{
327
"name": "positive",
328
"type": "CONDITIONING",
329
"link": 36
330
},
331
{
332
"name": "negative",
333
"type": "CONDITIONING",
334
"link": 37
335
},
336
{
337
"name": "latent_image",
338
"type": "LATENT",
339
"link": 43
340
}
341
],
342
"outputs": [
343
{
344
"name": "LATENT",
345
"type": "LATENT",
346
"links": [
347
40
348
],
349
"shape": 3,
350
"slot_index": 0
351
}
352
],
353
"properties": {
354
"Node name for S&R": "KSamplerAdvanced"
355
},
356
"widgets_values": [
357
"disable",
358
2222,
359
"fixed",
360
40,
361
8,
362
"euler",
363
"normal",
364
30,
365
40,
366
"enable"
367
]
368
},
369
{
370
"id": 3,
371
"type": "KSampler",
372
"pos": [
373
863,
374
186
375
],
376
"size": {
377
"0": 315,
378
"1": 474
379
},
380
"flags": {},
381
"order": 14,
382
"mode": 0,
383
"inputs": [
384
{
385
"name": "model",
386
"type": "MODEL",
387
"link": 1
388
},
389
{
390
"name": "positive",
391
"type": "CONDITIONING",
392
"link": 4
393
},
394
{
395
"name": "negative",
396
"type": "CONDITIONING",
397
"link": 6
398
},
399
{
400
"name": "latent_image",
401
"type": "LATENT",
402
"link": 11
403
}
404
],
405
"outputs": [
406
{
407
"name": "LATENT",
408
"type": "LATENT",
409
"links": [
410
7
411
],
412
"slot_index": 0
413
}
414
],
415
"properties": {
416
"Node name for S&R": "KSampler"
417
},
418
"widgets_values": [
419
2222,
420
"fixed",
421
25,
422
8,
423
"euler",
424
"normal",
425
0.5
426
]
427
},
428
{
429
"id": 4,
430
"type": "CheckpointLoaderSimple",
431
"pos": [
432
44,
433
189
434
],
435
"size": {
436
"0": 315,
437
"1": 98
438
},
439
"flags": {},
440
"order": 1,
441
"mode": 0,
442
"outputs": [
443
{
444
"name": "MODEL",
445
"type": "MODEL",
446
"links": [
447
1,
448
31
449
],
450
"slot_index": 0
451
},
452
{
453
"name": "CLIP",
454
"type": "CLIP",
455
"links": [
456
3,
457
5
458
],
459
"slot_index": 1
460
},
461
{
462
"name": "VAE",
463
"type": "VAE",
464
"links": [
465
8,
466
12,
467
34,
468
41
469
],
470
"slot_index": 2
471
}
472
],
473
"properties": {
474
"Node name for S&R": "CheckpointLoaderSimple"
475
},
476
"widgets_values": [
477
"sd15\\dreamshaper_8.safetensors"
478
]
479
},
480
{
481
"id": 27,
482
"type": "CheckpointLoaderSimple",
483
"pos": [
484
57,
485
1400
486
],
487
"size": {
488
"0": 315,
489
"1": 98
490
},
491
"flags": {},
492
"order": 2,
493
"mode": 0,
494
"outputs": [
495
{
496
"name": "MODEL",
497
"type": "MODEL",
498
"links": [
499
45
500
],
501
"slot_index": 0
502
},
503
{
504
"name": "CLIP",
505
"type": "CLIP",
506
"links": [],
507
"slot_index": 1
508
},
509
{
510
"name": "VAE",
511
"type": "VAE",
512
"links": [],
513
"slot_index": 2
514
}
515
],
516
"properties": {
517
"Node name for S&R": "CheckpointLoaderSimple"
518
},
519
"widgets_values": [
520
"sd15\\anihelloy2d_v15.safetensors"
521
]
522
},
523
{
524
"id": 7,
525
"type": "CLIPTextEncode",
526
"pos": [
527
413,
528
389
529
],
530
"size": {
531
"0": 425.27801513671875,
532
"1": 180.6060791015625
533
},
534
"flags": {},
535
"order": 6,
536
"mode": 0,
537
"inputs": [
538
{
539
"name": "clip",
540
"type": "CLIP",
541
"link": 5
542
}
543
],
544
"outputs": [
545
{
546
"name": "CONDITIONING",
547
"type": "CONDITIONING",
548
"links": [
549
6,
550
30,
551
37
552
],
553
"slot_index": 0
554
}
555
],
556
"properties": {
557
"Node name for S&R": "CLIPTextEncode"
558
},
559
"widgets_values": [
560
"(worst quality, low quality:1.3), nsfw"
561
]
562
},
563
{
564
"id": 6,
565
"type": "CLIPTextEncode",
566
"pos": [
567
415,
568
186
569
],
570
"size": {
571
"0": 422.84503173828125,
572
"1": 164.31304931640625
573
},
574
"flags": {},
575
"order": 5,
576
"mode": 0,
577
"inputs": [
578
{
579
"name": "clip",
580
"type": "CLIP",
581
"link": 3
582
}
583
],
584
"outputs": [
585
{
586
"name": "CONDITIONING",
587
"type": "CONDITIONING",
588
"links": [
589
4,
590
29,
591
36
592
],
593
"slot_index": 0
594
}
595
],
596
"properties": {
597
"Node name for S&R": "CLIPTextEncode"
598
},
599
"widgets_values": [
600
"(masterpiece, best quality, high quality, ultra detailed:1.2), 1girl, upper body thigh, uniform"
601
]
602
},
603
{
604
"id": 28,
605
"type": "KSampler",
606
"pos": [
607
830,
608
-470
609
],
610
"size": {
611
"0": 315,
612
"1": 474
613
},
614
"flags": {},
615
"order": 9,
616
"mode": 0,
617
"inputs": [
618
{
619
"name": "model",
620
"type": "MODEL",
621
"link": 46
622
},
623
{
624
"name": "positive",
625
"type": "CONDITIONING",
626
"link": 47
627
},
628
{
629
"name": "negative",
630
"type": "CONDITIONING",
631
"link": 48
632
},
633
{
634
"name": "latent_image",
635
"type": "LATENT",
636
"link": 49
637
}
638
],
639
"outputs": [
640
{
641
"name": "LATENT",
642
"type": "LATENT",
643
"links": [
644
52
645
],
646
"slot_index": 0
647
}
648
],
649
"properties": {
650
"Node name for S&R": "KSampler"
651
},
652
"widgets_values": [
653
2222,
654
"fixed",
655
25,
656
8,
657
"euler",
658
"normal",
659
1
660
]
661
},
662
{
663
"id": 30,
664
"type": "EmptyLatentImage",
665
"pos": [
666
440,
667
-20
668
],
669
"size": {
670
"0": 315,
671
"1": 106
672
},
673
"flags": {},
674
"order": 3,
675
"mode": 0,
676
"outputs": [
677
{
678
"name": "LATENT",
679
"type": "LATENT",
680
"links": [
681
49
682
],
683
"slot_index": 0
684
}
685
],
686
"properties": {
687
"Node name for S&R": "EmptyLatentImage"
688
},
689
"widgets_values": [
690
512,
691
768,
692
1
693
]
694
},
695
{
696
"id": 31,
697
"type": "CLIPTextEncode",
698
"pos": [
699
380,
700
-470
701
],
702
"size": {
703
"0": 422.84503173828125,
704
"1": 164.31304931640625
705
},
706
"flags": {},
707
"order": 7,
708
"mode": 0,
709
"inputs": [
710
{
711
"name": "clip",
712
"type": "CLIP",
713
"link": 50
714
}
715
],
716
"outputs": [
717
{
718
"name": "CONDITIONING",
719
"type": "CONDITIONING",
720
"links": [
721
47
722
],
723
"slot_index": 0
724
}
725
],
726
"properties": {
727
"Node name for S&R": "CLIPTextEncode"
728
},
729
"widgets_values": [
730
"(masterpiece, best quality, high quality, ultra detailed:1.2), 1girl, upper body thigh, uniform"
731
]
732
},
733
{
734
"id": 32,
735
"type": "CLIPTextEncode",
736
"pos": [
737
380,
738
-270
739
],
740
"size": {
741
"0": 425.27801513671875,
742
"1": 180.6060791015625
743
},
744
"flags": {},
745
"order": 8,
746
"mode": 0,
747
"inputs": [
748
{
749
"name": "clip",
750
"type": "CLIP",
751
"link": 51
752
}
753
],
754
"outputs": [
755
{
756
"name": "CONDITIONING",
757
"type": "CONDITIONING",
758
"links": [
759
48
760
],
761
"slot_index": 0
762
}
763
],
764
"properties": {
765
"Node name for S&R": "CLIPTextEncode"
766
},
767
"widgets_values": [
768
"(worst quality, low quality:1.3), nsfw"
769
]
770
},
771
{
772
"id": 29,
773
"type": "CheckpointLoaderSimple",
774
"pos": [
775
10,
776
-470
777
],
778
"size": {
779
"0": 315,
780
"1": 98
781
},
782
"flags": {},
783
"order": 4,
784
"mode": 0,
785
"outputs": [
786
{
787
"name": "MODEL",
788
"type": "MODEL",
789
"links": [
790
46
791
],
792
"slot_index": 0
793
},
794
{
795
"name": "CLIP",
796
"type": "CLIP",
797
"links": [
798
50,
799
51
800
],
801
"slot_index": 1
802
},
803
{
804
"name": "VAE",
805
"type": "VAE",
806
"links": [
807
53
808
],
809
"slot_index": 2
810
}
811
],
812
"properties": {
813
"Node name for S&R": "CheckpointLoaderSimple"
814
},
815
"widgets_values": [
816
"sd15\\dreamshaper_8.safetensors"
817
]
818
},
819
{
820
"id": 34,
821
"type": "SaveImage",
822
"pos": [
823
1445,
824
-472
825
],
826
"size": {
827
"0": 406.69598388671875,
828
"1": 483.0635070800781
829
},
830
"flags": {},
831
"order": 11,
832
"mode": 0,
833
"inputs": [
834
{
835
"name": "images",
836
"type": "IMAGE",
837
"link": 54
838
}
839
],
840
"properties": {
841
"Node name for S&R": "SaveImage"
842
},
843
"widgets_values": [
844
"ComfyUI"
845
]
846
},
847
{
848
"id": 11,
849
"type": "VAEEncode",
850
"pos": [
851
78,
852
979
853
],
854
"size": {
855
"0": 210,
856
"1": 46
857
},
858
"flags": {},
859
"order": 13,
860
"mode": 0,
861
"inputs": [
862
{
863
"name": "pixels",
864
"type": "IMAGE",
865
"link": 57
866
},
867
{
868
"name": "vae",
869
"type": "VAE",
870
"link": 12
871
}
872
],
873
"outputs": [
874
{
875
"name": "LATENT",
876
"type": "LATENT",
877
"links": [
878
11,
879
32
880
],
881
"shape": 3,
882
"slot_index": 0
883
}
884
],
885
"properties": {
886
"Node name for S&R": "VAEEncode"
887
}
888
},
889
{
890
"id": 33,
891
"type": "VAEDecode",
892
"pos": [
893
1170,
894
-470
895
],
896
"size": {
897
"0": 210,
898
"1": 46
899
},
900
"flags": {},
901
"order": 10,
902
"mode": 0,
903
"inputs": [
904
{
905
"name": "samples",
906
"type": "LATENT",
907
"link": 52
908
},
909
{
910
"name": "vae",
911
"type": "VAE",
912
"link": 53
913
}
914
],
915
"outputs": [
916
{
917
"name": "IMAGE",
918
"type": "IMAGE",
919
"links": [
920
54,
921
56
922
],
923
"slot_index": 0
924
}
925
],
926
"properties": {
927
"Node name for S&R": "VAEDecode"
928
}
929
},
930
{
931
"id": 35,
932
"type": "ImageScaleBy",
933
"pos": [
934
14,
935
830
936
],
937
"size": {
938
"0": 315,
939
"1": 82
940
},
941
"flags": {},
942
"order": 12,
943
"mode": 0,
944
"inputs": [
945
{
946
"name": "image",
947
"type": "IMAGE",
948
"link": 56
949
}
950
],
951
"outputs": [
952
{
953
"name": "IMAGE",
954
"type": "IMAGE",
955
"links": [
956
57
957
],
958
"shape": 3,
959
"slot_index": 0
960
}
961
],
962
"properties": {
963
"Node name for S&R": "ImageScaleBy"
964
},
965
"widgets_values": [
966
"nearest-exact",
967
2
968
]
969
}
970
],
971
"links": [
972
[
973
1,
974
4,
975
0,
976
3,
977
0,
978
"MODEL"
979
],
980
[
981
3,
982
4,
983
1,
984
6,
985
0,
986
"CLIP"
987
],
988
[
989
4,
990
6,
991
0,
992
3,
993
1,
994
"CONDITIONING"
995
],
996
[
997
5,
998
4,
999
1,
1000
7,
1001
0,
1002
"CLIP"
1003
],
1004
[
1005
6,
1006
7,
1007
0,
1008
3,
1009
2,
1010
"CONDITIONING"
1011
],
1012
[
1013
7,
1014
3,
1015
0,
1016
8,
1017
0,
1018
"LATENT"
1019
],
1020
[
1021
8,
1022
4,
1023
2,
1024
8,
1025
1,
1026
"VAE"
1027
],
1028
[
1029
9,
1030
8,
1031
0,
1032
9,
1033
0,
1034
"IMAGE"
1035
],
1036
[
1037
11,
1038
11,
1039
0,
1040
3,
1041
3,
1042
"LATENT"
1043
],
1044
[
1045
12,
1046
4,
1047
2,
1048
11,
1049
1,
1050
"VAE"
1051
],
1052
[
1053
29,
1054
6,
1055
0,
1056
20,
1057
1,
1058
"CONDITIONING"
1059
],
1060
[
1061
30,
1062
7,
1063
0,
1064
20,
1065
2,
1066
"CONDITIONING"
1067
],
1068
[
1069
31,
1070
4,
1071
0,
1072
20,
1073
0,
1074
"MODEL"
1075
],
1076
[
1077
32,
1078
11,
1079
0,
1080
20,
1081
3,
1082
"LATENT"
1083
],
1084
[
1085
33,
1086
20,
1087
0,
1088
21,
1089
0,
1090
"LATENT"
1091
],
1092
[
1093
34,
1094
4,
1095
2,
1096
21,
1097
1,
1098
"VAE"
1099
],
1100
[
1101
35,
1102
21,
1103
0,
1104
22,
1105
0,
1106
"IMAGE"
1107
],
1108
[
1109
36,
1110
6,
1111
0,
1112
23,
1113
1,
1114
"CONDITIONING"
1115
],
1116
[
1117
37,
1118
7,
1119
0,
1120
23,
1121
2,
1122
"CONDITIONING"
1123
],
1124
[
1125
40,
1126
23,
1127
0,
1128
24,
1129
0,
1130
"LATENT"
1131
],
1132
[
1133
41,
1134
4,
1135
2,
1136
24,
1137
1,
1138
"VAE"
1139
],
1140
[
1141
43,
1142
20,
1143
0,
1144
23,
1145
3,
1146
"LATENT"
1147
],
1148
[
1149
44,
1150
24,
1151
0,
1152
26,
1153
0,
1154
"IMAGE"
1155
],
1156
[
1157
45,
1158
27,
1159
0,
1160
23,
1161
0,
1162
"MODEL"
1163
],
1164
[
1165
46,
1166
29,
1167
0,
1168
28,
1169
0,
1170
"MODEL"
1171
],
1172
[
1173
47,
1174
31,
1175
0,
1176
28,
1177
1,
1178
"CONDITIONING"
1179
],
1180
[
1181
48,
1182
32,
1183
0,
1184
28,
1185
2,
1186
"CONDITIONING"
1187
],
1188
[
1189
49,
1190
30,
1191
0,
1192
28,
1193
3,
1194
"LATENT"
1195
],
1196
[
1197
50,
1198
29,
1199
1,
1200
31,
1201
0,
1202
"CLIP"
1203
],
1204
[
1205
51,
1206
29,
1207
1,
1208
32,
1209
0,
1210
"CLIP"
1211
],
1212
[
1213
52,
1214
28,
1215
0,
1216
33,
1217
0,
1218
"LATENT"
1219
],
1220
[
1221
53,
1222
29,
1223
2,
1224
33,
1225
1,
1226
"VAE"
1227
],
1228
[
1229
54,
1230
33,
1231
0,
1232
34,
1233
0,
1234
"IMAGE"
1235
],
1236
[
1237
56,
1238
33,
1239
0,
1240
35,
1241
0,
1242
"IMAGE"
1243
],
1244
[
1245
57,
1246
35,
1247
0,
1248
11,
1249
0,
1250
"IMAGE"
1251
]
1252
],
1253
"groups": [],
1254
"config": {},
1255
"extra": {
1256
"ds": {
1257
"scale": 0.6830134553650709,
1258
"offset": [
1259
742.2393742161721,
1260
493.3839085716886
1261
]
1262
}
1263
},
1264
"version": 0.4
1265
}
1266