svjack commited on
Commit
e58adc7
·
verified ·
1 Parent(s): 2fb37ba

Upload qwen_image_edit_relight.json

Browse files
Files changed (1) hide show
  1. qwen_image_edit_relight.json +1355 -0
qwen_image_edit_relight.json ADDED
@@ -0,0 +1,1355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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21
+ "inputs": [
22
+ {
23
+ "name": "model",
24
+ "type": "MODEL",
25
+ "link": 141
26
+ }
27
+ ],
28
+ "outputs": [
29
+ {
30
+ "name": "patched_model",
31
+ "type": "MODEL",
32
+ "links": [
33
+ 186
34
+ ]
35
+ }
36
+ ],
37
+ "properties": {
38
+ "cnr_id": "comfy-core",
39
+ "ver": "0.3.50",
40
+ "Node name for S&R": "CFGNorm",
41
+ "enableTabs": false,
42
+ "tabWidth": 65,
43
+ "tabXOffset": 10,
44
+ "hasSecondTab": false,
45
+ "secondTabText": "Send Back",
46
+ "secondTabOffset": 80,
47
+ "secondTabWidth": 65,
48
+ "ue_properties": {
49
+ "widget_ue_connectable": {
50
+ "strength": true
51
+ }
52
+ }
53
+ },
54
+ "widgets_values": [
55
+ 1
56
+ ]
57
+ },
58
+ {
59
+ "id": 66,
60
+ "type": "ModelSamplingAuraFlow",
61
+ "pos": [
62
+ 550,
63
+ 20
64
+ ],
65
+ "size": [
66
+ 290,
67
+ 60
68
+ ],
69
+ "flags": {},
70
+ "order": 17,
71
+ "mode": 0,
72
+ "inputs": [
73
+ {
74
+ "name": "model",
75
+ "type": "MODEL",
76
+ "link": 185
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "MODEL",
82
+ "type": "MODEL",
83
+ "links": [
84
+ 141
85
+ ]
86
+ }
87
+ ],
88
+ "properties": {
89
+ "cnr_id": "comfy-core",
90
+ "ver": "0.3.48",
91
+ "Node name for S&R": "ModelSamplingAuraFlow",
92
+ "enableTabs": false,
93
+ "tabWidth": 65,
94
+ "tabXOffset": 10,
95
+ "hasSecondTab": false,
96
+ "secondTabText": "Send Back",
97
+ "secondTabOffset": 80,
98
+ "secondTabWidth": 65,
99
+ "widget_ue_connectable": {}
100
+ },
101
+ "widgets_values": [
102
+ 3
103
+ ]
104
+ },
105
+ {
106
+ "id": 97,
107
+ "type": "MarkdownNote",
108
+ "pos": [
109
+ 930.5082397460938,
110
+ 975.0585327148438
111
+ ],
112
+ "size": [
113
+ 300,
114
+ 190
115
+ ],
116
+ "flags": {},
117
+ "order": 0,
118
+ "mode": 0,
119
+ "inputs": [],
120
+ "outputs": [],
121
+ "title": "KSampler settings",
122
+ "properties": {},
123
+ "widgets_values": [
124
+ "You can test and find the best setting by yourself. The following table is for reference.\n\n| Model | Steps | CFG |\n|---------------------|---------------|---------------|\n| Offical | 50 | 4.0 \n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |\n"
125
+ ],
126
+ "color": "#432",
127
+ "bgcolor": "#653"
128
+ },
129
+ {
130
+ "id": 88,
131
+ "type": "VAEEncode",
132
+ "pos": [
133
+ 361.6141357421875,
134
+ 654.3713989257812
135
+ ],
136
+ "size": [
137
+ 140,
138
+ 46
139
+ ],
140
+ "flags": {},
141
+ "order": 14,
142
+ "mode": 0,
143
+ "inputs": [
144
+ {
145
+ "name": "pixels",
146
+ "type": "IMAGE",
147
+ "link": 178
148
+ },
149
+ {
150
+ "name": "vae",
151
+ "type": "VAE",
152
+ "link": 168
153
+ }
154
+ ],
155
+ "outputs": [
156
+ {
157
+ "name": "LATENT",
158
+ "type": "LATENT",
159
+ "links": [
160
+ 197
161
+ ]
162
+ }
163
+ ],
164
+ "properties": {
165
+ "cnr_id": "comfy-core",
166
+ "ver": "0.3.50",
167
+ "Node name for S&R": "VAEEncode",
168
+ "enableTabs": false,
169
+ "tabWidth": 65,
170
+ "tabXOffset": 10,
171
+ "hasSecondTab": false,
172
+ "secondTabText": "Send Back",
173
+ "secondTabOffset": 80,
174
+ "secondTabWidth": 65,
175
+ "ue_properties": {
176
+ "widget_ue_connectable": {}
177
+ }
178
+ },
179
+ "widgets_values": []
180
+ },
181
+ {
182
+ "id": 93,
183
+ "type": "ImageScaleToTotalPixels",
184
+ "pos": [
185
+ 103.77090454101562,
186
+ 947.3034057617188
187
+ ],
188
+ "size": [
189
+ 270,
190
+ 82
191
+ ],
192
+ "flags": {},
193
+ "order": 11,
194
+ "mode": 0,
195
+ "inputs": [
196
+ {
197
+ "name": "image",
198
+ "type": "IMAGE",
199
+ "link": 219
200
+ }
201
+ ],
202
+ "outputs": [
203
+ {
204
+ "name": "IMAGE",
205
+ "type": "IMAGE",
206
+ "links": [
207
+ 178,
208
+ 179,
209
+ 180
210
+ ]
211
+ }
212
+ ],
213
+ "properties": {
214
+ "cnr_id": "comfy-core",
215
+ "ver": "0.3.50",
216
+ "Node name for S&R": "ImageScaleToTotalPixels",
217
+ "enableTabs": false,
218
+ "tabWidth": 65,
219
+ "tabXOffset": 10,
220
+ "hasSecondTab": false,
221
+ "secondTabText": "Send Back",
222
+ "secondTabOffset": 80,
223
+ "secondTabWidth": 65,
224
+ "ue_properties": {
225
+ "widget_ue_connectable": {
226
+ "upscale_method": true,
227
+ "megapixels": true
228
+ }
229
+ }
230
+ },
231
+ "widgets_values": [
232
+ "nearest-exact",
233
+ 1
234
+ ]
235
+ },
236
+ {
237
+ "id": 60,
238
+ "type": "SaveImage",
239
+ "pos": [
240
+ 890,
241
+ 240
242
+ ],
243
+ "size": [
244
+ 580,
245
+ 650
246
+ ],
247
+ "flags": {},
248
+ "order": 22,
249
+ "mode": 0,
250
+ "inputs": [
251
+ {
252
+ "name": "images",
253
+ "type": "IMAGE",
254
+ "link": 110
255
+ }
256
+ ],
257
+ "outputs": [],
258
+ "properties": {
259
+ "cnr_id": "comfy-core",
260
+ "ver": "0.3.48",
261
+ "Node name for S&R": "SaveImage",
262
+ "enableTabs": false,
263
+ "tabWidth": 65,
264
+ "tabXOffset": 10,
265
+ "hasSecondTab": false,
266
+ "secondTabText": "Send Back",
267
+ "secondTabOffset": 80,
268
+ "secondTabWidth": 65,
269
+ "widget_ue_connectable": {}
270
+ },
271
+ "widgets_values": [
272
+ "ComfyUI"
273
+ ]
274
+ },
275
+ {
276
+ "id": 110,
277
+ "type": "LatentUpscale",
278
+ "pos": [
279
+ 523.722900390625,
280
+ 783.0426025390625
281
+ ],
282
+ "size": [
283
+ 270,
284
+ 130
285
+ ],
286
+ "flags": {},
287
+ "order": 18,
288
+ "mode": 4,
289
+ "inputs": [
290
+ {
291
+ "name": "samples",
292
+ "type": "LATENT",
293
+ "link": 197
294
+ }
295
+ ],
296
+ "outputs": [
297
+ {
298
+ "name": "LATENT",
299
+ "type": "LATENT",
300
+ "links": [
301
+ 198
302
+ ]
303
+ }
304
+ ],
305
+ "properties": {
306
+ "cnr_id": "comfy-core",
307
+ "ver": "0.3.50",
308
+ "Node name for S&R": "LatentUpscale"
309
+ },
310
+ "widgets_values": [
311
+ "nearest-exact",
312
+ 1280,
313
+ 1280,
314
+ "disabled"
315
+ ]
316
+ },
317
+ {
318
+ "id": 37,
319
+ "type": "UNETLoader",
320
+ "pos": [
321
+ -250,
322
+ 30
323
+ ],
324
+ "size": [
325
+ 330,
326
+ 90
327
+ ],
328
+ "flags": {},
329
+ "order": 1,
330
+ "mode": 0,
331
+ "inputs": [],
332
+ "outputs": [
333
+ {
334
+ "name": "MODEL",
335
+ "type": "MODEL",
336
+ "slot_index": 0,
337
+ "links": [
338
+ 187
339
+ ]
340
+ }
341
+ ],
342
+ "properties": {
343
+ "cnr_id": "comfy-core",
344
+ "ver": "0.3.48",
345
+ "Node name for S&R": "UNETLoader",
346
+ "models": [
347
+ {
348
+ "name": "qwen_image_edit_fp8_e4m3fn.safetensors",
349
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp8_e4m3fn.safetensors",
350
+ "directory": "diffusion_models"
351
+ }
352
+ ],
353
+ "enableTabs": false,
354
+ "tabWidth": 65,
355
+ "tabXOffset": 10,
356
+ "hasSecondTab": false,
357
+ "secondTabText": "Send Back",
358
+ "secondTabOffset": 80,
359
+ "secondTabWidth": 65,
360
+ "widget_ue_connectable": {}
361
+ },
362
+ "widgets_values": [
363
+ "qwen_image_edit_fp8_e4m3fn.safetensors",
364
+ "default"
365
+ ]
366
+ },
367
+ {
368
+ "id": 38,
369
+ "type": "CLIPLoader",
370
+ "pos": [
371
+ -250,
372
+ 170
373
+ ],
374
+ "size": [
375
+ 330,
376
+ 110
377
+ ],
378
+ "flags": {},
379
+ "order": 2,
380
+ "mode": 0,
381
+ "inputs": [],
382
+ "outputs": [
383
+ {
384
+ "name": "CLIP",
385
+ "type": "CLIP",
386
+ "slot_index": 0,
387
+ "links": [
388
+ 131,
389
+ 132
390
+ ]
391
+ }
392
+ ],
393
+ "properties": {
394
+ "cnr_id": "comfy-core",
395
+ "ver": "0.3.48",
396
+ "Node name for S&R": "CLIPLoader",
397
+ "models": [
398
+ {
399
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
400
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
401
+ "directory": "text_encoders"
402
+ }
403
+ ],
404
+ "enableTabs": false,
405
+ "tabWidth": 65,
406
+ "tabXOffset": 10,
407
+ "hasSecondTab": false,
408
+ "secondTabText": "Send Back",
409
+ "secondTabOffset": 80,
410
+ "secondTabWidth": 65,
411
+ "widget_ue_connectable": {}
412
+ },
413
+ "widgets_values": [
414
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
415
+ "qwen_image",
416
+ "default"
417
+ ]
418
+ },
419
+ {
420
+ "id": 39,
421
+ "type": "VAELoader",
422
+ "pos": [
423
+ -250,
424
+ 330
425
+ ],
426
+ "size": [
427
+ 330,
428
+ 60
429
+ ],
430
+ "flags": {},
431
+ "order": 3,
432
+ "mode": 0,
433
+ "inputs": [],
434
+ "outputs": [
435
+ {
436
+ "name": "VAE",
437
+ "type": "VAE",
438
+ "slot_index": 0,
439
+ "links": [
440
+ 76,
441
+ 161,
442
+ 162,
443
+ 168
444
+ ]
445
+ }
446
+ ],
447
+ "properties": {
448
+ "cnr_id": "comfy-core",
449
+ "ver": "0.3.48",
450
+ "Node name for S&R": "VAELoader",
451
+ "models": [
452
+ {
453
+ "name": "qwen_image_vae.safetensors",
454
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
455
+ "directory": "vae"
456
+ }
457
+ ],
458
+ "enableTabs": false,
459
+ "tabWidth": 65,
460
+ "tabXOffset": 10,
461
+ "hasSecondTab": false,
462
+ "secondTabText": "Send Back",
463
+ "secondTabOffset": 80,
464
+ "secondTabWidth": 65,
465
+ "widget_ue_connectable": {}
466
+ },
467
+ "widgets_values": [
468
+ "wan_2.1_vae.safetensors"
469
+ ]
470
+ },
471
+ {
472
+ "id": 99,
473
+ "type": "MarkdownNote",
474
+ "pos": [
475
+ -830,
476
+ -10
477
+ ],
478
+ "size": [
479
+ 540,
480
+ 550
481
+ ],
482
+ "flags": {},
483
+ "order": 4,
484
+ "mode": 0,
485
+ "inputs": [],
486
+ "outputs": [],
487
+ "title": "Model links",
488
+ "properties": {
489
+ "widget_ue_connectable": {}
490
+ },
491
+ "widgets_values": [
492
+ "[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image-edit) | [教程](https://docs.comfy.org/zh-CN/tutorials/image/qwen/qwen-image-edit)\n\n\n## Model links\n\nYou can find all the models on [Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) and [Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI) \n\n**Diffusion model**\n\n- [qwen_image_edit_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp8_e4m3fn.safetensors)\n\n**LoRA**\n\n- [Qwen-Image-Lightning-4steps-V1.0.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**VAE**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── qwen_image_edit_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-4steps-V1.0.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
493
+ ],
494
+ "color": "#432",
495
+ "bgcolor": "#653"
496
+ },
497
+ {
498
+ "id": 77,
499
+ "type": "TextEncodeQwenImageEdit",
500
+ "pos": [
501
+ 140,
502
+ 400
503
+ ],
504
+ "size": [
505
+ 360,
506
+ 150
507
+ ],
508
+ "flags": {},
509
+ "order": 16,
510
+ "mode": 0,
511
+ "inputs": [
512
+ {
513
+ "name": "clip",
514
+ "type": "CLIP",
515
+ "link": 132
516
+ },
517
+ {
518
+ "name": "vae",
519
+ "shape": 7,
520
+ "type": "VAE",
521
+ "link": 161
522
+ },
523
+ {
524
+ "name": "image",
525
+ "shape": 7,
526
+ "type": "IMAGE",
527
+ "link": 180
528
+ }
529
+ ],
530
+ "outputs": [
531
+ {
532
+ "name": "CONDITIONING",
533
+ "type": "CONDITIONING",
534
+ "links": [
535
+ 163
536
+ ]
537
+ }
538
+ ],
539
+ "properties": {
540
+ "cnr_id": "comfy-core",
541
+ "ver": "0.3.50",
542
+ "Node name for S&R": "TextEncodeQwenImageEdit",
543
+ "enableTabs": false,
544
+ "tabWidth": 65,
545
+ "tabXOffset": 10,
546
+ "hasSecondTab": false,
547
+ "secondTabText": "Send Back",
548
+ "secondTabOffset": 80,
549
+ "secondTabWidth": 65,
550
+ "ue_properties": {
551
+ "widget_ue_connectable": {
552
+ "prompt": true
553
+ }
554
+ }
555
+ },
556
+ "widgets_values": [
557
+ ""
558
+ ],
559
+ "color": "#223",
560
+ "bgcolor": "#335"
561
+ },
562
+ {
563
+ "id": 8,
564
+ "type": "VAEDecode",
565
+ "pos": [
566
+ 961.1051635742188,
567
+ 31.530574798583984
568
+ ],
569
+ "size": [
570
+ 210,
571
+ 46
572
+ ],
573
+ "flags": {
574
+ "collapsed": false
575
+ },
576
+ "order": 21,
577
+ "mode": 0,
578
+ "inputs": [
579
+ {
580
+ "name": "samples",
581
+ "type": "LATENT",
582
+ "link": 128
583
+ },
584
+ {
585
+ "name": "vae",
586
+ "type": "VAE",
587
+ "link": 76
588
+ }
589
+ ],
590
+ "outputs": [
591
+ {
592
+ "name": "IMAGE",
593
+ "type": "IMAGE",
594
+ "slot_index": 0,
595
+ "links": [
596
+ 110
597
+ ]
598
+ }
599
+ ],
600
+ "properties": {
601
+ "cnr_id": "comfy-core",
602
+ "ver": "0.3.48",
603
+ "Node name for S&R": "VAEDecode",
604
+ "enableTabs": false,
605
+ "tabWidth": 65,
606
+ "tabXOffset": 10,
607
+ "hasSecondTab": false,
608
+ "secondTabText": "Send Back",
609
+ "secondTabOffset": 80,
610
+ "secondTabWidth": 65,
611
+ "widget_ue_connectable": {}
612
+ },
613
+ "widgets_values": []
614
+ },
615
+ {
616
+ "id": 120,
617
+ "type": "PreviewImage",
618
+ "pos": [
619
+ -751.6596069335938,
620
+ 1048.82470703125
621
+ ],
622
+ "size": [
623
+ 140,
624
+ 246
625
+ ],
626
+ "flags": {},
627
+ "order": 13,
628
+ "mode": 0,
629
+ "inputs": [
630
+ {
631
+ "name": "images",
632
+ "type": "IMAGE",
633
+ "link": 213
634
+ }
635
+ ],
636
+ "outputs": [],
637
+ "properties": {
638
+ "cnr_id": "comfy-core",
639
+ "ver": "0.3.59",
640
+ "Node name for S&R": "PreviewImage"
641
+ },
642
+ "widgets_values": []
643
+ },
644
+ {
645
+ "id": 96,
646
+ "type": "MarkdownNote",
647
+ "pos": [
648
+ -212.81272888183594,
649
+ 1096.5384521484375
650
+ ],
651
+ "size": [
652
+ 280,
653
+ 88
654
+ ],
655
+ "flags": {},
656
+ "order": 5,
657
+ "mode": 0,
658
+ "inputs": [],
659
+ "outputs": [],
660
+ "properties": {},
661
+ "widgets_values": [
662
+ "This node is to avoid poor output results caused by excessively large input image sizes."
663
+ ],
664
+ "color": "#432",
665
+ "bgcolor": "#653"
666
+ },
667
+ {
668
+ "id": 117,
669
+ "type": "LoadImage",
670
+ "pos": [
671
+ -1315.50439453125,
672
+ 178.21348571777344
673
+ ],
674
+ "size": [
675
+ 413.10479736328125,
676
+ 498.3180847167969
677
+ ],
678
+ "flags": {},
679
+ "order": 6,
680
+ "mode": 0,
681
+ "inputs": [],
682
+ "outputs": [
683
+ {
684
+ "name": "IMAGE",
685
+ "type": "IMAGE",
686
+ "links": [
687
+ 215
688
+ ]
689
+ },
690
+ {
691
+ "name": "MASK",
692
+ "type": "MASK",
693
+ "links": null
694
+ }
695
+ ],
696
+ "properties": {
697
+ "cnr_id": "comfy-core",
698
+ "ver": "0.3.26",
699
+ "Node name for S&R": "LoadImage"
700
+ },
701
+ "widgets_values": [
702
+ "07.png",
703
+ "image"
704
+ ],
705
+ "color": "#2a363b",
706
+ "bgcolor": "#3f5159"
707
+ },
708
+ {
709
+ "id": 119,
710
+ "type": "ImageStitch",
711
+ "pos": [
712
+ -695.1878051757812,
713
+ 807.84716796875
714
+ ],
715
+ "size": [
716
+ 270,
717
+ 150
718
+ ],
719
+ "flags": {},
720
+ "order": 10,
721
+ "mode": 0,
722
+ "inputs": [
723
+ {
724
+ "name": "image1",
725
+ "type": "IMAGE",
726
+ "link": 214
727
+ },
728
+ {
729
+ "name": "image2",
730
+ "shape": 7,
731
+ "type": "IMAGE",
732
+ "link": 215
733
+ }
734
+ ],
735
+ "outputs": [
736
+ {
737
+ "name": "IMAGE",
738
+ "type": "IMAGE",
739
+ "links": [
740
+ 213
741
+ ]
742
+ }
743
+ ],
744
+ "properties": {
745
+ "cnr_id": "comfy-core",
746
+ "ver": "0.3.59",
747
+ "Node name for S&R": "ImageStitch"
748
+ },
749
+ "widgets_values": [
750
+ "right",
751
+ true,
752
+ 0,
753
+ "white"
754
+ ]
755
+ },
756
+ {
757
+ "id": 118,
758
+ "type": "LoadImage",
759
+ "pos": [
760
+ -1254.4381103515625,
761
+ 810.717529296875
762
+ ],
763
+ "size": [
764
+ 270,
765
+ 314.00006103515625
766
+ ],
767
+ "flags": {},
768
+ "order": 7,
769
+ "mode": 0,
770
+ "inputs": [],
771
+ "outputs": [
772
+ {
773
+ "name": "IMAGE",
774
+ "type": "IMAGE",
775
+ "links": [
776
+ 214
777
+ ]
778
+ },
779
+ {
780
+ "name": "MASK",
781
+ "type": "MASK",
782
+ "links": null
783
+ }
784
+ ],
785
+ "properties": {
786
+ "cnr_id": "comfy-core",
787
+ "ver": "0.3.59",
788
+ "Node name for S&R": "LoadImage"
789
+ },
790
+ "widgets_values": [
791
+ "Screenshot 2025-09-19 130659.png",
792
+ "image"
793
+ ]
794
+ },
795
+ {
796
+ "id": 78,
797
+ "type": "LoadImage",
798
+ "pos": [
799
+ -220,
800
+ 500
801
+ ],
802
+ "size": [
803
+ 274.080078125,
804
+ 314.0000305175781
805
+ ],
806
+ "flags": {},
807
+ "order": 8,
808
+ "mode": 0,
809
+ "inputs": [],
810
+ "outputs": [
811
+ {
812
+ "name": "IMAGE",
813
+ "type": "IMAGE",
814
+ "links": [
815
+ 219
816
+ ]
817
+ },
818
+ {
819
+ "name": "MASK",
820
+ "type": "MASK",
821
+ "links": null
822
+ }
823
+ ],
824
+ "properties": {
825
+ "cnr_id": "comfy-core",
826
+ "ver": "0.3.50",
827
+ "Node name for S&R": "LoadImage",
828
+ "enableTabs": false,
829
+ "tabWidth": 65,
830
+ "tabXOffset": 10,
831
+ "hasSecondTab": false,
832
+ "secondTabText": "Send Back",
833
+ "secondTabOffset": 80,
834
+ "secondTabWidth": 65,
835
+ "ue_properties": {
836
+ "widget_ue_connectable": {
837
+ "image": true,
838
+ "upload": true
839
+ }
840
+ }
841
+ },
842
+ "widgets_values": [
843
+ "ComfyUI_00006_ (17).png",
844
+ "image"
845
+ ]
846
+ },
847
+ {
848
+ "id": 89,
849
+ "type": "LoraLoaderModelOnly",
850
+ "pos": [
851
+ 170,
852
+ 30
853
+ ],
854
+ "size": [
855
+ 270,
856
+ 82
857
+ ],
858
+ "flags": {},
859
+ "order": 12,
860
+ "mode": 0,
861
+ "inputs": [
862
+ {
863
+ "name": "model",
864
+ "type": "MODEL",
865
+ "link": 188
866
+ }
867
+ ],
868
+ "outputs": [
869
+ {
870
+ "name": "MODEL",
871
+ "type": "MODEL",
872
+ "links": [
873
+ 185
874
+ ]
875
+ }
876
+ ],
877
+ "properties": {
878
+ "cnr_id": "comfy-core",
879
+ "ver": "0.3.50",
880
+ "Node name for S&R": "LoraLoaderModelOnly",
881
+ "models": [
882
+ {
883
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
884
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
885
+ "directory": "loras"
886
+ }
887
+ ],
888
+ "enableTabs": false,
889
+ "tabWidth": 65,
890
+ "tabXOffset": 10,
891
+ "hasSecondTab": false,
892
+ "secondTabText": "Send Back",
893
+ "secondTabOffset": 80,
894
+ "secondTabWidth": 65,
895
+ "ue_properties": {
896
+ "widget_ue_connectable": {
897
+ "lora_name": true,
898
+ "strength_model": true
899
+ }
900
+ }
901
+ },
902
+ "widgets_values": [
903
+ "Qwen-Image-Lightning-4steps-V1.0.safetensors",
904
+ 1
905
+ ]
906
+ },
907
+ {
908
+ "id": 101,
909
+ "type": "LoraLoaderModelOnly",
910
+ "pos": [
911
+ 169.86172485351562,
912
+ -106.83550262451172
913
+ ],
914
+ "size": [
915
+ 270,
916
+ 82
917
+ ],
918
+ "flags": {},
919
+ "order": 9,
920
+ "mode": 0,
921
+ "inputs": [
922
+ {
923
+ "name": "model",
924
+ "type": "MODEL",
925
+ "link": 187
926
+ }
927
+ ],
928
+ "outputs": [
929
+ {
930
+ "name": "MODEL",
931
+ "type": "MODEL",
932
+ "links": [
933
+ 188
934
+ ]
935
+ }
936
+ ],
937
+ "properties": {
938
+ "cnr_id": "comfy-core",
939
+ "ver": "0.3.50",
940
+ "Node name for S&R": "LoraLoaderModelOnly",
941
+ "models": [
942
+ {
943
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
944
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
945
+ "directory": "loras"
946
+ }
947
+ ],
948
+ "enableTabs": false,
949
+ "tabWidth": 65,
950
+ "tabXOffset": 10,
951
+ "hasSecondTab": false,
952
+ "secondTabText": "Send Back",
953
+ "secondTabOffset": 80,
954
+ "secondTabWidth": 65,
955
+ "ue_properties": {
956
+ "widget_ue_connectable": {
957
+ "lora_name": true,
958
+ "strength_model": true
959
+ }
960
+ }
961
+ },
962
+ "widgets_values": [
963
+ "relight-qwen-edit.safetensors",
964
+ 1
965
+ ]
966
+ },
967
+ {
968
+ "id": 3,
969
+ "type": "KSampler",
970
+ "pos": [
971
+ 550,
972
+ 240
973
+ ],
974
+ "size": [
975
+ 300,
976
+ 474
977
+ ],
978
+ "flags": {},
979
+ "order": 20,
980
+ "mode": 0,
981
+ "inputs": [
982
+ {
983
+ "name": "model",
984
+ "type": "MODEL",
985
+ "link": 186
986
+ },
987
+ {
988
+ "name": "positive",
989
+ "type": "CONDITIONING",
990
+ "link": 164
991
+ },
992
+ {
993
+ "name": "negative",
994
+ "type": "CONDITIONING",
995
+ "link": 163
996
+ },
997
+ {
998
+ "name": "latent_image",
999
+ "type": "LATENT",
1000
+ "link": 198
1001
+ }
1002
+ ],
1003
+ "outputs": [
1004
+ {
1005
+ "name": "LATENT",
1006
+ "type": "LATENT",
1007
+ "slot_index": 0,
1008
+ "links": [
1009
+ 128
1010
+ ]
1011
+ }
1012
+ ],
1013
+ "properties": {
1014
+ "cnr_id": "comfy-core",
1015
+ "ver": "0.3.48",
1016
+ "Node name for S&R": "KSampler",
1017
+ "enableTabs": false,
1018
+ "tabWidth": 65,
1019
+ "tabXOffset": 10,
1020
+ "hasSecondTab": false,
1021
+ "secondTabText": "Send Back",
1022
+ "secondTabOffset": 80,
1023
+ "secondTabWidth": 65,
1024
+ "widget_ue_connectable": {}
1025
+ },
1026
+ "widgets_values": [
1027
+ 627664952412444,
1028
+ "randomize",
1029
+ 4,
1030
+ 1,
1031
+ "euler",
1032
+ "simple",
1033
+ 1
1034
+ ]
1035
+ },
1036
+ {
1037
+ "id": 76,
1038
+ "type": "TextEncodeQwenImageEdit",
1039
+ "pos": [
1040
+ 140,
1041
+ 200
1042
+ ],
1043
+ "size": [
1044
+ 360,
1045
+ 150
1046
+ ],
1047
+ "flags": {},
1048
+ "order": 15,
1049
+ "mode": 0,
1050
+ "inputs": [
1051
+ {
1052
+ "name": "clip",
1053
+ "type": "CLIP",
1054
+ "link": 131
1055
+ },
1056
+ {
1057
+ "name": "vae",
1058
+ "shape": 7,
1059
+ "type": "VAE",
1060
+ "link": 162
1061
+ },
1062
+ {
1063
+ "name": "image",
1064
+ "shape": 7,
1065
+ "type": "IMAGE",
1066
+ "link": 179
1067
+ }
1068
+ ],
1069
+ "outputs": [
1070
+ {
1071
+ "name": "CONDITIONING",
1072
+ "type": "CONDITIONING",
1073
+ "links": [
1074
+ 164
1075
+ ]
1076
+ }
1077
+ ],
1078
+ "properties": {
1079
+ "cnr_id": "comfy-core",
1080
+ "ver": "0.3.50",
1081
+ "Node name for S&R": "TextEncodeQwenImageEdit",
1082
+ "enableTabs": false,
1083
+ "tabWidth": 65,
1084
+ "tabXOffset": 10,
1085
+ "hasSecondTab": false,
1086
+ "secondTabText": "Send Back",
1087
+ "secondTabOffset": 80,
1088
+ "secondTabWidth": 65,
1089
+ "ue_properties": {
1090
+ "widget_ue_connectable": {
1091
+ "prompt": true
1092
+ }
1093
+ }
1094
+ },
1095
+ "widgets_values": [
1096
+ "将背景变成温馨的室内,人物面色要白嫩"
1097
+ ],
1098
+ "color": "#232",
1099
+ "bgcolor": "#353"
1100
+ }
1101
+ ],
1102
+ "links": [
1103
+ [
1104
+ 76,
1105
+ 39,
1106
+ 0,
1107
+ 8,
1108
+ 1,
1109
+ "VAE"
1110
+ ],
1111
+ [
1112
+ 110,
1113
+ 8,
1114
+ 0,
1115
+ 60,
1116
+ 0,
1117
+ "IMAGE"
1118
+ ],
1119
+ [
1120
+ 128,
1121
+ 3,
1122
+ 0,
1123
+ 8,
1124
+ 0,
1125
+ "LATENT"
1126
+ ],
1127
+ [
1128
+ 131,
1129
+ 38,
1130
+ 0,
1131
+ 76,
1132
+ 0,
1133
+ "CLIP"
1134
+ ],
1135
+ [
1136
+ 132,
1137
+ 38,
1138
+ 0,
1139
+ 77,
1140
+ 0,
1141
+ "CLIP"
1142
+ ],
1143
+ [
1144
+ 141,
1145
+ 66,
1146
+ 0,
1147
+ 75,
1148
+ 0,
1149
+ "MODEL"
1150
+ ],
1151
+ [
1152
+ 161,
1153
+ 39,
1154
+ 0,
1155
+ 77,
1156
+ 1,
1157
+ "VAE"
1158
+ ],
1159
+ [
1160
+ 162,
1161
+ 39,
1162
+ 0,
1163
+ 76,
1164
+ 1,
1165
+ "VAE"
1166
+ ],
1167
+ [
1168
+ 163,
1169
+ 77,
1170
+ 0,
1171
+ 3,
1172
+ 2,
1173
+ "CONDITIONING"
1174
+ ],
1175
+ [
1176
+ 164,
1177
+ 76,
1178
+ 0,
1179
+ 3,
1180
+ 1,
1181
+ "CONDITIONING"
1182
+ ],
1183
+ [
1184
+ 168,
1185
+ 39,
1186
+ 0,
1187
+ 88,
1188
+ 1,
1189
+ "VAE"
1190
+ ],
1191
+ [
1192
+ 178,
1193
+ 93,
1194
+ 0,
1195
+ 88,
1196
+ 0,
1197
+ "IMAGE"
1198
+ ],
1199
+ [
1200
+ 179,
1201
+ 93,
1202
+ 0,
1203
+ 76,
1204
+ 2,
1205
+ "IMAGE"
1206
+ ],
1207
+ [
1208
+ 180,
1209
+ 93,
1210
+ 0,
1211
+ 77,
1212
+ 2,
1213
+ "IMAGE"
1214
+ ],
1215
+ [
1216
+ 185,
1217
+ 89,
1218
+ 0,
1219
+ 66,
1220
+ 0,
1221
+ "MODEL"
1222
+ ],
1223
+ [
1224
+ 186,
1225
+ 75,
1226
+ 0,
1227
+ 3,
1228
+ 0,
1229
+ "MODEL"
1230
+ ],
1231
+ [
1232
+ 187,
1233
+ 37,
1234
+ 0,
1235
+ 101,
1236
+ 0,
1237
+ "MODEL"
1238
+ ],
1239
+ [
1240
+ 188,
1241
+ 101,
1242
+ 0,
1243
+ 89,
1244
+ 0,
1245
+ "MODEL"
1246
+ ],
1247
+ [
1248
+ 197,
1249
+ 88,
1250
+ 0,
1251
+ 110,
1252
+ 0,
1253
+ "LATENT"
1254
+ ],
1255
+ [
1256
+ 198,
1257
+ 110,
1258
+ 0,
1259
+ 3,
1260
+ 3,
1261
+ "LATENT"
1262
+ ],
1263
+ [
1264
+ 213,
1265
+ 119,
1266
+ 0,
1267
+ 120,
1268
+ 0,
1269
+ "IMAGE"
1270
+ ],
1271
+ [
1272
+ 214,
1273
+ 118,
1274
+ 0,
1275
+ 119,
1276
+ 0,
1277
+ "IMAGE"
1278
+ ],
1279
+ [
1280
+ 215,
1281
+ 117,
1282
+ 0,
1283
+ 119,
1284
+ 1,
1285
+ "IMAGE"
1286
+ ],
1287
+ [
1288
+ 219,
1289
+ 78,
1290
+ 0,
1291
+ 93,
1292
+ 0,
1293
+ "IMAGE"
1294
+ ]
1295
+ ],
1296
+ "groups": [
1297
+ {
1298
+ "id": 1,
1299
+ "title": "Step1 - Load models",
1300
+ "bounding": [
1301
+ -270,
1302
+ -40,
1303
+ 370,
1304
+ 450
1305
+ ],
1306
+ "color": "#3f789e",
1307
+ "font_size": 24,
1308
+ "flags": {}
1309
+ },
1310
+ {
1311
+ "id": 2,
1312
+ "title": "Step 2 - Upload image for editing",
1313
+ "bounding": [
1314
+ -270,
1315
+ 430,
1316
+ 370,
1317
+ 400
1318
+ ],
1319
+ "color": "#3f789e",
1320
+ "font_size": 24,
1321
+ "flags": {}
1322
+ },
1323
+ {
1324
+ "id": 3,
1325
+ "title": "Step 3 - Prompt",
1326
+ "bounding": [
1327
+ 130,
1328
+ 130,
1329
+ 380,
1330
+ 433.6000061035156
1331
+ ],
1332
+ "color": "#3f789e",
1333
+ "font_size": 24,
1334
+ "flags": {}
1335
+ }
1336
+ ],
1337
+ "config": {},
1338
+ "extra": {
1339
+ "ds": {
1340
+ "scale": 1.0383530253477884,
1341
+ "offset": [
1342
+ 354.0258128631574,
1343
+ 93.92178869796643
1344
+ ]
1345
+ },
1346
+ "frontendVersion": "1.26.11",
1347
+ "ue_links": [],
1348
+ "links_added_by_ue": [],
1349
+ "VHS_latentpreview": false,
1350
+ "VHS_latentpreviewrate": 0,
1351
+ "VHS_MetadataImage": true,
1352
+ "VHS_KeepIntermediate": true
1353
+ },
1354
+ "version": 0.4
1355
+ }