Jyoti002 commited on
Commit
1b2a353
·
verified ·
1 Parent(s): 4c7d2e4

Upload Photo-Restoration-Qwen-Image-Edit.json

Browse files
Files changed (1) hide show
  1. Photo-Restoration-Qwen-Image-Edit.json +1095 -0
Photo-Restoration-Qwen-Image-Edit.json ADDED
@@ -0,0 +1,1095 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3
+ "revision": 0,
4
+ "last_node_id": 104,
5
+ "last_link_id": 198,
6
+ "nodes": [
7
+ {
8
+ "id": 39,
9
+ "type": "VAELoader",
10
+ "pos": [
11
+ -250,
12
+ 330
13
+ ],
14
+ "size": [
15
+ 330,
16
+ 60
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "VAE",
25
+ "type": "VAE",
26
+ "slot_index": 0,
27
+ "links": [
28
+ 76,
29
+ 161,
30
+ 162,
31
+ 168
32
+ ]
33
+ }
34
+ ],
35
+ "properties": {
36
+ "cnr_id": "comfy-core",
37
+ "ver": "0.3.48",
38
+ "Node name for S&R": "VAELoader",
39
+ "models": [
40
+ {
41
+ "name": "qwen_image_vae.safetensors",
42
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
43
+ "directory": "vae"
44
+ }
45
+ ],
46
+ "enableTabs": false,
47
+ "tabWidth": 65,
48
+ "tabXOffset": 10,
49
+ "hasSecondTab": false,
50
+ "secondTabText": "Send Back",
51
+ "secondTabOffset": 80,
52
+ "secondTabWidth": 65,
53
+ "widget_ue_connectable": {}
54
+ },
55
+ "widgets_values": [
56
+ "qwen_image_vae.safetensors"
57
+ ]
58
+ },
59
+ {
60
+ "id": 77,
61
+ "type": "TextEncodeQwenImageEdit",
62
+ "pos": [
63
+ 140,
64
+ 400
65
+ ],
66
+ "size": [
67
+ 360,
68
+ 150
69
+ ],
70
+ "flags": {},
71
+ "order": 11,
72
+ "mode": 0,
73
+ "inputs": [
74
+ {
75
+ "name": "clip",
76
+ "type": "CLIP",
77
+ "link": 132
78
+ },
79
+ {
80
+ "name": "vae",
81
+ "shape": 7,
82
+ "type": "VAE",
83
+ "link": 161
84
+ },
85
+ {
86
+ "name": "image",
87
+ "shape": 7,
88
+ "type": "IMAGE",
89
+ "link": 197
90
+ }
91
+ ],
92
+ "outputs": [
93
+ {
94
+ "name": "CONDITIONING",
95
+ "type": "CONDITIONING",
96
+ "links": [
97
+ 163
98
+ ]
99
+ }
100
+ ],
101
+ "properties": {
102
+ "cnr_id": "comfy-core",
103
+ "ver": "0.3.50",
104
+ "Node name for S&R": "TextEncodeQwenImageEdit",
105
+ "enableTabs": false,
106
+ "tabWidth": 65,
107
+ "tabXOffset": 10,
108
+ "hasSecondTab": false,
109
+ "secondTabText": "Send Back",
110
+ "secondTabOffset": 80,
111
+ "secondTabWidth": 65,
112
+ "ue_properties": {
113
+ "widget_ue_connectable": {
114
+ "prompt": true
115
+ }
116
+ }
117
+ },
118
+ "widgets_values": [
119
+ ""
120
+ ],
121
+ "color": "#223",
122
+ "bgcolor": "#335"
123
+ },
124
+ {
125
+ "id": 75,
126
+ "type": "CFGNorm",
127
+ "pos": [
128
+ 550,
129
+ 130
130
+ ],
131
+ "size": [
132
+ 290,
133
+ 60
134
+ ],
135
+ "flags": {},
136
+ "order": 13,
137
+ "mode": 0,
138
+ "inputs": [
139
+ {
140
+ "name": "model",
141
+ "type": "MODEL",
142
+ "link": 141
143
+ }
144
+ ],
145
+ "outputs": [
146
+ {
147
+ "name": "patched_model",
148
+ "type": "MODEL",
149
+ "links": [
150
+ 186
151
+ ]
152
+ }
153
+ ],
154
+ "properties": {
155
+ "cnr_id": "comfy-core",
156
+ "ver": "0.3.50",
157
+ "Node name for S&R": "CFGNorm",
158
+ "enableTabs": false,
159
+ "tabWidth": 65,
160
+ "tabXOffset": 10,
161
+ "hasSecondTab": false,
162
+ "secondTabText": "Send Back",
163
+ "secondTabOffset": 80,
164
+ "secondTabWidth": 65,
165
+ "ue_properties": {
166
+ "widget_ue_connectable": {
167
+ "strength": true
168
+ }
169
+ }
170
+ },
171
+ "widgets_values": [
172
+ 1
173
+ ]
174
+ },
175
+ {
176
+ "id": 66,
177
+ "type": "ModelSamplingAuraFlow",
178
+ "pos": [
179
+ 550,
180
+ 20
181
+ ],
182
+ "size": [
183
+ 290,
184
+ 60
185
+ ],
186
+ "flags": {},
187
+ "order": 8,
188
+ "mode": 0,
189
+ "inputs": [
190
+ {
191
+ "name": "model",
192
+ "type": "MODEL",
193
+ "link": 185
194
+ }
195
+ ],
196
+ "outputs": [
197
+ {
198
+ "name": "MODEL",
199
+ "type": "MODEL",
200
+ "links": [
201
+ 141
202
+ ]
203
+ }
204
+ ],
205
+ "properties": {
206
+ "cnr_id": "comfy-core",
207
+ "ver": "0.3.48",
208
+ "Node name for S&R": "ModelSamplingAuraFlow",
209
+ "enableTabs": false,
210
+ "tabWidth": 65,
211
+ "tabXOffset": 10,
212
+ "hasSecondTab": false,
213
+ "secondTabText": "Send Back",
214
+ "secondTabOffset": 80,
215
+ "secondTabWidth": 65,
216
+ "widget_ue_connectable": {}
217
+ },
218
+ "widgets_values": [
219
+ 3
220
+ ]
221
+ },
222
+ {
223
+ "id": 8,
224
+ "type": "VAEDecode",
225
+ "pos": [
226
+ 890,
227
+ 20
228
+ ],
229
+ "size": [
230
+ 210,
231
+ 46
232
+ ],
233
+ "flags": {
234
+ "collapsed": false
235
+ },
236
+ "order": 15,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "samples",
241
+ "type": "LATENT",
242
+ "link": 128
243
+ },
244
+ {
245
+ "name": "vae",
246
+ "type": "VAE",
247
+ "link": 76
248
+ }
249
+ ],
250
+ "outputs": [
251
+ {
252
+ "name": "IMAGE",
253
+ "type": "IMAGE",
254
+ "slot_index": 0,
255
+ "links": [
256
+ 110
257
+ ]
258
+ }
259
+ ],
260
+ "properties": {
261
+ "cnr_id": "comfy-core",
262
+ "ver": "0.3.48",
263
+ "Node name for S&R": "VAEDecode",
264
+ "enableTabs": false,
265
+ "tabWidth": 65,
266
+ "tabXOffset": 10,
267
+ "hasSecondTab": false,
268
+ "secondTabText": "Send Back",
269
+ "secondTabOffset": 80,
270
+ "secondTabWidth": 65,
271
+ "widget_ue_connectable": {}
272
+ },
273
+ "widgets_values": []
274
+ },
275
+ {
276
+ "id": 38,
277
+ "type": "CLIPLoader",
278
+ "pos": [
279
+ -250,
280
+ 170
281
+ ],
282
+ "size": [
283
+ 330,
284
+ 110
285
+ ],
286
+ "flags": {},
287
+ "order": 1,
288
+ "mode": 0,
289
+ "inputs": [],
290
+ "outputs": [
291
+ {
292
+ "name": "CLIP",
293
+ "type": "CLIP",
294
+ "slot_index": 0,
295
+ "links": [
296
+ 131,
297
+ 132
298
+ ]
299
+ }
300
+ ],
301
+ "properties": {
302
+ "cnr_id": "comfy-core",
303
+ "ver": "0.3.48",
304
+ "Node name for S&R": "CLIPLoader",
305
+ "models": [
306
+ {
307
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
308
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
309
+ "directory": "text_encoders"
310
+ }
311
+ ],
312
+ "enableTabs": false,
313
+ "tabWidth": 65,
314
+ "tabXOffset": 10,
315
+ "hasSecondTab": false,
316
+ "secondTabText": "Send Back",
317
+ "secondTabOffset": 80,
318
+ "secondTabWidth": 65,
319
+ "widget_ue_connectable": {}
320
+ },
321
+ "widgets_values": [
322
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
323
+ "qwen_image",
324
+ "default"
325
+ ]
326
+ },
327
+ {
328
+ "id": 88,
329
+ "type": "VAEEncode",
330
+ "pos": [
331
+ 370,
332
+ 630
333
+ ],
334
+ "size": [
335
+ 140,
336
+ 46
337
+ ],
338
+ "flags": {},
339
+ "order": 9,
340
+ "mode": 0,
341
+ "inputs": [
342
+ {
343
+ "name": "pixels",
344
+ "type": "IMAGE",
345
+ "link": 194
346
+ },
347
+ {
348
+ "name": "vae",
349
+ "type": "VAE",
350
+ "link": 168
351
+ }
352
+ ],
353
+ "outputs": [
354
+ {
355
+ "name": "LATENT",
356
+ "type": "LATENT",
357
+ "links": [
358
+ 170
359
+ ]
360
+ }
361
+ ],
362
+ "properties": {
363
+ "cnr_id": "comfy-core",
364
+ "ver": "0.3.50",
365
+ "Node name for S&R": "VAEEncode",
366
+ "enableTabs": false,
367
+ "tabWidth": 65,
368
+ "tabXOffset": 10,
369
+ "hasSecondTab": false,
370
+ "secondTabText": "Send Back",
371
+ "secondTabOffset": 80,
372
+ "secondTabWidth": 65,
373
+ "ue_properties": {
374
+ "widget_ue_connectable": {}
375
+ }
376
+ },
377
+ "widgets_values": []
378
+ },
379
+ {
380
+ "id": 97,
381
+ "type": "MarkdownNote",
382
+ "pos": [
383
+ 550,
384
+ 780
385
+ ],
386
+ "size": [
387
+ 300,
388
+ 190
389
+ ],
390
+ "flags": {},
391
+ "order": 2,
392
+ "mode": 0,
393
+ "inputs": [],
394
+ "outputs": [],
395
+ "title": "KSampler settings",
396
+ "properties": {},
397
+ "widgets_values": [
398
+ "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"
399
+ ],
400
+ "color": "#432",
401
+ "bgcolor": "#653"
402
+ },
403
+ {
404
+ "id": 99,
405
+ "type": "MarkdownNote",
406
+ "pos": [
407
+ -830,
408
+ -10
409
+ ],
410
+ "size": [
411
+ 540,
412
+ 550
413
+ ],
414
+ "flags": {},
415
+ "order": 3,
416
+ "mode": 0,
417
+ "inputs": [],
418
+ "outputs": [],
419
+ "title": "Model links",
420
+ "properties": {
421
+ "widget_ue_connectable": {}
422
+ },
423
+ "widgets_values": [
424
+ "[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"
425
+ ],
426
+ "color": "#432",
427
+ "bgcolor": "#653"
428
+ },
429
+ {
430
+ "id": 37,
431
+ "type": "UNETLoader",
432
+ "pos": [
433
+ -250,
434
+ 30
435
+ ],
436
+ "size": [
437
+ 330,
438
+ 90
439
+ ],
440
+ "flags": {},
441
+ "order": 4,
442
+ "mode": 0,
443
+ "inputs": [],
444
+ "outputs": [
445
+ {
446
+ "name": "MODEL",
447
+ "type": "MODEL",
448
+ "slot_index": 0,
449
+ "links": [
450
+ 184
451
+ ]
452
+ }
453
+ ],
454
+ "properties": {
455
+ "cnr_id": "comfy-core",
456
+ "ver": "0.3.48",
457
+ "Node name for S&R": "UNETLoader",
458
+ "models": [
459
+ {
460
+ "name": "qwen_image_edit_fp8_e4m3fn.safetensors",
461
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp8_e4m3fn.safetensors",
462
+ "directory": "diffusion_models"
463
+ }
464
+ ],
465
+ "enableTabs": false,
466
+ "tabWidth": 65,
467
+ "tabXOffset": 10,
468
+ "hasSecondTab": false,
469
+ "secondTabText": "Send Back",
470
+ "secondTabOffset": 80,
471
+ "secondTabWidth": 65,
472
+ "widget_ue_connectable": {}
473
+ },
474
+ "widgets_values": [
475
+ "qwen_image_edit_fp8_e4m3fn.safetensors",
476
+ "default"
477
+ ]
478
+ },
479
+ {
480
+ "id": 76,
481
+ "type": "TextEncodeQwenImageEdit",
482
+ "pos": [
483
+ 140,
484
+ 200
485
+ ],
486
+ "size": [
487
+ 360,
488
+ 150
489
+ ],
490
+ "flags": {},
491
+ "order": 12,
492
+ "mode": 0,
493
+ "inputs": [
494
+ {
495
+ "name": "clip",
496
+ "type": "CLIP",
497
+ "link": 131
498
+ },
499
+ {
500
+ "name": "vae",
501
+ "shape": 7,
502
+ "type": "VAE",
503
+ "link": 162
504
+ },
505
+ {
506
+ "name": "image",
507
+ "shape": 7,
508
+ "type": "IMAGE",
509
+ "link": 198
510
+ }
511
+ ],
512
+ "outputs": [
513
+ {
514
+ "name": "CONDITIONING",
515
+ "type": "CONDITIONING",
516
+ "links": [
517
+ 164
518
+ ]
519
+ }
520
+ ],
521
+ "properties": {
522
+ "cnr_id": "comfy-core",
523
+ "ver": "0.3.50",
524
+ "Node name for S&R": "TextEncodeQwenImageEdit",
525
+ "enableTabs": false,
526
+ "tabWidth": 65,
527
+ "tabXOffset": 10,
528
+ "hasSecondTab": false,
529
+ "secondTabText": "Send Back",
530
+ "secondTabOffset": 80,
531
+ "secondTabWidth": 65,
532
+ "ue_properties": {
533
+ "widget_ue_connectable": {
534
+ "prompt": true
535
+ }
536
+ }
537
+ },
538
+ "widgets_values": [
539
+ "Restore this photo to a modern look. add natural color, repair damage, and remove paper tears while preserving details."
540
+ ],
541
+ "color": "#232",
542
+ "bgcolor": "#353"
543
+ },
544
+ {
545
+ "id": 104,
546
+ "type": "SaveImage",
547
+ "pos": [
548
+ 1041.752197265625,
549
+ 249.1631622314453
550
+ ],
551
+ "size": [
552
+ 580,
553
+ 650
554
+ ],
555
+ "flags": {},
556
+ "order": 10,
557
+ "mode": 0,
558
+ "inputs": [
559
+ {
560
+ "name": "images",
561
+ "type": "IMAGE",
562
+ "link": 196
563
+ }
564
+ ],
565
+ "outputs": [],
566
+ "properties": {
567
+ "cnr_id": "comfy-core",
568
+ "ver": "0.3.48",
569
+ "Node name for S&R": "SaveImage",
570
+ "enableTabs": false,
571
+ "tabWidth": 65,
572
+ "tabXOffset": 10,
573
+ "hasSecondTab": false,
574
+ "secondTabText": "Send Back",
575
+ "secondTabOffset": 80,
576
+ "secondTabWidth": 65,
577
+ "widget_ue_connectable": {}
578
+ },
579
+ "widgets_values": [
580
+ "photorestoration/comfyui_"
581
+ ]
582
+ },
583
+ {
584
+ "id": 89,
585
+ "type": "LoraLoaderModelOnly",
586
+ "pos": [
587
+ 170,
588
+ 30
589
+ ],
590
+ "size": [
591
+ 270,
592
+ 82
593
+ ],
594
+ "flags": {},
595
+ "order": 6,
596
+ "mode": 0,
597
+ "inputs": [
598
+ {
599
+ "name": "model",
600
+ "type": "MODEL",
601
+ "link": 184
602
+ }
603
+ ],
604
+ "outputs": [
605
+ {
606
+ "name": "MODEL",
607
+ "type": "MODEL",
608
+ "links": [
609
+ 185
610
+ ]
611
+ }
612
+ ],
613
+ "properties": {
614
+ "cnr_id": "comfy-core",
615
+ "ver": "0.3.50",
616
+ "Node name for S&R": "LoraLoaderModelOnly",
617
+ "models": [
618
+ {
619
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
620
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
621
+ "directory": "loras"
622
+ }
623
+ ],
624
+ "enableTabs": false,
625
+ "tabWidth": 65,
626
+ "tabXOffset": 10,
627
+ "hasSecondTab": false,
628
+ "secondTabText": "Send Back",
629
+ "secondTabOffset": 80,
630
+ "secondTabWidth": 65,
631
+ "ue_properties": {
632
+ "widget_ue_connectable": {
633
+ "lora_name": true,
634
+ "strength_model": true
635
+ }
636
+ }
637
+ },
638
+ "widgets_values": [
639
+ "Qwen-Image-Lightning-4steps-V1.0.safetensors",
640
+ 1
641
+ ]
642
+ },
643
+ {
644
+ "id": 102,
645
+ "type": "ImageResizeKJv2",
646
+ "pos": [
647
+ -164.3140869140625,
648
+ 883.722900390625
649
+ ],
650
+ "size": [
651
+ 270,
652
+ 336
653
+ ],
654
+ "flags": {},
655
+ "order": 7,
656
+ "mode": 0,
657
+ "inputs": [
658
+ {
659
+ "name": "image",
660
+ "type": "IMAGE",
661
+ "link": 192
662
+ },
663
+ {
664
+ "name": "mask",
665
+ "shape": 7,
666
+ "type": "MASK",
667
+ "link": null
668
+ }
669
+ ],
670
+ "outputs": [
671
+ {
672
+ "name": "IMAGE",
673
+ "type": "IMAGE",
674
+ "links": [
675
+ 194,
676
+ 196,
677
+ 197,
678
+ 198
679
+ ]
680
+ },
681
+ {
682
+ "name": "width",
683
+ "type": "INT",
684
+ "links": null
685
+ },
686
+ {
687
+ "name": "height",
688
+ "type": "INT",
689
+ "links": null
690
+ },
691
+ {
692
+ "name": "mask",
693
+ "type": "MASK",
694
+ "links": null
695
+ }
696
+ ],
697
+ "properties": {
698
+ "cnr_id": "comfyui-kjnodes",
699
+ "ver": "468fcc86f0b29e79a8510e8239eb15714d6747a6",
700
+ "Node name for S&R": "ImageResizeKJv2"
701
+ },
702
+ "widgets_values": [
703
+ 768,
704
+ 768,
705
+ "lanczos",
706
+ "crop",
707
+ "0, 0, 0",
708
+ "top",
709
+ 2,
710
+ "cpu"
711
+ ]
712
+ },
713
+ {
714
+ "id": 60,
715
+ "type": "SaveImage",
716
+ "pos": [
717
+ 1644.577392578125,
718
+ 249.6510009765625
719
+ ],
720
+ "size": [
721
+ 580,
722
+ 650
723
+ ],
724
+ "flags": {},
725
+ "order": 16,
726
+ "mode": 0,
727
+ "inputs": [
728
+ {
729
+ "name": "images",
730
+ "type": "IMAGE",
731
+ "link": 110
732
+ }
733
+ ],
734
+ "outputs": [],
735
+ "properties": {
736
+ "cnr_id": "comfy-core",
737
+ "ver": "0.3.48",
738
+ "Node name for S&R": "SaveImage",
739
+ "enableTabs": false,
740
+ "tabWidth": 65,
741
+ "tabXOffset": 10,
742
+ "hasSecondTab": false,
743
+ "secondTabText": "Send Back",
744
+ "secondTabOffset": 80,
745
+ "secondTabWidth": 65,
746
+ "widget_ue_connectable": {}
747
+ },
748
+ "widgets_values": [
749
+ "photorestoration/comfyui_"
750
+ ]
751
+ },
752
+ {
753
+ "id": 78,
754
+ "type": "LoadImage",
755
+ "pos": [
756
+ -220,
757
+ 500
758
+ ],
759
+ "size": [
760
+ 274.080078125,
761
+ 314.0000305175781
762
+ ],
763
+ "flags": {},
764
+ "order": 5,
765
+ "mode": 0,
766
+ "inputs": [],
767
+ "outputs": [
768
+ {
769
+ "name": "IMAGE",
770
+ "type": "IMAGE",
771
+ "links": [
772
+ 192
773
+ ]
774
+ },
775
+ {
776
+ "name": "MASK",
777
+ "type": "MASK",
778
+ "links": null
779
+ }
780
+ ],
781
+ "properties": {
782
+ "cnr_id": "comfy-core",
783
+ "ver": "0.3.50",
784
+ "Node name for S&R": "LoadImage",
785
+ "enableTabs": false,
786
+ "tabWidth": 65,
787
+ "tabXOffset": 10,
788
+ "hasSecondTab": false,
789
+ "secondTabText": "Send Back",
790
+ "secondTabOffset": 80,
791
+ "secondTabWidth": 65,
792
+ "ue_properties": {
793
+ "widget_ue_connectable": {
794
+ "image": true,
795
+ "upload": true
796
+ }
797
+ }
798
+ },
799
+ "widgets_values": [
800
+ "example.png",
801
+ "image"
802
+ ]
803
+ },
804
+ {
805
+ "id": 3,
806
+ "type": "KSampler",
807
+ "pos": [
808
+ 550,
809
+ 240
810
+ ],
811
+ "size": [
812
+ 300,
813
+ 474
814
+ ],
815
+ "flags": {},
816
+ "order": 14,
817
+ "mode": 0,
818
+ "inputs": [
819
+ {
820
+ "name": "model",
821
+ "type": "MODEL",
822
+ "link": 186
823
+ },
824
+ {
825
+ "name": "positive",
826
+ "type": "CONDITIONING",
827
+ "link": 164
828
+ },
829
+ {
830
+ "name": "negative",
831
+ "type": "CONDITIONING",
832
+ "link": 163
833
+ },
834
+ {
835
+ "name": "latent_image",
836
+ "type": "LATENT",
837
+ "link": 170
838
+ }
839
+ ],
840
+ "outputs": [
841
+ {
842
+ "name": "LATENT",
843
+ "type": "LATENT",
844
+ "slot_index": 0,
845
+ "links": [
846
+ 128
847
+ ]
848
+ }
849
+ ],
850
+ "properties": {
851
+ "cnr_id": "comfy-core",
852
+ "ver": "0.3.48",
853
+ "Node name for S&R": "KSampler",
854
+ "enableTabs": false,
855
+ "tabWidth": 65,
856
+ "tabXOffset": 10,
857
+ "hasSecondTab": false,
858
+ "secondTabText": "Send Back",
859
+ "secondTabOffset": 80,
860
+ "secondTabWidth": 65,
861
+ "widget_ue_connectable": {}
862
+ },
863
+ "widgets_values": [
864
+ 509609890097887,
865
+ "fixed",
866
+ 4,
867
+ 1,
868
+ "euler",
869
+ "simple",
870
+ 1
871
+ ]
872
+ }
873
+ ],
874
+ "links": [
875
+ [
876
+ 76,
877
+ 39,
878
+ 0,
879
+ 8,
880
+ 1,
881
+ "VAE"
882
+ ],
883
+ [
884
+ 110,
885
+ 8,
886
+ 0,
887
+ 60,
888
+ 0,
889
+ "IMAGE"
890
+ ],
891
+ [
892
+ 128,
893
+ 3,
894
+ 0,
895
+ 8,
896
+ 0,
897
+ "LATENT"
898
+ ],
899
+ [
900
+ 131,
901
+ 38,
902
+ 0,
903
+ 76,
904
+ 0,
905
+ "CLIP"
906
+ ],
907
+ [
908
+ 132,
909
+ 38,
910
+ 0,
911
+ 77,
912
+ 0,
913
+ "CLIP"
914
+ ],
915
+ [
916
+ 141,
917
+ 66,
918
+ 0,
919
+ 75,
920
+ 0,
921
+ "MODEL"
922
+ ],
923
+ [
924
+ 161,
925
+ 39,
926
+ 0,
927
+ 77,
928
+ 1,
929
+ "VAE"
930
+ ],
931
+ [
932
+ 162,
933
+ 39,
934
+ 0,
935
+ 76,
936
+ 1,
937
+ "VAE"
938
+ ],
939
+ [
940
+ 163,
941
+ 77,
942
+ 0,
943
+ 3,
944
+ 2,
945
+ "CONDITIONING"
946
+ ],
947
+ [
948
+ 164,
949
+ 76,
950
+ 0,
951
+ 3,
952
+ 1,
953
+ "CONDITIONING"
954
+ ],
955
+ [
956
+ 168,
957
+ 39,
958
+ 0,
959
+ 88,
960
+ 1,
961
+ "VAE"
962
+ ],
963
+ [
964
+ 170,
965
+ 88,
966
+ 0,
967
+ 3,
968
+ 3,
969
+ "LATENT"
970
+ ],
971
+ [
972
+ 184,
973
+ 37,
974
+ 0,
975
+ 89,
976
+ 0,
977
+ "MODEL"
978
+ ],
979
+ [
980
+ 185,
981
+ 89,
982
+ 0,
983
+ 66,
984
+ 0,
985
+ "MODEL"
986
+ ],
987
+ [
988
+ 186,
989
+ 75,
990
+ 0,
991
+ 3,
992
+ 0,
993
+ "MODEL"
994
+ ],
995
+ [
996
+ 192,
997
+ 78,
998
+ 0,
999
+ 102,
1000
+ 0,
1001
+ "IMAGE"
1002
+ ],
1003
+ [
1004
+ 194,
1005
+ 102,
1006
+ 0,
1007
+ 88,
1008
+ 0,
1009
+ "IMAGE"
1010
+ ],
1011
+ [
1012
+ 196,
1013
+ 102,
1014
+ 0,
1015
+ 104,
1016
+ 0,
1017
+ "IMAGE"
1018
+ ],
1019
+ [
1020
+ 197,
1021
+ 102,
1022
+ 0,
1023
+ 77,
1024
+ 2,
1025
+ "IMAGE"
1026
+ ],
1027
+ [
1028
+ 198,
1029
+ 102,
1030
+ 0,
1031
+ 76,
1032
+ 2,
1033
+ "IMAGE"
1034
+ ]
1035
+ ],
1036
+ "groups": [
1037
+ {
1038
+ "id": 1,
1039
+ "title": "Step1 - Load models",
1040
+ "bounding": [
1041
+ -270,
1042
+ -40,
1043
+ 370,
1044
+ 450
1045
+ ],
1046
+ "color": "#3f789e",
1047
+ "font_size": 24,
1048
+ "flags": {}
1049
+ },
1050
+ {
1051
+ "id": 2,
1052
+ "title": "Step 2 - Upload image for editing",
1053
+ "bounding": [
1054
+ -270,
1055
+ 430,
1056
+ 370,
1057
+ 400
1058
+ ],
1059
+ "color": "#3f789e",
1060
+ "font_size": 24,
1061
+ "flags": {}
1062
+ },
1063
+ {
1064
+ "id": 3,
1065
+ "title": "Step 3 - Prompt",
1066
+ "bounding": [
1067
+ 130,
1068
+ 130,
1069
+ 380,
1070
+ 433.6000061035156
1071
+ ],
1072
+ "color": "#3f789e",
1073
+ "font_size": 24,
1074
+ "flags": {}
1075
+ }
1076
+ ],
1077
+ "config": {},
1078
+ "extra": {
1079
+ "ds": {
1080
+ "scale": 0.5774921950701706,
1081
+ "offset": [
1082
+ 833.8385219319407,
1083
+ 150.85057127579057
1084
+ ]
1085
+ },
1086
+ "frontendVersion": "1.26.13",
1087
+ "ue_links": [],
1088
+ "links_added_by_ue": [],
1089
+ "VHS_latentpreview": false,
1090
+ "VHS_latentpreviewrate": 0,
1091
+ "VHS_MetadataImage": true,
1092
+ "VHS_KeepIntermediate": true
1093
+ },
1094
+ "version": 0.4
1095
+ }