neuralvfx commited on
Commit
17f871a
·
verified ·
1 Parent(s): 0689a56

Upload z-image-control.json

Browse files
Files changed (1) hide show
  1. comfy-ui-patch/z-image-control.json +1198 -0
comfy-ui-patch/z-image-control.json ADDED
@@ -0,0 +1,1198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "dc824ad9-4bce-4551-a997-e6a87f72ec9a",
3
+ "revision": 0,
4
+ "last_node_id": 38,
5
+ "last_link_id": 57,
6
+ "nodes": [
7
+ {
8
+ "id": 11,
9
+ "type": "ZImageFunControlnet",
10
+ "pos": [
11
+ 415.9837148867862,
12
+ 1217.8433748087343
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 158
17
+ ],
18
+ "flags": {},
19
+ "order": 16,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "name": "model",
24
+ "type": "MODEL",
25
+ "link": 8
26
+ },
27
+ {
28
+ "name": "model_patch",
29
+ "type": "MODEL_PATCH",
30
+ "link": 7
31
+ },
32
+ {
33
+ "name": "vae",
34
+ "type": "VAE",
35
+ "link": 24
36
+ },
37
+ {
38
+ "name": "image",
39
+ "shape": 7,
40
+ "type": "IMAGE",
41
+ "link": 54
42
+ },
43
+ {
44
+ "name": "inpaint_image",
45
+ "shape": 7,
46
+ "type": "IMAGE",
47
+ "link": null
48
+ },
49
+ {
50
+ "name": "mask",
51
+ "shape": 7,
52
+ "type": "MASK",
53
+ "link": null
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "name": "MODEL",
59
+ "type": "MODEL",
60
+ "links": [
61
+ 9
62
+ ]
63
+ }
64
+ ],
65
+ "properties": {
66
+ "cnr_id": "comfy-core",
67
+ "ver": "0.11.0",
68
+ "Node name for S&R": "ZImageFunControlnet"
69
+ },
70
+ "widgets_values": [
71
+ 1
72
+ ]
73
+ },
74
+ {
75
+ "id": 19,
76
+ "type": "CLIPTextEncode",
77
+ "pos": [
78
+ 565.6117354916819,
79
+ 747.6673540762121
80
+ ],
81
+ "size": [
82
+ 384.6283512791799,
83
+ 88
84
+ ],
85
+ "flags": {},
86
+ "order": 8,
87
+ "mode": 0,
88
+ "inputs": [
89
+ {
90
+ "name": "clip",
91
+ "type": "CLIP",
92
+ "link": 25
93
+ }
94
+ ],
95
+ "outputs": [
96
+ {
97
+ "name": "CONDITIONING",
98
+ "type": "CONDITIONING",
99
+ "links": [
100
+ 18
101
+ ]
102
+ }
103
+ ],
104
+ "properties": {
105
+ "cnr_id": "comfy-core",
106
+ "ver": "0.11.0",
107
+ "Node name for S&R": "CLIPTextEncode"
108
+ },
109
+ "widgets_values": [
110
+ "低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲。"
111
+ ]
112
+ },
113
+ {
114
+ "id": 33,
115
+ "type": "LoadImage",
116
+ "pos": [
117
+ -1355.3384764264254,
118
+ 1634.722401270745
119
+ ],
120
+ "size": [
121
+ 282.798828125,
122
+ 314.0000000000001
123
+ ],
124
+ "flags": {},
125
+ "order": 0,
126
+ "mode": 0,
127
+ "inputs": [],
128
+ "outputs": [
129
+ {
130
+ "name": "IMAGE",
131
+ "type": "IMAGE",
132
+ "links": [
133
+ 47
134
+ ]
135
+ },
136
+ {
137
+ "name": "MASK",
138
+ "type": "MASK",
139
+ "links": null
140
+ }
141
+ ],
142
+ "properties": {
143
+ "cnr_id": "comfy-core",
144
+ "ver": "0.18.2",
145
+ "Node name for S&R": "LoadImage"
146
+ },
147
+ "widgets_values": [
148
+ "young-male-posing-isolated-against-blank-studio-wall_273609-12356.avif",
149
+ "image"
150
+ ]
151
+ },
152
+ {
153
+ "id": 34,
154
+ "type": "DownloadAndLoadSAM2Model",
155
+ "pos": [
156
+ -1208.9003871602697,
157
+ 1419.68542801308
158
+ ],
159
+ "size": [
160
+ 270,
161
+ 130
162
+ ],
163
+ "flags": {},
164
+ "order": 1,
165
+ "mode": 0,
166
+ "inputs": [],
167
+ "outputs": [
168
+ {
169
+ "name": "sam2_model",
170
+ "type": "SAM2MODEL",
171
+ "links": [
172
+ 46
173
+ ]
174
+ }
175
+ ],
176
+ "properties": {
177
+ "cnr_id": "comfyui-segment-anything-2",
178
+ "ver": "1.0.2",
179
+ "Node name for S&R": "DownloadAndLoadSAM2Model"
180
+ },
181
+ "widgets_values": [
182
+ "sam2_hiera_base_plus.safetensors",
183
+ "automaskgenerator",
184
+ "cuda",
185
+ "fp16"
186
+ ]
187
+ },
188
+ {
189
+ "id": 32,
190
+ "type": "Sam2AutoSegmentation",
191
+ "pos": [
192
+ -937.8594354550089,
193
+ 1667.6839001409319
194
+ ],
195
+ "size": [
196
+ 348.740234375,
197
+ 410
198
+ ],
199
+ "flags": {},
200
+ "order": 7,
201
+ "mode": 0,
202
+ "inputs": [
203
+ {
204
+ "name": "sam2_model",
205
+ "type": "SAM2MODEL",
206
+ "link": 46
207
+ },
208
+ {
209
+ "name": "image",
210
+ "type": "IMAGE",
211
+ "link": 47
212
+ }
213
+ ],
214
+ "outputs": [
215
+ {
216
+ "name": "mask",
217
+ "type": "MASK",
218
+ "links": null
219
+ },
220
+ {
221
+ "name": "segmented_image",
222
+ "type": "IMAGE",
223
+ "links": [
224
+ 45,
225
+ 48,
226
+ 49
227
+ ]
228
+ },
229
+ {
230
+ "name": "bbox",
231
+ "type": "BBOX",
232
+ "links": null
233
+ }
234
+ ],
235
+ "properties": {
236
+ "cnr_id": "comfyui-segment-anything-2",
237
+ "ver": "1.0.2",
238
+ "Node name for S&R": "Sam2AutoSegmentation"
239
+ },
240
+ "widgets_values": [
241
+ 32,
242
+ 64,
243
+ 0.8,
244
+ 0.95,
245
+ 1,
246
+ 0,
247
+ 0,
248
+ 0.7,
249
+ 0.7,
250
+ 0.34,
251
+ 1,
252
+ 0,
253
+ false,
254
+ true
255
+ ]
256
+ },
257
+ {
258
+ "id": 36,
259
+ "type": "GetImageSize",
260
+ "pos": [
261
+ -107.27320618163911,
262
+ 1829.9817741838676
263
+ ],
264
+ "size": [
265
+ 140,
266
+ 124
267
+ ],
268
+ "flags": {},
269
+ "order": 11,
270
+ "mode": 0,
271
+ "inputs": [
272
+ {
273
+ "name": "image",
274
+ "type": "IMAGE",
275
+ "link": 49
276
+ }
277
+ ],
278
+ "outputs": [
279
+ {
280
+ "name": "width",
281
+ "type": "INT",
282
+ "links": [
283
+ 50
284
+ ]
285
+ },
286
+ {
287
+ "name": "height",
288
+ "type": "INT",
289
+ "links": [
290
+ 51
291
+ ]
292
+ },
293
+ {
294
+ "name": "batch_size",
295
+ "type": "INT",
296
+ "links": null
297
+ }
298
+ ],
299
+ "properties": {
300
+ "cnr_id": "comfy-core",
301
+ "ver": "0.18.2",
302
+ "Node name for S&R": "GetImageSize"
303
+ },
304
+ "widgets_values": []
305
+ },
306
+ {
307
+ "id": 35,
308
+ "type": "ResizeAndPadImage",
309
+ "pos": [
310
+ 400.5717843126228,
311
+ 1809.780667825355
312
+ ],
313
+ "size": [
314
+ 270,
315
+ 130
316
+ ],
317
+ "flags": {},
318
+ "order": 14,
319
+ "mode": 0,
320
+ "inputs": [
321
+ {
322
+ "name": "image",
323
+ "type": "IMAGE",
324
+ "link": 48
325
+ },
326
+ {
327
+ "name": "target_width",
328
+ "type": "INT",
329
+ "widget": {
330
+ "name": "target_width"
331
+ },
332
+ "link": 52
333
+ },
334
+ {
335
+ "name": "target_height",
336
+ "type": "INT",
337
+ "widget": {
338
+ "name": "target_height"
339
+ },
340
+ "link": 53
341
+ }
342
+ ],
343
+ "outputs": [
344
+ {
345
+ "name": "IMAGE",
346
+ "type": "IMAGE",
347
+ "links": [
348
+ 54
349
+ ]
350
+ }
351
+ ],
352
+ "properties": {
353
+ "cnr_id": "comfy-core",
354
+ "ver": "0.18.2",
355
+ "Node name for S&R": "ResizeAndPadImage"
356
+ },
357
+ "widgets_values": [
358
+ 512,
359
+ 512,
360
+ "white",
361
+ "area"
362
+ ]
363
+ },
364
+ {
365
+ "id": 30,
366
+ "type": "SaveImage",
367
+ "pos": [
368
+ 1792.9983147271168,
369
+ 1031.4138758775948
370
+ ],
371
+ "size": [
372
+ 963.738329965309,
373
+ 1146.7897439905723
374
+ ],
375
+ "flags": {},
376
+ "order": 19,
377
+ "mode": 0,
378
+ "inputs": [
379
+ {
380
+ "name": "images",
381
+ "type": "IMAGE",
382
+ "link": 43
383
+ }
384
+ ],
385
+ "outputs": [],
386
+ "properties": {
387
+ "cnr_id": "comfy-core",
388
+ "ver": "0.11.0",
389
+ "Node name for S&R": "SaveImage"
390
+ },
391
+ "widgets_values": [
392
+ "beach_sgmm_uniform"
393
+ ]
394
+ },
395
+ {
396
+ "id": 16,
397
+ "type": "KSampler",
398
+ "pos": [
399
+ 1200,
400
+ 1090
401
+ ],
402
+ "size": [
403
+ 270,
404
+ 474
405
+ ],
406
+ "flags": {},
407
+ "order": 17,
408
+ "mode": 0,
409
+ "inputs": [
410
+ {
411
+ "name": "model",
412
+ "type": "MODEL",
413
+ "link": 9
414
+ },
415
+ {
416
+ "name": "positive",
417
+ "type": "CONDITIONING",
418
+ "link": 13
419
+ },
420
+ {
421
+ "name": "negative",
422
+ "type": "CONDITIONING",
423
+ "link": 18
424
+ },
425
+ {
426
+ "name": "latent_image",
427
+ "type": "LATENT",
428
+ "link": 40
429
+ }
430
+ ],
431
+ "outputs": [
432
+ {
433
+ "name": "LATENT",
434
+ "type": "LATENT",
435
+ "links": [
436
+ 19
437
+ ]
438
+ }
439
+ ],
440
+ "properties": {
441
+ "cnr_id": "comfy-core",
442
+ "ver": "0.11.0",
443
+ "Node name for S&R": "KSampler"
444
+ },
445
+ "widgets_values": [
446
+ 45,
447
+ "fixed",
448
+ 50,
449
+ 4,
450
+ "euler",
451
+ "normal",
452
+ 1
453
+ ]
454
+ },
455
+ {
456
+ "id": 20,
457
+ "type": "VAEDecode",
458
+ "pos": [
459
+ 1550,
460
+ 1060
461
+ ],
462
+ "size": [
463
+ 140,
464
+ 46
465
+ ],
466
+ "flags": {},
467
+ "order": 18,
468
+ "mode": 0,
469
+ "inputs": [
470
+ {
471
+ "name": "samples",
472
+ "type": "LATENT",
473
+ "link": 19
474
+ },
475
+ {
476
+ "name": "vae",
477
+ "type": "VAE",
478
+ "link": 23
479
+ }
480
+ ],
481
+ "outputs": [
482
+ {
483
+ "name": "IMAGE",
484
+ "type": "IMAGE",
485
+ "links": [
486
+ 43
487
+ ]
488
+ }
489
+ ],
490
+ "properties": {
491
+ "cnr_id": "comfy-core",
492
+ "ver": "0.11.0",
493
+ "Node name for S&R": "VAEDecode"
494
+ },
495
+ "widgets_values": []
496
+ },
497
+ {
498
+ "id": 15,
499
+ "type": "LoadImage",
500
+ "pos": [
501
+ -984.5641159802153,
502
+ 2265.0444908564186
503
+ ],
504
+ "size": [
505
+ 282.798828125,
506
+ 314
507
+ ],
508
+ "flags": {},
509
+ "order": 2,
510
+ "mode": 0,
511
+ "inputs": [],
512
+ "outputs": [
513
+ {
514
+ "name": "IMAGE",
515
+ "type": "IMAGE",
516
+ "links": []
517
+ },
518
+ {
519
+ "name": "MASK",
520
+ "type": "MASK",
521
+ "links": null
522
+ }
523
+ ],
524
+ "properties": {
525
+ "cnr_id": "comfy-core",
526
+ "ver": "0.11.0",
527
+ "Node name for S&R": "LoadImage"
528
+ },
529
+ "widgets_values": [
530
+ "z-image.png",
531
+ "image"
532
+ ]
533
+ },
534
+ {
535
+ "id": 31,
536
+ "type": "PreviewImage",
537
+ "pos": [
538
+ -165.21154651992745,
539
+ 2208.8313046316466
540
+ ],
541
+ "size": [
542
+ 324.69567229615086,
543
+ 300.83144858776404
544
+ ],
545
+ "flags": {},
546
+ "order": 10,
547
+ "mode": 0,
548
+ "inputs": [
549
+ {
550
+ "name": "images",
551
+ "type": "IMAGE",
552
+ "link": 45
553
+ }
554
+ ],
555
+ "outputs": [],
556
+ "properties": {
557
+ "cnr_id": "comfy-core",
558
+ "ver": "0.18.2",
559
+ "Node name for S&R": "PreviewImage"
560
+ },
561
+ "widgets_values": []
562
+ },
563
+ {
564
+ "id": 23,
565
+ "type": "CLIPLoader",
566
+ "pos": [
567
+ 239.1186565991756,
568
+ 657.1514402079171
569
+ ],
570
+ "size": [
571
+ 270,
572
+ 106
573
+ ],
574
+ "flags": {},
575
+ "order": 3,
576
+ "mode": 0,
577
+ "inputs": [],
578
+ "outputs": [
579
+ {
580
+ "name": "CLIP",
581
+ "type": "CLIP",
582
+ "links": [
583
+ 25,
584
+ 26
585
+ ]
586
+ }
587
+ ],
588
+ "properties": {
589
+ "cnr_id": "comfy-core",
590
+ "ver": "0.11.0",
591
+ "Node name for S&R": "CLIPLoader"
592
+ },
593
+ "widgets_values": [
594
+ "qwen_3_4b.safetensors",
595
+ "stable_diffusion",
596
+ "default"
597
+ ]
598
+ },
599
+ {
600
+ "id": 13,
601
+ "type": "ModelPatchLoader",
602
+ "pos": [
603
+ 65.16434800585203,
604
+ 1282.1995134775584
605
+ ],
606
+ "size": [
607
+ 270,
608
+ 58
609
+ ],
610
+ "flags": {},
611
+ "order": 4,
612
+ "mode": 0,
613
+ "inputs": [],
614
+ "outputs": [
615
+ {
616
+ "name": "MODEL_PATCH",
617
+ "type": "MODEL_PATCH",
618
+ "links": [
619
+ 7
620
+ ]
621
+ }
622
+ ],
623
+ "properties": {
624
+ "cnr_id": "comfy-core",
625
+ "ver": "0.11.0",
626
+ "Node name for S&R": "ModelPatchLoader"
627
+ },
628
+ "widgets_values": [
629
+ "z-image-sam-controlnet.safetensors"
630
+ ]
631
+ },
632
+ {
633
+ "id": 22,
634
+ "type": "VAELoader",
635
+ "pos": [
636
+ 64.33552623336276,
637
+ 1397.8641386088798
638
+ ],
639
+ "size": [
640
+ 270,
641
+ 58
642
+ ],
643
+ "flags": {},
644
+ "order": 5,
645
+ "mode": 0,
646
+ "inputs": [],
647
+ "outputs": [
648
+ {
649
+ "name": "VAE",
650
+ "type": "VAE",
651
+ "links": [
652
+ 23,
653
+ 24
654
+ ]
655
+ }
656
+ ],
657
+ "properties": {
658
+ "cnr_id": "comfy-core",
659
+ "ver": "0.11.0",
660
+ "Node name for S&R": "VAELoader"
661
+ },
662
+ "widgets_values": [
663
+ "ae.safetensors"
664
+ ]
665
+ },
666
+ {
667
+ "id": 14,
668
+ "type": "CheckpointLoaderSimple",
669
+ "pos": [
670
+ 62.28036667683965,
671
+ 1120.527418531949
672
+ ],
673
+ "size": [
674
+ 270,
675
+ 98
676
+ ],
677
+ "flags": {},
678
+ "order": 6,
679
+ "mode": 0,
680
+ "inputs": [],
681
+ "outputs": [
682
+ {
683
+ "name": "MODEL",
684
+ "type": "MODEL",
685
+ "links": [
686
+ 8
687
+ ]
688
+ },
689
+ {
690
+ "name": "CLIP",
691
+ "type": "CLIP",
692
+ "links": []
693
+ },
694
+ {
695
+ "name": "VAE",
696
+ "type": "VAE",
697
+ "links": []
698
+ }
699
+ ],
700
+ "properties": {
701
+ "cnr_id": "comfy-core",
702
+ "ver": "0.11.0",
703
+ "Node name for S&R": "CheckpointLoaderSimple"
704
+ },
705
+ "widgets_values": [
706
+ "z_image_bf16.safetensors"
707
+ ]
708
+ },
709
+ {
710
+ "id": 18,
711
+ "type": "CLIPTextEncode",
712
+ "pos": [
713
+ 569.9770363494711,
714
+ 583.803168311876
715
+ ],
716
+ "size": [
717
+ 384.6283512791799,
718
+ 88
719
+ ],
720
+ "flags": {},
721
+ "order": 9,
722
+ "mode": 0,
723
+ "inputs": [
724
+ {
725
+ "name": "clip",
726
+ "type": "CLIP",
727
+ "link": 26
728
+ }
729
+ ],
730
+ "outputs": [
731
+ {
732
+ "name": "CONDITIONING",
733
+ "type": "CONDITIONING",
734
+ "links": [
735
+ 13
736
+ ]
737
+ }
738
+ ],
739
+ "properties": {
740
+ "cnr_id": "comfy-core",
741
+ "ver": "0.11.0",
742
+ "Node name for S&R": "CLIPTextEncode"
743
+ },
744
+ "widgets_values": [
745
+ "a man with frizzy hair smling"
746
+ ]
747
+ },
748
+ {
749
+ "id": 37,
750
+ "type": "ComfyMathExpression",
751
+ "pos": [
752
+ 94.60175085035121,
753
+ 1739.0769607013224
754
+ ],
755
+ "size": [
756
+ 210,
757
+ 128
758
+ ],
759
+ "flags": {},
760
+ "order": 12,
761
+ "mode": 0,
762
+ "inputs": [
763
+ {
764
+ "label": "a",
765
+ "name": "values.a",
766
+ "type": "FLOAT,INT",
767
+ "link": 50
768
+ },
769
+ {
770
+ "label": "b",
771
+ "name": "values.b",
772
+ "shape": 7,
773
+ "type": "FLOAT,INT",
774
+ "link": null
775
+ }
776
+ ],
777
+ "outputs": [
778
+ {
779
+ "name": "FLOAT",
780
+ "type": "FLOAT",
781
+ "links": null
782
+ },
783
+ {
784
+ "name": "INT",
785
+ "type": "INT",
786
+ "links": [
787
+ 52,
788
+ 55
789
+ ]
790
+ }
791
+ ],
792
+ "properties": {
793
+ "cnr_id": "comfy-core",
794
+ "ver": "0.18.2",
795
+ "Node name for S&R": "ComfyMathExpression"
796
+ },
797
+ "widgets_values": [
798
+ "a/16*16"
799
+ ]
800
+ },
801
+ {
802
+ "id": 38,
803
+ "type": "ComfyMathExpression",
804
+ "pos": [
805
+ 95.47662250911469,
806
+ 1889.2426788167184
807
+ ],
808
+ "size": [
809
+ 210,
810
+ 128
811
+ ],
812
+ "flags": {},
813
+ "order": 13,
814
+ "mode": 0,
815
+ "inputs": [
816
+ {
817
+ "label": "a",
818
+ "name": "values.a",
819
+ "type": "FLOAT,INT",
820
+ "link": 51
821
+ },
822
+ {
823
+ "label": "b",
824
+ "name": "values.b",
825
+ "shape": 7,
826
+ "type": "FLOAT,INT",
827
+ "link": null
828
+ }
829
+ ],
830
+ "outputs": [
831
+ {
832
+ "name": "FLOAT",
833
+ "type": "FLOAT",
834
+ "links": null
835
+ },
836
+ {
837
+ "name": "INT",
838
+ "type": "INT",
839
+ "links": [
840
+ 53,
841
+ 57
842
+ ]
843
+ }
844
+ ],
845
+ "properties": {
846
+ "cnr_id": "comfy-core",
847
+ "ver": "0.18.2",
848
+ "Node name for S&R": "ComfyMathExpression"
849
+ },
850
+ "widgets_values": [
851
+ "a/16*16"
852
+ ]
853
+ },
854
+ {
855
+ "id": 24,
856
+ "type": "EmptySD3LatentImage",
857
+ "pos": [
858
+ 860,
859
+ 1290
860
+ ],
861
+ "size": [
862
+ 270,
863
+ 106
864
+ ],
865
+ "flags": {},
866
+ "order": 15,
867
+ "mode": 0,
868
+ "inputs": [
869
+ {
870
+ "name": "width",
871
+ "type": "INT",
872
+ "widget": {
873
+ "name": "width"
874
+ },
875
+ "link": 55
876
+ },
877
+ {
878
+ "name": "height",
879
+ "type": "INT",
880
+ "widget": {
881
+ "name": "height"
882
+ },
883
+ "link": 57
884
+ }
885
+ ],
886
+ "outputs": [
887
+ {
888
+ "name": "LATENT",
889
+ "type": "LATENT",
890
+ "links": [
891
+ 40
892
+ ]
893
+ }
894
+ ],
895
+ "properties": {
896
+ "cnr_id": "comfy-core",
897
+ "ver": "0.11.0",
898
+ "Node name for S&R": "EmptySD3LatentImage"
899
+ },
900
+ "widgets_values": [
901
+ 1024,
902
+ 1024,
903
+ 1
904
+ ]
905
+ }
906
+ ],
907
+ "links": [
908
+ [
909
+ 7,
910
+ 13,
911
+ 0,
912
+ 11,
913
+ 1,
914
+ "MODEL_PATCH"
915
+ ],
916
+ [
917
+ 8,
918
+ 14,
919
+ 0,
920
+ 11,
921
+ 0,
922
+ "MODEL"
923
+ ],
924
+ [
925
+ 9,
926
+ 11,
927
+ 0,
928
+ 16,
929
+ 0,
930
+ "MODEL"
931
+ ],
932
+ [
933
+ 13,
934
+ 18,
935
+ 0,
936
+ 16,
937
+ 1,
938
+ "CONDITIONING"
939
+ ],
940
+ [
941
+ 18,
942
+ 19,
943
+ 0,
944
+ 16,
945
+ 2,
946
+ "CONDITIONING"
947
+ ],
948
+ [
949
+ 19,
950
+ 16,
951
+ 0,
952
+ 20,
953
+ 0,
954
+ "LATENT"
955
+ ],
956
+ [
957
+ 23,
958
+ 22,
959
+ 0,
960
+ 20,
961
+ 1,
962
+ "VAE"
963
+ ],
964
+ [
965
+ 24,
966
+ 22,
967
+ 0,
968
+ 11,
969
+ 2,
970
+ "VAE"
971
+ ],
972
+ [
973
+ 25,
974
+ 23,
975
+ 0,
976
+ 19,
977
+ 0,
978
+ "CLIP"
979
+ ],
980
+ [
981
+ 26,
982
+ 23,
983
+ 0,
984
+ 18,
985
+ 0,
986
+ "CLIP"
987
+ ],
988
+ [
989
+ 40,
990
+ 24,
991
+ 0,
992
+ 16,
993
+ 3,
994
+ "LATENT"
995
+ ],
996
+ [
997
+ 43,
998
+ 20,
999
+ 0,
1000
+ 30,
1001
+ 0,
1002
+ "IMAGE"
1003
+ ],
1004
+ [
1005
+ 45,
1006
+ 32,
1007
+ 1,
1008
+ 31,
1009
+ 0,
1010
+ "IMAGE"
1011
+ ],
1012
+ [
1013
+ 46,
1014
+ 34,
1015
+ 0,
1016
+ 32,
1017
+ 0,
1018
+ "SAM2MODEL"
1019
+ ],
1020
+ [
1021
+ 47,
1022
+ 33,
1023
+ 0,
1024
+ 32,
1025
+ 1,
1026
+ "IMAGE"
1027
+ ],
1028
+ [
1029
+ 48,
1030
+ 32,
1031
+ 1,
1032
+ 35,
1033
+ 0,
1034
+ "IMAGE"
1035
+ ],
1036
+ [
1037
+ 49,
1038
+ 32,
1039
+ 1,
1040
+ 36,
1041
+ 0,
1042
+ "IMAGE"
1043
+ ],
1044
+ [
1045
+ 50,
1046
+ 36,
1047
+ 0,
1048
+ 37,
1049
+ 0,
1050
+ "INT"
1051
+ ],
1052
+ [
1053
+ 51,
1054
+ 36,
1055
+ 1,
1056
+ 38,
1057
+ 0,
1058
+ "INT"
1059
+ ],
1060
+ [
1061
+ 52,
1062
+ 37,
1063
+ 1,
1064
+ 35,
1065
+ 1,
1066
+ "INT"
1067
+ ],
1068
+ [
1069
+ 53,
1070
+ 38,
1071
+ 1,
1072
+ 35,
1073
+ 2,
1074
+ "INT"
1075
+ ],
1076
+ [
1077
+ 54,
1078
+ 35,
1079
+ 0,
1080
+ 11,
1081
+ 3,
1082
+ "IMAGE"
1083
+ ],
1084
+ [
1085
+ 55,
1086
+ 37,
1087
+ 1,
1088
+ 24,
1089
+ 0,
1090
+ "INT"
1091
+ ],
1092
+ [
1093
+ 57,
1094
+ 38,
1095
+ 1,
1096
+ 24,
1097
+ 1,
1098
+ "INT"
1099
+ ]
1100
+ ],
1101
+ "groups": [
1102
+ {
1103
+ "id": 1,
1104
+ "title": "Or just load a pre-segmented image ( option B )",
1105
+ "bounding": [
1106
+ -1021.4742734497142,
1107
+ 2177.2007229832575,
1108
+ 643.4710093716204,
1109
+ 417.4186510216455
1110
+ ],
1111
+ "color": "#3f789e",
1112
+ "font_size": 24,
1113
+ "flags": {}
1114
+ },
1115
+ {
1116
+ "id": 2,
1117
+ "title": "Generate SAM Input From Photo ( option A )",
1118
+ "bounding": [
1119
+ -1365.3384764264254,
1120
+ 1346.08542801308,
1121
+ 978.4169452831359,
1122
+ 741.5984721278527
1123
+ ],
1124
+ "color": "#3f789e",
1125
+ "font_size": 24,
1126
+ "flags": {}
1127
+ },
1128
+ {
1129
+ "id": 3,
1130
+ "title": "Convert To Width/Height Divisible by 16",
1131
+ "bounding": [
1132
+ -117.27320618163911,
1133
+ 1665.4769607013225,
1134
+ 797.844990494262,
1135
+ 341.765718115396
1136
+ ],
1137
+ "color": "#3f789e",
1138
+ "font_size": 24,
1139
+ "flags": {}
1140
+ },
1141
+ {
1142
+ "id": 4,
1143
+ "title": "Load Models + ControlNet",
1144
+ "bounding": [
1145
+ 52.28036667683968,
1146
+ 1046.9274185319491,
1147
+ 643.7033482099464,
1148
+ 418.9367200769311
1149
+ ],
1150
+ "color": "#3f789e",
1151
+ "font_size": 24,
1152
+ "flags": {}
1153
+ },
1154
+ {
1155
+ "id": 5,
1156
+ "title": "Prompt",
1157
+ "bounding": [
1158
+ 224.8466693385037,
1159
+ 510.203168311877,
1160
+ 739.7587182901469,
1161
+ 335.464185764336
1162
+ ],
1163
+ "color": "#3f789e",
1164
+ "font_size": 24,
1165
+ "flags": {}
1166
+ },
1167
+ {
1168
+ "id": 6,
1169
+ "title": "Run ControlNet",
1170
+ "bounding": [
1171
+ 850,
1172
+ 986.4,
1173
+ 850,
1174
+ 587.6
1175
+ ],
1176
+ "color": "#3f789e",
1177
+ "font_size": 24,
1178
+ "flags": {}
1179
+ }
1180
+ ],
1181
+ "config": {},
1182
+ "extra": {
1183
+ "workflowRendererVersion": "LG",
1184
+ "ds": {
1185
+ "scale": 0.21705230211937868,
1186
+ "offset": [
1187
+ 3411.5599940756647,
1188
+ 562.9595312745586
1189
+ ]
1190
+ },
1191
+ "frontendVersion": "1.41.21",
1192
+ "VHS_latentpreview": false,
1193
+ "VHS_latentpreviewrate": 0,
1194
+ "VHS_MetadataImage": true,
1195
+ "VHS_KeepIntermediate": true
1196
+ },
1197
+ "version": 0.4
1198
+ }