starsfriday commited on
Commit
5d3dc73
·
verified ·
1 Parent(s): 6d0769c

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ result/result1.png filter=lfs diff=lfs merge=lfs -text
37
+ result/result2.png filter=lfs diff=lfs merge=lfs -text
38
+ result/result3.png filter=lfs diff=lfs merge=lfs -text
39
+ result/result4.png filter=lfs diff=lfs merge=lfs -text
40
+ result/result5.png filter=lfs diff=lfs merge=lfs -text
41
+ result/result6.png filter=lfs diff=lfs merge=lfs -text
Qwen-Edit-2509-LORA.json ADDED
@@ -0,0 +1,1276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
1
+ {
2
+ "id": "9b2f558d-66ee-44dc-9789-6f1fd5577760",
3
+ "revision": 0,
4
+ "last_node_id": 346,
5
+ "last_link_id": 526,
6
+ "nodes": [
7
+ {
8
+ "id": 316,
9
+ "type": "Seed (rgthree)",
10
+ "pos": [
11
+ -673.4555258582924,
12
+ 904.6074943592815
13
+ ],
14
+ "size": [
15
+ 210,
16
+ 130
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "dir": 4,
25
+ "label": "随机种",
26
+ "name": "SEED",
27
+ "shape": 3,
28
+ "type": "INT",
29
+ "links": [
30
+ 482
31
+ ]
32
+ }
33
+ ],
34
+ "properties": {
35
+ "cnr_id": "rgthree-comfy",
36
+ "ver": "f044a9dbb3fc9de55c6244d616d386986add3072"
37
+ },
38
+ "widgets_values": [
39
+ -1,
40
+ "",
41
+ "",
42
+ ""
43
+ ]
44
+ },
45
+ {
46
+ "id": 317,
47
+ "type": "CLIPLoader",
48
+ "pos": [
49
+ -1123.4555258582907,
50
+ 634.6074943592819
51
+ ],
52
+ "size": [
53
+ 330,
54
+ 110
55
+ ],
56
+ "flags": {},
57
+ "order": 1,
58
+ "mode": 0,
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "CLIP",
63
+ "type": "CLIP",
64
+ "slot_index": 0,
65
+ "links": [
66
+ 486,
67
+ 493
68
+ ]
69
+ }
70
+ ],
71
+ "properties": {
72
+ "cnr_id": "comfy-core",
73
+ "ver": "0.3.48",
74
+ "Node name for S&R": "CLIPLoader",
75
+ "models": [
76
+ {
77
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
78
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
79
+ "directory": "text_encoders"
80
+ }
81
+ ],
82
+ "enableTabs": false,
83
+ "tabWidth": 65,
84
+ "tabXOffset": 10,
85
+ "hasSecondTab": false,
86
+ "secondTabText": "Send Back",
87
+ "secondTabOffset": 80,
88
+ "secondTabWidth": 65,
89
+ "widget_ue_connectable": {}
90
+ },
91
+ "widgets_values": [
92
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
93
+ "qwen_image",
94
+ "default"
95
+ ]
96
+ },
97
+ {
98
+ "id": 318,
99
+ "type": "VAELoader",
100
+ "pos": [
101
+ -1123.4555258582907,
102
+ 784.6074943592818
103
+ ],
104
+ "size": [
105
+ 330,
106
+ 60
107
+ ],
108
+ "flags": {},
109
+ "order": 2,
110
+ "mode": 0,
111
+ "inputs": [],
112
+ "outputs": [
113
+ {
114
+ "name": "VAE",
115
+ "type": "VAE",
116
+ "slot_index": 0,
117
+ "links": [
118
+ 484,
119
+ 494
120
+ ]
121
+ }
122
+ ],
123
+ "properties": {
124
+ "cnr_id": "comfy-core",
125
+ "ver": "0.3.48",
126
+ "Node name for S&R": "VAELoader",
127
+ "models": [
128
+ {
129
+ "name": "qwen_image_vae.safetensors",
130
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
131
+ "directory": "vae"
132
+ }
133
+ ],
134
+ "enableTabs": false,
135
+ "tabWidth": 65,
136
+ "tabXOffset": 10,
137
+ "hasSecondTab": false,
138
+ "secondTabText": "Send Back",
139
+ "secondTabOffset": 80,
140
+ "secondTabWidth": 65,
141
+ "widget_ue_connectable": {}
142
+ },
143
+ "widgets_values": [
144
+ "qwen_image_vae.safetensors"
145
+ ]
146
+ },
147
+ {
148
+ "id": 319,
149
+ "type": "KSampler",
150
+ "pos": [
151
+ -383.45552585829165,
152
+ 474.60749435928204
153
+ ],
154
+ "size": [
155
+ 253.9251708984375,
156
+ 546.444091796875
157
+ ],
158
+ "flags": {},
159
+ "order": 16,
160
+ "mode": 0,
161
+ "inputs": [
162
+ {
163
+ "name": "model",
164
+ "type": "MODEL",
165
+ "link": 478
166
+ },
167
+ {
168
+ "name": "positive",
169
+ "type": "CONDITIONING",
170
+ "link": 479
171
+ },
172
+ {
173
+ "name": "negative",
174
+ "type": "CONDITIONING",
175
+ "link": 480
176
+ },
177
+ {
178
+ "name": "latent_image",
179
+ "type": "LATENT",
180
+ "link": 481
181
+ },
182
+ {
183
+ "name": "seed",
184
+ "type": "INT",
185
+ "widget": {
186
+ "name": "seed"
187
+ },
188
+ "link": 482
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "name": "LATENT",
194
+ "type": "LATENT",
195
+ "slot_index": 0,
196
+ "links": [
197
+ 483
198
+ ]
199
+ }
200
+ ],
201
+ "properties": {
202
+ "cnr_id": "comfy-core",
203
+ "ver": "0.3.48",
204
+ "Node name for S&R": "KSampler",
205
+ "enableTabs": false,
206
+ "tabWidth": 65,
207
+ "tabXOffset": 10,
208
+ "hasSecondTab": false,
209
+ "secondTabText": "Send Back",
210
+ "secondTabOffset": 80,
211
+ "secondTabWidth": 65,
212
+ "widget_ue_connectable": {}
213
+ },
214
+ "widgets_values": [
215
+ 67592718088490,
216
+ "randomize",
217
+ 4,
218
+ 1,
219
+ "euler",
220
+ "simple",
221
+ 1
222
+ ]
223
+ },
224
+ {
225
+ "id": 321,
226
+ "type": "ModelSamplingAuraFlow",
227
+ "pos": [
228
+ -723.4555258582924,
229
+ 374.60749435928227
230
+ ],
231
+ "size": [
232
+ 300,
233
+ 58
234
+ ],
235
+ "flags": {},
236
+ "order": 15,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "model",
241
+ "type": "MODEL",
242
+ "link": 485
243
+ }
244
+ ],
245
+ "outputs": [
246
+ {
247
+ "name": "MODEL",
248
+ "type": "MODEL",
249
+ "links": [
250
+ 478
251
+ ]
252
+ }
253
+ ],
254
+ "properties": {
255
+ "cnr_id": "comfy-core",
256
+ "ver": "0.3.48",
257
+ "Node name for S&R": "ModelSamplingAuraFlow",
258
+ "enableTabs": false,
259
+ "tabWidth": 65,
260
+ "tabXOffset": 10,
261
+ "hasSecondTab": false,
262
+ "secondTabText": "Send Back",
263
+ "secondTabOffset": 80,
264
+ "secondTabWidth": 65,
265
+ "widget_ue_connectable": {}
266
+ },
267
+ "widgets_values": [
268
+ 3.1000000000000005
269
+ ]
270
+ },
271
+ {
272
+ "id": 322,
273
+ "type": "CLIPTextEncode",
274
+ "pos": [
275
+ -753.4555258582924,
276
+ 704.6074943592818
277
+ ],
278
+ "size": [
279
+ 350.8778076171875,
280
+ 138.01828002929688
281
+ ],
282
+ "flags": {
283
+ "collapsed": false
284
+ },
285
+ "order": 7,
286
+ "mode": 0,
287
+ "inputs": [
288
+ {
289
+ "name": "clip",
290
+ "type": "CLIP",
291
+ "link": 486
292
+ }
293
+ ],
294
+ "outputs": [
295
+ {
296
+ "name": "CONDITIONING",
297
+ "type": "CONDITIONING",
298
+ "slot_index": 0,
299
+ "links": [
300
+ 480
301
+ ]
302
+ }
303
+ ],
304
+ "title": "CLIP Text Encode (Negative Prompt)",
305
+ "properties": {
306
+ "cnr_id": "comfy-core",
307
+ "ver": "0.3.48",
308
+ "Node name for S&R": "CLIPTextEncode",
309
+ "enableTabs": false,
310
+ "tabWidth": 65,
311
+ "tabXOffset": 10,
312
+ "hasSecondTab": false,
313
+ "secondTabText": "Send Back",
314
+ "secondTabOffset": 80,
315
+ "secondTabWidth": 65,
316
+ "widget_ue_connectable": {}
317
+ },
318
+ "widgets_values": [
319
+ "",
320
+ [
321
+ false,
322
+ true
323
+ ]
324
+ ]
325
+ },
326
+ {
327
+ "id": 327,
328
+ "type": "CR SDXL Aspect Ratio",
329
+ "pos": [
330
+ -1083.4555258582907,
331
+ 914.6074943592815
332
+ ],
333
+ "size": [
334
+ 270,
335
+ 278
336
+ ],
337
+ "flags": {},
338
+ "order": 14,
339
+ "mode": 0,
340
+ "inputs": [
341
+ {
342
+ "name": "width",
343
+ "type": "INT",
344
+ "widget": {
345
+ "name": "width"
346
+ },
347
+ "link": 491
348
+ },
349
+ {
350
+ "name": "height",
351
+ "type": "INT",
352
+ "widget": {
353
+ "name": "height"
354
+ },
355
+ "link": 492
356
+ }
357
+ ],
358
+ "outputs": [
359
+ {
360
+ "label": "宽度",
361
+ "name": "width",
362
+ "type": "INT",
363
+ "links": []
364
+ },
365
+ {
366
+ "label": "高度",
367
+ "name": "height",
368
+ "type": "INT",
369
+ "links": []
370
+ },
371
+ {
372
+ "label": "放大系数",
373
+ "name": "upscale_factor",
374
+ "type": "FLOAT",
375
+ "links": null
376
+ },
377
+ {
378
+ "label": "批次大小",
379
+ "name": "batch_size",
380
+ "type": "INT",
381
+ "links": null
382
+ },
383
+ {
384
+ "name": "empty_latent",
385
+ "type": "LATENT",
386
+ "links": [
387
+ 481
388
+ ]
389
+ },
390
+ {
391
+ "name": "show_help",
392
+ "type": "STRING",
393
+ "links": null
394
+ }
395
+ ],
396
+ "properties": {
397
+ "cnr_id": "comfyroll",
398
+ "ver": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
399
+ "Node name for S&R": "CR SDXL Aspect Ratio"
400
+ },
401
+ "widgets_values": [
402
+ 1024,
403
+ 1024,
404
+ "custom",
405
+ "Off",
406
+ 1,
407
+ 1
408
+ ]
409
+ },
410
+ {
411
+ "id": 329,
412
+ "type": "LoraLoaderModelOnly",
413
+ "pos": [
414
+ -1073.4555258582907,
415
+ 274.60749435928216
416
+ ],
417
+ "size": [
418
+ 260.8006286621094,
419
+ 82
420
+ ],
421
+ "flags": {},
422
+ "order": 12,
423
+ "mode": 0,
424
+ "inputs": [
425
+ {
426
+ "name": "model",
427
+ "type": "MODEL",
428
+ "link": 498
429
+ }
430
+ ],
431
+ "outputs": [
432
+ {
433
+ "name": "MODEL",
434
+ "type": "MODEL",
435
+ "links": [
436
+ 485
437
+ ]
438
+ }
439
+ ],
440
+ "properties": {
441
+ "cnr_id": "comfy-core",
442
+ "ver": "0.3.49",
443
+ "Node name for S&R": "LoraLoaderModelOnly",
444
+ "models": [
445
+ {
446
+ "name": "Qwen-Image-Lightning-8steps-V1.0.safetensors",
447
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-V1.0.safetensors",
448
+ "directory": "loras"
449
+ }
450
+ ]
451
+ },
452
+ "widgets_values": [
453
+ "qwen-image/Qwen-Image-Edit-Lightning-4steps-V1.0-bf16.safetensors",
454
+ 1
455
+ ]
456
+ },
457
+ {
458
+ "id": 330,
459
+ "type": "LoraLoaderModelOnly",
460
+ "pos": [
461
+ -1083.4555258582907,
462
+ 404.6074943592822
463
+ ],
464
+ "size": [
465
+ 260.8006286621094,
466
+ 82
467
+ ],
468
+ "flags": {},
469
+ "order": 8,
470
+ "mode": 0,
471
+ "inputs": [
472
+ {
473
+ "name": "model",
474
+ "type": "MODEL",
475
+ "link": 499
476
+ }
477
+ ],
478
+ "outputs": [
479
+ {
480
+ "name": "MODEL",
481
+ "type": "MODEL",
482
+ "links": [
483
+ 498
484
+ ]
485
+ }
486
+ ],
487
+ "properties": {
488
+ "cnr_id": "comfy-core",
489
+ "ver": "0.3.49",
490
+ "Node name for S&R": "LoraLoaderModelOnly",
491
+ "models": [
492
+ {
493
+ "name": "Qwen-Image-Lightning-8steps-V1.0.safetensors",
494
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-V1.0.safetensors",
495
+ "directory": "loras"
496
+ }
497
+ ]
498
+ },
499
+ "widgets_values": [
500
+ "qwen-image/qwen_image_edit_2509_jiqingkiss.safetensors",
501
+ 1
502
+ ]
503
+ },
504
+ {
505
+ "id": 331,
506
+ "type": "UNETLoader",
507
+ "pos": [
508
+ -1083.4555258582907,
509
+ 524.6074943592818
510
+ ],
511
+ "size": [
512
+ 270,
513
+ 82
514
+ ],
515
+ "flags": {},
516
+ "order": 3,
517
+ "mode": 0,
518
+ "inputs": [],
519
+ "outputs": [
520
+ {
521
+ "name": "MODEL",
522
+ "type": "MODEL",
523
+ "links": [
524
+ 499
525
+ ]
526
+ }
527
+ ],
528
+ "properties": {
529
+ "cnr_id": "comfy-core",
530
+ "ver": "0.3.59",
531
+ "Node name for S&R": "UNETLoader"
532
+ },
533
+ "widgets_values": [
534
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
535
+ "default"
536
+ ]
537
+ },
538
+ {
539
+ "id": 323,
540
+ "type": "LayerUtility: ImageScaleByAspectRatio V2",
541
+ "pos": [
542
+ -1443.4555258582907,
543
+ 374.60749435928227
544
+ ],
545
+ "size": [
546
+ 274.9136657714844,
547
+ 330
548
+ ],
549
+ "flags": {},
550
+ "order": 10,
551
+ "mode": 0,
552
+ "inputs": [
553
+ {
554
+ "name": "image",
555
+ "shape": 7,
556
+ "type": "IMAGE",
557
+ "link": 487
558
+ },
559
+ {
560
+ "name": "mask",
561
+ "shape": 7,
562
+ "type": "MASK",
563
+ "link": null
564
+ }
565
+ ],
566
+ "outputs": [
567
+ {
568
+ "name": "image",
569
+ "type": "IMAGE",
570
+ "links": [
571
+ 495
572
+ ]
573
+ },
574
+ {
575
+ "name": "mask",
576
+ "type": "MASK",
577
+ "links": null
578
+ },
579
+ {
580
+ "name": "original_size",
581
+ "type": "BOX",
582
+ "links": null
583
+ },
584
+ {
585
+ "name": "width",
586
+ "type": "INT",
587
+ "links": []
588
+ },
589
+ {
590
+ "name": "height",
591
+ "type": "INT",
592
+ "links": []
593
+ }
594
+ ],
595
+ "properties": {
596
+ "cnr_id": "comfyui_layerstyle",
597
+ "ver": "c0fb64d0ebcb81c6c445a8af79ecee24bc3845b0",
598
+ "Node name for S&R": "LayerUtility: ImageScaleByAspectRatio V2"
599
+ },
600
+ "widgets_values": [
601
+ "original",
602
+ 1,
603
+ 1,
604
+ "letterbox",
605
+ "lanczos",
606
+ "8",
607
+ "longest",
608
+ 1280,
609
+ "#000000"
610
+ ],
611
+ "color": "rgba(38, 73, 116, 0.7)"
612
+ },
613
+ {
614
+ "id": 324,
615
+ "type": "LayerUtility: ImageScaleByAspectRatio V2",
616
+ "pos": [
617
+ -1443.4555258582907,
618
+ 754.6074943592816
619
+ ],
620
+ "size": [
621
+ 274.9136657714844,
622
+ 380
623
+ ],
624
+ "flags": {},
625
+ "order": 9,
626
+ "mode": 0,
627
+ "inputs": [
628
+ {
629
+ "name": "image",
630
+ "shape": 7,
631
+ "type": "IMAGE",
632
+ "link": 488
633
+ },
634
+ {
635
+ "name": "mask",
636
+ "shape": 7,
637
+ "type": "MASK",
638
+ "link": null
639
+ }
640
+ ],
641
+ "outputs": [
642
+ {
643
+ "name": "image",
644
+ "type": "IMAGE",
645
+ "links": [
646
+ 496
647
+ ]
648
+ },
649
+ {
650
+ "name": "mask",
651
+ "type": "MASK",
652
+ "links": null
653
+ },
654
+ {
655
+ "name": "original_size",
656
+ "type": "BOX",
657
+ "links": null
658
+ },
659
+ {
660
+ "name": "width",
661
+ "type": "INT",
662
+ "links": []
663
+ },
664
+ {
665
+ "name": "height",
666
+ "type": "INT",
667
+ "links": []
668
+ }
669
+ ],
670
+ "properties": {
671
+ "cnr_id": "comfyui_layerstyle",
672
+ "ver": "c0fb64d0ebcb81c6c445a8af79ecee24bc3845b0",
673
+ "Node name for S&R": "LayerUtility: ImageScaleByAspectRatio V2"
674
+ },
675
+ "widgets_values": [
676
+ "original",
677
+ 1,
678
+ 1,
679
+ "letterbox",
680
+ "lanczos",
681
+ "8",
682
+ "longest",
683
+ 1280,
684
+ "#000000"
685
+ ],
686
+ "color": "rgba(38, 73, 116, 0.7)"
687
+ },
688
+ {
689
+ "id": 320,
690
+ "type": "VAEDecode",
691
+ "pos": [
692
+ -363.45552585829165,
693
+ 374.60749435928227
694
+ ],
695
+ "size": [
696
+ 210,
697
+ 46
698
+ ],
699
+ "flags": {
700
+ "collapsed": false
701
+ },
702
+ "order": 17,
703
+ "mode": 0,
704
+ "inputs": [
705
+ {
706
+ "name": "samples",
707
+ "type": "LATENT",
708
+ "link": 483
709
+ },
710
+ {
711
+ "name": "vae",
712
+ "type": "VAE",
713
+ "link": 484
714
+ }
715
+ ],
716
+ "outputs": [
717
+ {
718
+ "name": "IMAGE",
719
+ "type": "IMAGE",
720
+ "slot_index": 0,
721
+ "links": [
722
+ 489
723
+ ]
724
+ }
725
+ ],
726
+ "properties": {
727
+ "cnr_id": "comfy-core",
728
+ "ver": "0.3.48",
729
+ "Node name for S&R": "VAEDecode",
730
+ "enableTabs": false,
731
+ "tabWidth": 65,
732
+ "tabXOffset": 10,
733
+ "hasSecondTab": false,
734
+ "secondTabText": "Send Back",
735
+ "secondTabOffset": 80,
736
+ "secondTabWidth": 65,
737
+ "widget_ue_connectable": {}
738
+ },
739
+ "widgets_values": []
740
+ },
741
+ {
742
+ "id": 326,
743
+ "type": "LayerUtility: ImageScaleByAspectRatio V2",
744
+ "pos": [
745
+ -1443.4555258582907,
746
+ 1124.6074943592819
747
+ ],
748
+ "size": [
749
+ 274.9136657714844,
750
+ 330
751
+ ],
752
+ "flags": {},
753
+ "order": 11,
754
+ "mode": 0,
755
+ "inputs": [
756
+ {
757
+ "name": "image",
758
+ "shape": 7,
759
+ "type": "IMAGE",
760
+ "link": 524
761
+ },
762
+ {
763
+ "name": "mask",
764
+ "shape": 7,
765
+ "type": "MASK",
766
+ "link": null
767
+ }
768
+ ],
769
+ "outputs": [
770
+ {
771
+ "name": "image",
772
+ "type": "IMAGE",
773
+ "links": [
774
+ 497
775
+ ]
776
+ },
777
+ {
778
+ "name": "mask",
779
+ "type": "MASK",
780
+ "links": null
781
+ },
782
+ {
783
+ "name": "original_size",
784
+ "type": "BOX",
785
+ "links": null
786
+ },
787
+ {
788
+ "name": "width",
789
+ "type": "INT",
790
+ "links": [
791
+ 491
792
+ ]
793
+ },
794
+ {
795
+ "name": "height",
796
+ "type": "INT",
797
+ "links": [
798
+ 492
799
+ ]
800
+ }
801
+ ],
802
+ "properties": {
803
+ "cnr_id": "comfyui_layerstyle",
804
+ "ver": "c0fb64d0ebcb81c6c445a8af79ecee24bc3845b0",
805
+ "Node name for S&R": "LayerUtility: ImageScaleByAspectRatio V2"
806
+ },
807
+ "widgets_values": [
808
+ "original",
809
+ 1,
810
+ 1,
811
+ "letterbox",
812
+ "lanczos",
813
+ "8",
814
+ "longest",
815
+ 1280,
816
+ "#000000"
817
+ ],
818
+ "color": "rgba(38, 73, 116, 0.7)"
819
+ },
820
+ {
821
+ "id": 325,
822
+ "type": "PreviewImage",
823
+ "pos": [
824
+ -46.389459587708444,
825
+ 347.97682523860675
826
+ ],
827
+ "size": [
828
+ 252.37942504882812,
829
+ 369.21356201171875
830
+ ],
831
+ "flags": {},
832
+ "order": 18,
833
+ "mode": 0,
834
+ "inputs": [
835
+ {
836
+ "name": "images",
837
+ "type": "IMAGE",
838
+ "link": 489
839
+ }
840
+ ],
841
+ "outputs": [],
842
+ "properties": {
843
+ "cnr_id": "comfy-core",
844
+ "ver": "0.3.50",
845
+ "Node name for S&R": "PreviewImage"
846
+ },
847
+ "widgets_values": []
848
+ },
849
+ {
850
+ "id": 332,
851
+ "type": "LoadImage",
852
+ "pos": [
853
+ -1733.4555258582907,
854
+ 804.6074943592819
855
+ ],
856
+ "size": [
857
+ 265.8947448730469,
858
+ 329.90789794921875
859
+ ],
860
+ "flags": {},
861
+ "order": 4,
862
+ "mode": 0,
863
+ "inputs": [],
864
+ "outputs": [
865
+ {
866
+ "name": "IMAGE",
867
+ "type": "IMAGE",
868
+ "links": [
869
+ 488
870
+ ]
871
+ },
872
+ {
873
+ "name": "MASK",
874
+ "type": "MASK",
875
+ "links": null
876
+ }
877
+ ],
878
+ "properties": {
879
+ "cnr_id": "comfy-core",
880
+ "ver": "0.3.50",
881
+ "Node name for S&R": "LoadImage"
882
+ },
883
+ "widgets_values": [
884
+ "test (29).jpg",
885
+ "image"
886
+ ]
887
+ },
888
+ {
889
+ "id": 333,
890
+ "type": "LoadImage",
891
+ "pos": [
892
+ -1723.4555258582907,
893
+ 424.6074943592822
894
+ ],
895
+ "size": [
896
+ 265.8947448730469,
897
+ 329.90789794921875
898
+ ],
899
+ "flags": {},
900
+ "order": 5,
901
+ "mode": 0,
902
+ "inputs": [],
903
+ "outputs": [
904
+ {
905
+ "name": "IMAGE",
906
+ "type": "IMAGE",
907
+ "links": [
908
+ 487
909
+ ]
910
+ },
911
+ {
912
+ "name": "MASK",
913
+ "type": "MASK",
914
+ "links": null
915
+ }
916
+ ],
917
+ "properties": {
918
+ "cnr_id": "comfy-core",
919
+ "ver": "0.3.50",
920
+ "Node name for S&R": "LoadImage"
921
+ },
922
+ "widgets_values": [
923
+ "OIP-C.jpg",
924
+ "image"
925
+ ]
926
+ },
927
+ {
928
+ "id": 328,
929
+ "type": "TextEncodeQwenImageEditPlus",
930
+ "pos": [
931
+ -733.4555258582924,
932
+ 484.6074943592821
933
+ ],
934
+ "size": [
935
+ 320.1754150390625,
936
+ 173
937
+ ],
938
+ "flags": {},
939
+ "order": 13,
940
+ "mode": 0,
941
+ "inputs": [
942
+ {
943
+ "name": "clip",
944
+ "type": "CLIP",
945
+ "link": 493
946
+ },
947
+ {
948
+ "name": "vae",
949
+ "shape": 7,
950
+ "type": "VAE",
951
+ "link": 494
952
+ },
953
+ {
954
+ "name": "image1",
955
+ "shape": 7,
956
+ "type": "IMAGE",
957
+ "link": 495
958
+ },
959
+ {
960
+ "name": "image2",
961
+ "shape": 7,
962
+ "type": "IMAGE",
963
+ "link": 496
964
+ },
965
+ {
966
+ "name": "image3",
967
+ "shape": 7,
968
+ "type": "IMAGE",
969
+ "link": 497
970
+ }
971
+ ],
972
+ "outputs": [
973
+ {
974
+ "name": "CONDITIONING",
975
+ "type": "CONDITIONING",
976
+ "links": [
977
+ 479
978
+ ]
979
+ }
980
+ ],
981
+ "properties": {
982
+ "cnr_id": "comfy-core",
983
+ "ver": "0.3.59",
984
+ "Node name for S&R": "TextEncodeQwenImageEditPlus"
985
+ },
986
+ "widgets_values": [
987
+ "保持图3的图片和视角不改变,让图1和图2中的人在图三的马路上站立拥抱着激情亲吻",
988
+ [
989
+ false,
990
+ true
991
+ ]
992
+ ]
993
+ },
994
+ {
995
+ "id": 346,
996
+ "type": "LoadImage",
997
+ "pos": [
998
+ -1741.1460901399319,
999
+ 1208.068167881411
1000
+ ],
1001
+ "size": [
1002
+ 265.8947448730469,
1003
+ 329.90789794921875
1004
+ ],
1005
+ "flags": {},
1006
+ "order": 6,
1007
+ "mode": 0,
1008
+ "inputs": [],
1009
+ "outputs": [
1010
+ {
1011
+ "name": "IMAGE",
1012
+ "type": "IMAGE",
1013
+ "links": [
1014
+ 524
1015
+ ]
1016
+ },
1017
+ {
1018
+ "name": "MASK",
1019
+ "type": "MASK",
1020
+ "links": null
1021
+ }
1022
+ ],
1023
+ "properties": {
1024
+ "cnr_id": "comfy-core",
1025
+ "ver": "0.3.50",
1026
+ "Node name for S&R": "LoadImage"
1027
+ },
1028
+ "widgets_values": [
1029
+ "24.jpg",
1030
+ "image"
1031
+ ]
1032
+ }
1033
+ ],
1034
+ "links": [
1035
+ [
1036
+ 478,
1037
+ 321,
1038
+ 0,
1039
+ 319,
1040
+ 0,
1041
+ "MODEL"
1042
+ ],
1043
+ [
1044
+ 479,
1045
+ 328,
1046
+ 0,
1047
+ 319,
1048
+ 1,
1049
+ "CONDITIONING"
1050
+ ],
1051
+ [
1052
+ 480,
1053
+ 322,
1054
+ 0,
1055
+ 319,
1056
+ 2,
1057
+ "CONDITIONING"
1058
+ ],
1059
+ [
1060
+ 481,
1061
+ 327,
1062
+ 4,
1063
+ 319,
1064
+ 3,
1065
+ "LATENT"
1066
+ ],
1067
+ [
1068
+ 482,
1069
+ 316,
1070
+ 0,
1071
+ 319,
1072
+ 4,
1073
+ "INT"
1074
+ ],
1075
+ [
1076
+ 483,
1077
+ 319,
1078
+ 0,
1079
+ 320,
1080
+ 0,
1081
+ "LATENT"
1082
+ ],
1083
+ [
1084
+ 484,
1085
+ 318,
1086
+ 0,
1087
+ 320,
1088
+ 1,
1089
+ "VAE"
1090
+ ],
1091
+ [
1092
+ 485,
1093
+ 329,
1094
+ 0,
1095
+ 321,
1096
+ 0,
1097
+ "MODEL"
1098
+ ],
1099
+ [
1100
+ 486,
1101
+ 317,
1102
+ 0,
1103
+ 322,
1104
+ 0,
1105
+ "CLIP"
1106
+ ],
1107
+ [
1108
+ 487,
1109
+ 333,
1110
+ 0,
1111
+ 323,
1112
+ 0,
1113
+ "IMAGE"
1114
+ ],
1115
+ [
1116
+ 488,
1117
+ 332,
1118
+ 0,
1119
+ 324,
1120
+ 0,
1121
+ "IMAGE"
1122
+ ],
1123
+ [
1124
+ 489,
1125
+ 320,
1126
+ 0,
1127
+ 325,
1128
+ 0,
1129
+ "IMAGE"
1130
+ ],
1131
+ [
1132
+ 491,
1133
+ 326,
1134
+ 3,
1135
+ 327,
1136
+ 0,
1137
+ "INT"
1138
+ ],
1139
+ [
1140
+ 492,
1141
+ 326,
1142
+ 4,
1143
+ 327,
1144
+ 1,
1145
+ "INT"
1146
+ ],
1147
+ [
1148
+ 493,
1149
+ 317,
1150
+ 0,
1151
+ 328,
1152
+ 0,
1153
+ "CLIP"
1154
+ ],
1155
+ [
1156
+ 494,
1157
+ 318,
1158
+ 0,
1159
+ 328,
1160
+ 1,
1161
+ "VAE"
1162
+ ],
1163
+ [
1164
+ 495,
1165
+ 323,
1166
+ 0,
1167
+ 328,
1168
+ 2,
1169
+ "IMAGE"
1170
+ ],
1171
+ [
1172
+ 496,
1173
+ 324,
1174
+ 0,
1175
+ 328,
1176
+ 3,
1177
+ "IMAGE"
1178
+ ],
1179
+ [
1180
+ 497,
1181
+ 326,
1182
+ 0,
1183
+ 328,
1184
+ 4,
1185
+ "IMAGE"
1186
+ ],
1187
+ [
1188
+ 498,
1189
+ 330,
1190
+ 0,
1191
+ 329,
1192
+ 0,
1193
+ "MODEL"
1194
+ ],
1195
+ [
1196
+ 499,
1197
+ 331,
1198
+ 0,
1199
+ 330,
1200
+ 0,
1201
+ "MODEL"
1202
+ ],
1203
+ [
1204
+ 524,
1205
+ 346,
1206
+ 0,
1207
+ 326,
1208
+ 0,
1209
+ "IMAGE"
1210
+ ]
1211
+ ],
1212
+ "groups": [
1213
+ {
1214
+ "id": 41,
1215
+ "title": "模型加载",
1216
+ "bounding": [
1217
+ -1133.4555258582907,
1218
+ 294.60749435928216,
1219
+ 359.0284729003906,
1220
+ 558.515625
1221
+ ],
1222
+ "color": "#3f789e",
1223
+ "font_size": 24,
1224
+ "flags": {}
1225
+ },
1226
+ {
1227
+ "id": 42,
1228
+ "title": "Latent",
1229
+ "bounding": [
1230
+ -763.4555258582924,
1231
+ 294.60749435928216,
1232
+ 644.760436142449,
1233
+ 757.9360704034948
1234
+ ],
1235
+ "color": "#3f789e",
1236
+ "font_size": 24,
1237
+ "flags": {}
1238
+ },
1239
+ {
1240
+ "id": 43,
1241
+ "title": "输入端",
1242
+ "bounding": [
1243
+ -1743.4555258582907,
1244
+ 294.60749435928216,
1245
+ 598.196044921875,
1246
+ 1185.004150390625
1247
+ ],
1248
+ "color": "#3f789e",
1249
+ "font_size": 24,
1250
+ "flags": {}
1251
+ }
1252
+ ],
1253
+ "config": {},
1254
+ "extra": {
1255
+ "ds": {
1256
+ "scale": 0.7972024500000088,
1257
+ "offset": [
1258
+ 2197.41698140075,
1259
+ 56.70746689284044
1260
+ ]
1261
+ },
1262
+ "frontendVersion": "1.28.7",
1263
+ "VHS_KeepIntermediate": true,
1264
+ "links_added_by_ue": [],
1265
+ "VHS_MetadataImage": true,
1266
+ "ue_links": [],
1267
+ "0246.VERSION": [
1268
+ 0,
1269
+ 0,
1270
+ 4
1271
+ ],
1272
+ "VHS_latentpreviewrate": 0,
1273
+ "VHS_latentpreview": false
1274
+ },
1275
+ "version": 0.4
1276
+ }
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - Qwen/Qwen-Image-Edit-2509
7
+ tags:
8
+ - image-generation
9
+ - lora
10
+ - Qwen-Image
11
+ pipeline_tag: image-to-image
12
+ library_name: diffusers
13
+ widget:
14
+ - text: >-
15
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的地铁上的座位坐着一只手抓着扶手上靠着拥抱着激情亲吻
16
+ output:
17
+ url: result/result1.png
18
+ - text: >-
19
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的电梯中的右边角落站着拥抱着激情亲吻
20
+ output:
21
+ url: result/result2.png
22
+ - text: >-
23
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的钢琴边上靠着拥抱着激情亲吻
24
+ output:
25
+ url: result/result3.png
26
+ - text: >-
27
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的台球桌上靠着拥抱着激情亲吻
28
+ output:
29
+ url: result/result4.png
30
+ - text: >-
31
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的洗衣房上靠着洗衣机拥抱着激情亲吻
32
+ output:
33
+ url: result/result5.png
34
+ - text: >-
35
+ 保持图3的图片和视角不改变,让图1和图2中的人在图三的马路上站立拥抱着激情亲吻
36
+ output:
37
+ url: result/result6.png
38
+ ---
39
+ # valiantcat Qwen/Qwen-Image-Edit-2509 LoRA
40
+
41
+ <Gallery />
42
+
43
+ ## Model Card for Model ID
44
+
45
+ <!-- Provide a quick summary of what the model is/does. -->
46
+
47
+ This is a model for generation of embrace and kiss images of the specified person and the specified scene, trained on ```Qwen/Qwen/Qwen-Image-Edit-2509```, and it is mainly used to generate an image of a hug and kiss in the current scene based on two uploaded character pictures and one scene picture, while maintaining consistency between the characters and the scene.For use in ```ComfyUI```.
48
+
49
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
50
+ <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
51
+ <p>This LoRA works with a modified version of <a href="https://huggingface.co/valiantcat/Qwen-Image-Edit-2509-Passionate-kiss/blob/main/Qwen-Edit-2509-LORA.json" style="color: #0366d6; text-decoration: none;">Comfy's Qwen/Qwen-Image-Edit-2509 workflow</a>. The main modification is adding a Qwen/Qwen-Image-Edit-2509 LoRA node connected to the base model.</p>
52
+ <p>See the Downloads section above for the modified workflow.</p>
53
+ </div>
54
+
55
+ ### Direct Use
56
+
57
+ ```
58
+ from diffusers import QwenImageEditPipeline
59
+ import torch
60
+ from PIL import Image
61
+
62
+ # Load the pipeline
63
+ pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
64
+ pipeline.to(torch.bfloat16)
65
+ pipeline.to("cuda")
66
+
67
+ # Load trained LoRA weights for in-scene editing
68
+ pipeline.load_lora_weights("valiantcat/Qwen-Image-Edit-2509-Passionate-kiss", weight_name="qwen_image_edit_2509_Passionate-kiss.safetensors")
69
+
70
+ # Load input image
71
+ image = Image.open("./result/test.jpg").convert("RGB")
72
+
73
+ # Define in-scene editing prompt
74
+ prompt = "Make a shot in the same scene of the left hand securing the edge of the cutting board while the right hand tilts it, causing the chopped tomatoes to slide off into the pan, camera angle shifts slightly to the left to center more on the pan."
75
+
76
+ # Generate edited image with enhanced scene understanding
77
+ inputs = {
78
+ "image": image,
79
+ "prompt": prompt,
80
+ "generator": torch.manual_seed(12345),
81
+ "true_cfg_scale": 4.0,
82
+ "negative_prompt": " ",
83
+ "num_inference_steps": 50,
84
+ }
85
+
86
+ with torch.inference_mode():
87
+ output = pipeline(**inputs)
88
+ output_image = output.images[0]
89
+ output_image.save("edited_image.png")
90
+
91
+
92
+ ```
93
+
94
+ ## Trigger phrase
95
+
96
+ ```保持图3的图片和视角不改变,让图1和图2中的人在图三的马路上站立拥抱着激情亲吻.```
97
+
98
+ There is no fixed trigger word. The specific removal prompt needs to be tested more
99
+
100
+ ## Download model
101
+
102
+ Weights for this model are available in Safetensors format.
103
+
104
+ [Download](https://huggingface.co/valiantcat/Qwen-Image-Edit-2509-Passionate-kiss)
105
+
106
+ ## Training at Chongqing Valiant Cat
107
+
108
+ This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome
qwen_image_edit_2509_Passionate-kiss.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30d4e2e9aeca280711b333e158d19305c74118420dd704719895ec96e792f4c3
3
+ size 590057176
result/result1.png ADDED

Git LFS Details

  • SHA256: 92fde281c9fc5a5b08981cf25e840acc27bfe8044d548b79fd61cb1d27727129
  • Pointer size: 133 Bytes
  • Size of remote file: 15.2 MB
result/result2.png ADDED

Git LFS Details

  • SHA256: 92fde281c9fc5a5b08981cf25e840acc27bfe8044d548b79fd61cb1d27727129
  • Pointer size: 133 Bytes
  • Size of remote file: 15.2 MB
result/result3.png ADDED

Git LFS Details

  • SHA256: 3ead83c51a0fe969e8a7317f47c988b7de3f3ff89b6fc465c428118a2c61ed5f
  • Pointer size: 133 Bytes
  • Size of remote file: 11 MB
result/result4.png ADDED

Git LFS Details

  • SHA256: 8e9b71348689f804d5bf3e42a327c97c9e3d071e376aecd812e18e7c49bc966e
  • Pointer size: 133 Bytes
  • Size of remote file: 10.4 MB
result/result5.png ADDED

Git LFS Details

  • SHA256: f44a63918bf0fd8e72b24061eb004e608c3f1ce0407d3f9a20a59eed27ab682b
  • Pointer size: 133 Bytes
  • Size of remote file: 13.4 MB
result/result6.png ADDED

Git LFS Details

  • SHA256: 16ee573d44759628b3d7e91b8c7dad50f7e444472b7210f1e95c5547eafef1ac
  • Pointer size: 133 Bytes
  • Size of remote file: 16.9 MB