neuralvfx commited on
Commit
f957a3f
·
verified ·
1 Parent(s): 41970e0

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": 43,
5
+ "last_link_id": 73,
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": 66
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": 7,
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": 30,
115
+ "type": "SaveImage",
116
+ "pos": [
117
+ 1792.9983147271168,
118
+ 1031.4138758775948
119
+ ],
120
+ "size": [
121
+ 963.738329965309,
122
+ 1146.7897439905723
123
+ ],
124
+ "flags": {},
125
+ "order": 19,
126
+ "mode": 0,
127
+ "inputs": [
128
+ {
129
+ "name": "images",
130
+ "type": "IMAGE",
131
+ "link": 43
132
+ }
133
+ ],
134
+ "outputs": [],
135
+ "properties": {
136
+ "cnr_id": "comfy-core",
137
+ "ver": "0.11.0",
138
+ "Node name for S&R": "SaveImage"
139
+ },
140
+ "widgets_values": [
141
+ "beach_sgmm_uniform"
142
+ ]
143
+ },
144
+ {
145
+ "id": 20,
146
+ "type": "VAEDecode",
147
+ "pos": [
148
+ 1543.1171210511807,
149
+ 1245.8377316181443
150
+ ],
151
+ "size": [
152
+ 140,
153
+ 46
154
+ ],
155
+ "flags": {},
156
+ "order": 18,
157
+ "mode": 0,
158
+ "inputs": [
159
+ {
160
+ "name": "samples",
161
+ "type": "LATENT",
162
+ "link": 19
163
+ },
164
+ {
165
+ "name": "vae",
166
+ "type": "VAE",
167
+ "link": 23
168
+ }
169
+ ],
170
+ "outputs": [
171
+ {
172
+ "name": "IMAGE",
173
+ "type": "IMAGE",
174
+ "links": [
175
+ 43
176
+ ]
177
+ }
178
+ ],
179
+ "properties": {
180
+ "cnr_id": "comfy-core",
181
+ "ver": "0.11.0",
182
+ "Node name for S&R": "VAEDecode"
183
+ },
184
+ "widgets_values": []
185
+ },
186
+ {
187
+ "id": 15,
188
+ "type": "LoadImage",
189
+ "pos": [
190
+ -821.0957409457342,
191
+ 2280.5309684912636
192
+ ],
193
+ "size": [
194
+ 282.798828125,
195
+ 314
196
+ ],
197
+ "flags": {},
198
+ "order": 0,
199
+ "mode": 0,
200
+ "inputs": [],
201
+ "outputs": [
202
+ {
203
+ "name": "IMAGE",
204
+ "type": "IMAGE",
205
+ "links": []
206
+ },
207
+ {
208
+ "name": "MASK",
209
+ "type": "MASK",
210
+ "links": null
211
+ }
212
+ ],
213
+ "properties": {
214
+ "cnr_id": "comfy-core",
215
+ "ver": "0.11.0",
216
+ "Node name for S&R": "LoadImage"
217
+ },
218
+ "widgets_values": [
219
+ "z-image.png",
220
+ "image"
221
+ ]
222
+ },
223
+ {
224
+ "id": 23,
225
+ "type": "CLIPLoader",
226
+ "pos": [
227
+ 239.1186565991756,
228
+ 657.1514402079171
229
+ ],
230
+ "size": [
231
+ 270,
232
+ 106
233
+ ],
234
+ "flags": {},
235
+ "order": 1,
236
+ "mode": 0,
237
+ "inputs": [],
238
+ "outputs": [
239
+ {
240
+ "name": "CLIP",
241
+ "type": "CLIP",
242
+ "links": [
243
+ 25,
244
+ 26
245
+ ]
246
+ }
247
+ ],
248
+ "properties": {
249
+ "cnr_id": "comfy-core",
250
+ "ver": "0.11.0",
251
+ "Node name for S&R": "CLIPLoader"
252
+ },
253
+ "widgets_values": [
254
+ "qwen_3_4b.safetensors",
255
+ "stable_diffusion",
256
+ "default"
257
+ ]
258
+ },
259
+ {
260
+ "id": 13,
261
+ "type": "ModelPatchLoader",
262
+ "pos": [
263
+ 65.16434800585203,
264
+ 1282.1995134775584
265
+ ],
266
+ "size": [
267
+ 270,
268
+ 58
269
+ ],
270
+ "flags": {},
271
+ "order": 2,
272
+ "mode": 0,
273
+ "inputs": [],
274
+ "outputs": [
275
+ {
276
+ "name": "MODEL_PATCH",
277
+ "type": "MODEL_PATCH",
278
+ "links": [
279
+ 7
280
+ ]
281
+ }
282
+ ],
283
+ "properties": {
284
+ "cnr_id": "comfy-core",
285
+ "ver": "0.11.0",
286
+ "Node name for S&R": "ModelPatchLoader"
287
+ },
288
+ "widgets_values": [
289
+ "z-image-sam-controlnet.safetensors"
290
+ ]
291
+ },
292
+ {
293
+ "id": 22,
294
+ "type": "VAELoader",
295
+ "pos": [
296
+ 64.33552623336276,
297
+ 1397.8641386088798
298
+ ],
299
+ "size": [
300
+ 270,
301
+ 58
302
+ ],
303
+ "flags": {},
304
+ "order": 3,
305
+ "mode": 0,
306
+ "inputs": [],
307
+ "outputs": [
308
+ {
309
+ "name": "VAE",
310
+ "type": "VAE",
311
+ "links": [
312
+ 23,
313
+ 24
314
+ ]
315
+ }
316
+ ],
317
+ "properties": {
318
+ "cnr_id": "comfy-core",
319
+ "ver": "0.11.0",
320
+ "Node name for S&R": "VAELoader"
321
+ },
322
+ "widgets_values": [
323
+ "ae.safetensors"
324
+ ]
325
+ },
326
+ {
327
+ "id": 14,
328
+ "type": "CheckpointLoaderSimple",
329
+ "pos": [
330
+ 62.28036667683965,
331
+ 1120.527418531949
332
+ ],
333
+ "size": [
334
+ 270,
335
+ 98
336
+ ],
337
+ "flags": {},
338
+ "order": 4,
339
+ "mode": 0,
340
+ "inputs": [],
341
+ "outputs": [
342
+ {
343
+ "name": "MODEL",
344
+ "type": "MODEL",
345
+ "links": [
346
+ 8
347
+ ]
348
+ },
349
+ {
350
+ "name": "CLIP",
351
+ "type": "CLIP",
352
+ "links": []
353
+ },
354
+ {
355
+ "name": "VAE",
356
+ "type": "VAE",
357
+ "links": []
358
+ }
359
+ ],
360
+ "properties": {
361
+ "cnr_id": "comfy-core",
362
+ "ver": "0.11.0",
363
+ "Node name for S&R": "CheckpointLoaderSimple"
364
+ },
365
+ "widgets_values": [
366
+ "z_image_bf16.safetensors"
367
+ ]
368
+ },
369
+ {
370
+ "id": 18,
371
+ "type": "CLIPTextEncode",
372
+ "pos": [
373
+ 569.9770363494711,
374
+ 583.803168311876
375
+ ],
376
+ "size": [
377
+ 384.6283512791799,
378
+ 88
379
+ ],
380
+ "flags": {},
381
+ "order": 8,
382
+ "mode": 0,
383
+ "inputs": [
384
+ {
385
+ "name": "clip",
386
+ "type": "CLIP",
387
+ "link": 26
388
+ }
389
+ ],
390
+ "outputs": [
391
+ {
392
+ "name": "CONDITIONING",
393
+ "type": "CONDITIONING",
394
+ "links": [
395
+ 13
396
+ ]
397
+ }
398
+ ],
399
+ "properties": {
400
+ "cnr_id": "comfy-core",
401
+ "ver": "0.11.0",
402
+ "Node name for S&R": "CLIPTextEncode"
403
+ },
404
+ "widgets_values": [
405
+ "a man with frizzy hair smling"
406
+ ]
407
+ },
408
+ {
409
+ "id": 24,
410
+ "type": "EmptySD3LatentImage",
411
+ "pos": [
412
+ 853.1171210511798,
413
+ 1475.8377316181443
414
+ ],
415
+ "size": [
416
+ 270,
417
+ 106
418
+ ],
419
+ "flags": {},
420
+ "order": 12,
421
+ "mode": 0,
422
+ "inputs": [
423
+ {
424
+ "name": "width",
425
+ "type": "INT",
426
+ "widget": {
427
+ "name": "width"
428
+ },
429
+ "link": 73
430
+ },
431
+ {
432
+ "name": "height",
433
+ "type": "INT",
434
+ "widget": {
435
+ "name": "height"
436
+ },
437
+ "link": 72
438
+ }
439
+ ],
440
+ "outputs": [
441
+ {
442
+ "name": "LATENT",
443
+ "type": "LATENT",
444
+ "links": [
445
+ 40
446
+ ]
447
+ }
448
+ ],
449
+ "properties": {
450
+ "cnr_id": "comfy-core",
451
+ "ver": "0.11.0",
452
+ "Node name for S&R": "EmptySD3LatentImage"
453
+ },
454
+ "widgets_values": [
455
+ 1024,
456
+ 1024,
457
+ 1
458
+ ]
459
+ },
460
+ {
461
+ "id": 35,
462
+ "type": "ResizeAndPadImage",
463
+ "pos": [
464
+ -1238.1721546517392,
465
+ 1946.865888773204
466
+ ],
467
+ "size": [
468
+ 270,
469
+ 130
470
+ ],
471
+ "flags": {},
472
+ "order": 13,
473
+ "mode": 0,
474
+ "inputs": [
475
+ {
476
+ "name": "image",
477
+ "type": "IMAGE",
478
+ "link": 67
479
+ },
480
+ {
481
+ "name": "target_width",
482
+ "type": "INT",
483
+ "widget": {
484
+ "name": "target_width"
485
+ },
486
+ "link": 69
487
+ },
488
+ {
489
+ "name": "target_height",
490
+ "type": "INT",
491
+ "widget": {
492
+ "name": "target_height"
493
+ },
494
+ "link": 71
495
+ }
496
+ ],
497
+ "outputs": [
498
+ {
499
+ "name": "IMAGE",
500
+ "type": "IMAGE",
501
+ "links": [
502
+ 65
503
+ ]
504
+ }
505
+ ],
506
+ "properties": {
507
+ "cnr_id": "comfy-core",
508
+ "ver": "0.18.2",
509
+ "Node name for S&R": "ResizeAndPadImage"
510
+ },
511
+ "widgets_values": [
512
+ 512,
513
+ 512,
514
+ "white",
515
+ "area"
516
+ ]
517
+ },
518
+ {
519
+ "id": 32,
520
+ "type": "Sam2AutoSegmentation",
521
+ "pos": [
522
+ -730.1928828173537,
523
+ 1316.2557006991372
524
+ ],
525
+ "size": [
526
+ 348.740234375,
527
+ 410
528
+ ],
529
+ "flags": {},
530
+ "order": 14,
531
+ "mode": 0,
532
+ "inputs": [
533
+ {
534
+ "name": "sam2_model",
535
+ "type": "SAM2MODEL",
536
+ "link": 46
537
+ },
538
+ {
539
+ "name": "image",
540
+ "type": "IMAGE",
541
+ "link": 65
542
+ }
543
+ ],
544
+ "outputs": [
545
+ {
546
+ "name": "mask",
547
+ "type": "MASK",
548
+ "links": null
549
+ },
550
+ {
551
+ "name": "segmented_image",
552
+ "type": "IMAGE",
553
+ "links": [
554
+ 45,
555
+ 66
556
+ ]
557
+ },
558
+ {
559
+ "name": "bbox",
560
+ "type": "BBOX",
561
+ "links": null
562
+ }
563
+ ],
564
+ "properties": {
565
+ "cnr_id": "comfyui-segment-anything-2",
566
+ "ver": "1.0.2",
567
+ "Node name for S&R": "Sam2AutoSegmentation"
568
+ },
569
+ "widgets_values": [
570
+ 32,
571
+ 64,
572
+ 0.8,
573
+ 0.95,
574
+ 1,
575
+ 0,
576
+ 0,
577
+ 0.7,
578
+ 0.7,
579
+ 0.34,
580
+ 1,
581
+ 0,
582
+ false,
583
+ true
584
+ ]
585
+ },
586
+ {
587
+ "id": 33,
588
+ "type": "LoadImage",
589
+ "pos": [
590
+ -2083.9672274099844,
591
+ 1472.5254927317606
592
+ ],
593
+ "size": [
594
+ 282.798828125,
595
+ 314.0000000000001
596
+ ],
597
+ "flags": {},
598
+ "order": 5,
599
+ "mode": 0,
600
+ "inputs": [],
601
+ "outputs": [
602
+ {
603
+ "name": "IMAGE",
604
+ "type": "IMAGE",
605
+ "links": [
606
+ 64,
607
+ 67
608
+ ]
609
+ },
610
+ {
611
+ "name": "MASK",
612
+ "type": "MASK",
613
+ "links": null
614
+ }
615
+ ],
616
+ "properties": {
617
+ "cnr_id": "comfy-core",
618
+ "ver": "0.18.2",
619
+ "Node name for S&R": "LoadImage"
620
+ },
621
+ "widgets_values": [
622
+ "dread_girl_seed_2x_39.png",
623
+ "image"
624
+ ]
625
+ },
626
+ {
627
+ "id": 34,
628
+ "type": "DownloadAndLoadSAM2Model",
629
+ "pos": [
630
+ -1121.7861397212728,
631
+ 1149.4637473707248
632
+ ],
633
+ "size": [
634
+ 270,
635
+ 130
636
+ ],
637
+ "flags": {},
638
+ "order": 6,
639
+ "mode": 0,
640
+ "inputs": [],
641
+ "outputs": [
642
+ {
643
+ "name": "sam2_model",
644
+ "type": "SAM2MODEL",
645
+ "links": [
646
+ 46
647
+ ]
648
+ }
649
+ ],
650
+ "properties": {
651
+ "cnr_id": "comfyui-segment-anything-2",
652
+ "ver": "1.0.2",
653
+ "Node name for S&R": "DownloadAndLoadSAM2Model"
654
+ },
655
+ "widgets_values": [
656
+ "sam2_hiera_base_plus.safetensors",
657
+ "automaskgenerator",
658
+ "cuda",
659
+ "fp16"
660
+ ]
661
+ },
662
+ {
663
+ "id": 36,
664
+ "type": "GetImageSize",
665
+ "pos": [
666
+ -1746.017145146,
667
+ 1967.0669951317168
668
+ ],
669
+ "size": [
670
+ 140,
671
+ 124.00000000000023
672
+ ],
673
+ "flags": {},
674
+ "order": 9,
675
+ "mode": 0,
676
+ "inputs": [
677
+ {
678
+ "name": "image",
679
+ "type": "IMAGE",
680
+ "link": 64
681
+ }
682
+ ],
683
+ "outputs": [
684
+ {
685
+ "name": "width",
686
+ "type": "INT",
687
+ "links": [
688
+ 68,
689
+ 73
690
+ ]
691
+ },
692
+ {
693
+ "name": "height",
694
+ "type": "INT",
695
+ "links": [
696
+ 70,
697
+ 72
698
+ ]
699
+ },
700
+ {
701
+ "name": "batch_size",
702
+ "type": "INT",
703
+ "links": null
704
+ }
705
+ ],
706
+ "properties": {
707
+ "cnr_id": "comfy-core",
708
+ "ver": "0.18.2",
709
+ "Node name for S&R": "GetImageSize"
710
+ },
711
+ "widgets_values": []
712
+ },
713
+ {
714
+ "id": 42,
715
+ "type": "ComfyMathExpression",
716
+ "pos": [
717
+ -1531.0935930361586,
718
+ 1898.417099480822
719
+ ],
720
+ "size": [
721
+ 213.8494156578413,
722
+ 108
723
+ ],
724
+ "flags": {},
725
+ "order": 10,
726
+ "mode": 0,
727
+ "inputs": [
728
+ {
729
+ "label": "a",
730
+ "name": "values.a",
731
+ "type": "FLOAT,INT",
732
+ "link": 68
733
+ },
734
+ {
735
+ "label": "b",
736
+ "name": "values.b",
737
+ "shape": 7,
738
+ "type": "FLOAT,INT",
739
+ "link": null
740
+ }
741
+ ],
742
+ "outputs": [
743
+ {
744
+ "name": "FLOAT",
745
+ "type": "FLOAT",
746
+ "links": null
747
+ },
748
+ {
749
+ "name": "INT",
750
+ "type": "INT",
751
+ "links": [
752
+ 69
753
+ ]
754
+ }
755
+ ],
756
+ "properties": {
757
+ "cnr_id": "comfy-core",
758
+ "ver": "0.18.1",
759
+ "Node name for S&R": "ComfyMathExpression"
760
+ },
761
+ "widgets_values": [
762
+ "a/16*16"
763
+ ]
764
+ },
765
+ {
766
+ "id": 43,
767
+ "type": "ComfyMathExpression",
768
+ "pos": [
769
+ -1532.8751424757495,
770
+ 2042.2495505586323
771
+ ],
772
+ "size": [
773
+ 213.8494156578413,
774
+ 108
775
+ ],
776
+ "flags": {},
777
+ "order": 11,
778
+ "mode": 0,
779
+ "inputs": [
780
+ {
781
+ "label": "a",
782
+ "name": "values.a",
783
+ "type": "FLOAT,INT",
784
+ "link": 70
785
+ },
786
+ {
787
+ "label": "b",
788
+ "name": "values.b",
789
+ "shape": 7,
790
+ "type": "FLOAT,INT",
791
+ "link": null
792
+ }
793
+ ],
794
+ "outputs": [
795
+ {
796
+ "name": "FLOAT",
797
+ "type": "FLOAT",
798
+ "links": null
799
+ },
800
+ {
801
+ "name": "INT",
802
+ "type": "INT",
803
+ "links": [
804
+ 71
805
+ ]
806
+ }
807
+ ],
808
+ "properties": {
809
+ "cnr_id": "comfy-core",
810
+ "ver": "0.18.1",
811
+ "Node name for S&R": "ComfyMathExpression"
812
+ },
813
+ "widgets_values": [
814
+ "a/16*16"
815
+ ]
816
+ },
817
+ {
818
+ "id": 31,
819
+ "type": "PreviewImage",
820
+ "pos": [
821
+ -99.58155915825408,
822
+ 1765.1282497806278
823
+ ],
824
+ "size": [
825
+ 324.69567229615086,
826
+ 300.83144858776404
827
+ ],
828
+ "flags": {},
829
+ "order": 15,
830
+ "mode": 0,
831
+ "inputs": [
832
+ {
833
+ "name": "images",
834
+ "type": "IMAGE",
835
+ "link": 45
836
+ }
837
+ ],
838
+ "outputs": [],
839
+ "properties": {
840
+ "cnr_id": "comfy-core",
841
+ "ver": "0.18.2",
842
+ "Node name for S&R": "PreviewImage"
843
+ },
844
+ "widgets_values": []
845
+ },
846
+ {
847
+ "id": 16,
848
+ "type": "KSampler",
849
+ "pos": [
850
+ 1193.1171210511807,
851
+ 1275.8377316181443
852
+ ],
853
+ "size": [
854
+ 270,
855
+ 474
856
+ ],
857
+ "flags": {},
858
+ "order": 17,
859
+ "mode": 0,
860
+ "inputs": [
861
+ {
862
+ "name": "model",
863
+ "type": "MODEL",
864
+ "link": 9
865
+ },
866
+ {
867
+ "name": "positive",
868
+ "type": "CONDITIONING",
869
+ "link": 13
870
+ },
871
+ {
872
+ "name": "negative",
873
+ "type": "CONDITIONING",
874
+ "link": 18
875
+ },
876
+ {
877
+ "name": "latent_image",
878
+ "type": "LATENT",
879
+ "link": 40
880
+ }
881
+ ],
882
+ "outputs": [
883
+ {
884
+ "name": "LATENT",
885
+ "type": "LATENT",
886
+ "links": [
887
+ 19
888
+ ]
889
+ }
890
+ ],
891
+ "properties": {
892
+ "cnr_id": "comfy-core",
893
+ "ver": "0.11.0",
894
+ "Node name for S&R": "KSampler"
895
+ },
896
+ "widgets_values": [
897
+ 43,
898
+ "fixed",
899
+ 50,
900
+ 4,
901
+ "euler",
902
+ "normal",
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
+ 64,
1022
+ 33,
1023
+ 0,
1024
+ 36,
1025
+ 0,
1026
+ "IMAGE"
1027
+ ],
1028
+ [
1029
+ 65,
1030
+ 35,
1031
+ 0,
1032
+ 32,
1033
+ 1,
1034
+ "IMAGE"
1035
+ ],
1036
+ [
1037
+ 66,
1038
+ 32,
1039
+ 1,
1040
+ 11,
1041
+ 3,
1042
+ "IMAGE"
1043
+ ],
1044
+ [
1045
+ 67,
1046
+ 33,
1047
+ 0,
1048
+ 35,
1049
+ 0,
1050
+ "IMAGE"
1051
+ ],
1052
+ [
1053
+ 68,
1054
+ 36,
1055
+ 0,
1056
+ 42,
1057
+ 0,
1058
+ "INT"
1059
+ ],
1060
+ [
1061
+ 69,
1062
+ 42,
1063
+ 1,
1064
+ 35,
1065
+ 1,
1066
+ "INT"
1067
+ ],
1068
+ [
1069
+ 70,
1070
+ 36,
1071
+ 1,
1072
+ 43,
1073
+ 0,
1074
+ "INT"
1075
+ ],
1076
+ [
1077
+ 71,
1078
+ 43,
1079
+ 1,
1080
+ 35,
1081
+ 2,
1082
+ "INT"
1083
+ ],
1084
+ [
1085
+ 72,
1086
+ 36,
1087
+ 1,
1088
+ 24,
1089
+ 1,
1090
+ "INT"
1091
+ ],
1092
+ [
1093
+ 73,
1094
+ 36,
1095
+ 0,
1096
+ 24,
1097
+ 0,
1098
+ "INT"
1099
+ ]
1100
+ ],
1101
+ "groups": [
1102
+ {
1103
+ "id": 1,
1104
+ "title": "Or just load a pre-segmented image ( option B )",
1105
+ "bounding": [
1106
+ -858.0058984152329,
1107
+ 2192.6872006181025,
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
+ -1233.4855158200974,
1120
+ 1007.0349578825226,
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
+ -1756.0171451459996,
1133
+ 1802.5621816491716,
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
+ 843.1171210511798,
1172
+ 1172.2377316181446,
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.2142042846133109,
1186
+ "offset": [
1187
+ 7112.917888254777,
1188
+ 2549.742179630888
1189
+ ]
1190
+ },
1191
+ "frontendVersion": "1.42.8",
1192
+ "VHS_latentpreview": false,
1193
+ "VHS_latentpreviewrate": 0,
1194
+ "VHS_MetadataImage": true,
1195
+ "VHS_KeepIntermediate": true
1196
+ },
1197
+ "version": 0.4
1198
+ }