工作流 /
图像 /
照片重打光

照片重打光
Image Relight
使用 Qwen-Image-Edit 和 LoRA 重新打光图片。
图像
6 个节点 1 个输入 35 次使用 ComfyUI ≥ 0.3.60 ComfyUI 44 KB
需要的权重
这个工作流引用了 5 个权重文件,其中 5 个能在本站模型库里找到。
Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors
在模型库查看
Qwen-Image-Edit-2509-Relight.safetensors
在模型库查看
qwen_2.5_vl_7b_fp8_scaled.safetensors
在模型库查看
qwen_image_edit_2509_fp8_e4m3fn.safetensors
在模型库查看
qwen_image_vae.safetensors
在模型库查看
节点构成
LoadImage
× 1
MarkdownNote
× 1
StringConcatenate
× 1
SaveImage
× 1
PrimitiveStringMultiline
× 1
3a756f48-801b-48eb-80dd-279f32d09b12
× 1
官方标注的模型
Qwen-Image-Edit
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "2ad46e2e-6218-46a0-80bb-c88cc973d532",
3 "revision": 0,
4 "last_node_id": 118,
5 "last_link_id": 261,
6 "nodes": [
7 {
8 "id": 11,
9 "type": "LoadImage",
10 "pos": [
11 -270,
12 410
13 ],
14 "size": [
15 310,
16 480
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 8
28 ]
29 },
30 {
31 "name": "MASK",
32 "type": "MASK",
33 "links": null
34 }
35 ],
36 "properties": {
37 "Node name for S&R": "LoadImage",
38 "cnr_id": "comfy-core",
39 "ver": "0.4.0",
40 "enableTabs": false,
41 "tabWidth": 65,
42 "tabXOffset": 10,
43 "hasSecondTab": false,
44 "secondTabText": "Send Back",
45 "secondTabOffset": 80,
46 "secondTabWidth": 65
47 },
48 "widgets_values": [
49 "warm_living_room.png",
50 "image"
51 ]
52 },
53 {
54 "id": 13,
55 "type": "MarkdownNote",
56 "pos": [
57 -970,
58 410
59 ],
60 "size": [
61 660,
62 790
63 ],
64 "flags": [],
65 "order": 1,
66 "mode": 0,
67 "inputs": [],
68 "outputs": [],
69 "title": "For Local User",
70 "properties": [],
71 "widgets_values": [
72 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n## Model links\n\n- [Hugging Face:Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI)\n- [Hugging Face:Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/Qwen-Image_ComfyUI](https://modelscope.cn/models/Comfy-Org/Qwen-Image_ComfyUI)\n- [ModelScope:Comfy-Org/Qwen-Image-Edit_ComfyUI](https://modelscope.cn/models/Comfy-Org/Qwen-Image-Edit_ComfyUI)\n\n**text_encoders**\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) (8.74 GB)\n\n**loras**\n\n- [Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors) (810.2 MB)\n- [Qwen-Image-Edit-2509-Relight.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Relight.safetensors) (225.2 MB)\n\n**diffusion_models**\n\n- [qwen_image_edit_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors) (19.03 GB)\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) (242 MB)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n│ ├── 📂 loras/\n│ │ ├── Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors\n│ │ └── Qwen-Image-Edit-2509-Relight.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│ └── 📂 vae/\n│ └── qwen_image_vae.safetensors\n```\n"
73 ],
74 "color": "#222",
75 "bgcolor": "#000"
76 },
77 {
78 "id": 14,
79 "type": "StringConcatenate",
80 "pos": [
81 -270,
82 1200
83 ],
84 "size": [
85 320,
86 230
87 ],
88 "flags": [],
89 "order": 3,
90 "mode": 0,
91 "inputs": [
92 {
93 "name": "string_b",
94 "type": "STRING",
95 "widget": {
96 "name": "string_b"
97 },
98 "link": 10
99 }
100 ],
101 "outputs": [
102 {
103 "name": "STRING",
104 "type": "STRING",
105 "links": [
106 11
107 ]
108 }
109 ],
110 "title": "LoRA trigger word",
111 "properties": {
112 "Node name for S&R": "StringConcatenate"
113 },
114 "widgets_values": [
115 "重新照明,",
116 "",
117 ""
118 ]
119 },
120 {
121 "id": 12,
122 "type": "SaveImage",
123 "pos": [
124 560,
125 410
126 ],
127 "size": [
128 430,
129 480
130 ],
131 "flags": [],
132 "order": 5,
133 "mode": 0,
134 "inputs": [
135 {
136 "name": "images",
137 "type": "IMAGE",
138 "link": 9
139 }
140 ],
141 "outputs": [
142 {
143 "name": "images",
144 "type": "IMAGE",
145 "links": null
146 }
147 ],
148 "properties": {
149 "Node name for S&R": "SaveImage",
150 "cnr_id": "comfy-core",
151 "ver": "0.4.0",
152 "enableTabs": false,
153 "tabWidth": 65,
154 "tabXOffset": 10,
155 "hasSecondTab": false,
156 "secondTabText": "Send Back",
157 "secondTabOffset": 80,
158 "secondTabWidth": 65
159 },
160 "widgets_values": [
161 "ComfyUI"
162 ]
163 },
164 {
165 "id": 15,
166 "type": "PrimitiveStringMultiline",
167 "pos": [
168 -270,
169 950
170 ],
171 "size": [
172 320,
173 200
174 ],
175 "flags": [],
176 "order": 2,
177 "mode": 0,
178 "inputs": [],
179 "outputs": [
180 {
181 "name": "STRING",
182 "type": "STRING",
183 "links": [
184 10
185 ]
186 }
187 ],
188 "title": "Prompt",
189 "properties": {
190 "Node name for S&R": "PrimitiveStringMultiline"
191 },
192 "widgets_values": [
193 " relight the image using twilight light (with a warm color temperature, soft light, and blurred shadows)"
194 ]
195 },
196 {
197 "id": 10,
198 "type": "3a756f48-801b-48eb-80dd-279f32d09b12",
199 "pos": [
200 100,
201 410
202 ],
203 "size": [
204 420,
205 480
206 ],
207 "flags": [],
208 "order": 4,
209 "mode": 0,
210 "inputs": [
211 {
212 "label": "image",
213 "name": "image",
214 "type": "IMAGE",
215 "link": 8
216 },
217 {
218 "label": "image2 (optional)",
219 "name": "image2",
220 "shape": 7,
221 "type": "IMAGE",
222 "link": null
223 },
224 {
225 "label": "image3 (optional)",
226 "name": "image3",
227 "shape": 7,
228 "type": "IMAGE",
229 "link": null
230 },
231 {
232 "name": "prompt",
233 "type": "STRING",
234 "widget": {
235 "name": "prompt"
236 },
237 "link": 11
238 }
239 ],
240 "outputs": [
241 {
242 "name": "IMAGE",
243 "type": "IMAGE",
244 "links": [
245 9
246 ]
247 }
248 ],
249 "properties": {
250 "cnr_id": "comfy-core",
251 "ver": "0.3.62",
252 "enableTabs": false,
253 "tabWidth": 65,
254 "tabXOffset": 10,
255 "hasSecondTab": false,
256 "secondTabText": "Send Back",
257 "secondTabOffset": 80,
258 "secondTabWidth": 65,
259 "proxyWidgetErrorQuarantine": [
260 {
261 "originalEntry": [
262 "-1",
263 "prompt"
264 ],
265 "reason": "missingSourceNode",
266 "attemptedAtVersion": 1
267 },
268 {
269 "originalEntry": [
270 "-1",
271 "lora_name"
272 ],
273 "reason": "missingSourceNode",
274 "attemptedAtVersion": 1
275 },
276 {
277 "originalEntry": [
278 "-1",
279 "strength_model"
280 ],
281 "reason": "missingSourceNode",
282 "attemptedAtVersion": 1
283 },
284 {
285 "originalEntry": [
286 "3",
287 "control_after_generate"
288 ],
289 "reason": "missingSubgraphInput",
290 "attemptedAtVersion": 1
291 }
292 ],
293 "previewExposures": [
294 {
295 "name": "$$canvas-image-preview",
296 "sourceNodeId": "3",
297 "sourcePreviewName": "$$canvas-image-preview"
298 }
299 ]
300 },
301 "widgets_values": [
302 "",
303 "Qwen-Image-Edit-2509-Relight.safetensors",
304 1,
305 1118877715456453,
306 "default",
307 "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
308 "qwen_2.5_vl_7b_fp8_scaled.safetensors",
309 "qwen_image_vae.safetensors"
310 ]
311 }
312 ],
313 "links": [
314 [
315 8,
316 11,
317 0,
318 10,
319 0,
320 "IMAGE"
321 ],
322 [
323 9,
324 10,
325 0,
326 12,
327 0,
328 "IMAGE"
329 ],
330 [
331 10,
332 15,
333 0,
334 14,
335 0,
336 "STRING"
337 ],
338 [
339 11,
340 14,
341 0,
342 10,
343 3,
344 "STRING"
345 ]
346 ],
347 "groups": [],
348 "definitions": {
349 "subgraphs": [
350 {
351 "id": "3a756f48-801b-48eb-80dd-279f32d09b12",
352 "version": 1,
353 "state": {
354 "lastGroupId": 4,
355 "lastNodeId": 118,
356 "lastLinkId": 261,
357 "lastRerouteId": 0
358 },
359 "revision": 0,
360 "config": [],
361 "name": "Image Edit (Qwen 2509 with LoRA)",
362 "inputNode": {
363 "id": -10,
364 "bounding": [
365 -1020,
366 450,
367 147.22265625,
368 268
369 ]
370 },
371 "outputNode": {
372 "id": -20,
373 "bounding": [
374 1340,
375 290,
376 128,
377 68
378 ]
379 },
380 "inputs": [
381 {
382 "id": "d5089bd3-63bc-4a24-b478-6565ed2364e3",
383 "name": "image",
384 "type": "IMAGE",
385 "linkIds": [
386 248
387 ],
388 "label": "image",
389 "pos": [
390 -896.77734375,
391 474
392 ]
393 },
394 {
395 "id": "9e80fff0-ed0a-439f-a16e-a4a6cc1eb601",
396 "name": "image2",
397 "type": "IMAGE",
398 "linkIds": [
399 235,
400 236
401 ],
402 "label": "image2 (optional)",
403 "pos": [
404 -896.77734375,
405 494
406 ]
407 },
408 {
409 "id": "49d98fd6-01b5-440b-8603-579252fd7fef",
410 "name": "image3",
411 "type": "IMAGE",
412 "linkIds": [
413 237,
414 238
415 ],
416 "label": "image3 (optional)",
417 "pos": [
418 -896.77734375,
419 514
420 ]
421 },
422 {
423 "id": "5de32f24-a7b5-4423-b772-72824005f585",
424 "name": "prompt",
425 "type": "STRING",
426 "linkIds": [
427 244
428 ],
429 "pos": [
430 -896.77734375,
431 534
432 ]
433 },
434 {
435 "id": "ef200aa4-696f-40a0-80a7-ec9ca1f0c2f4",
436 "name": "lora_name",
437 "type": "COMBO",
438 "linkIds": [
439 255
440 ],
441 "pos": [
442 -896.77734375,
443 554
444 ]
445 },
446 {
447 "id": "4fc77aca-3dd6-43c6-8f40-373d926457aa",
448 "name": "strength_model",
449 "type": "FLOAT",
450 "linkIds": [
451 256
452 ],
453 "pos": [
454 -896.77734375,
455 574
456 ]
457 },
458 {
459 "id": "b1e2c15a-b38a-4c63-853d-a9d84e34bd50",
460 "name": "seed",
461 "type": "INT",
462 "linkIds": [
463 257
464 ],
465 "pos": [
466 -896.77734375,
467 594
468 ]
469 },
470 {
471 "id": "a17706df-d0ee-443e-8ee9-f61f9eafc299",
472 "name": "weight_dtype",
473 "type": "COMBO",
474 "linkIds": [
475 258
476 ],
477 "pos": [
478 -896.77734375,
479 614
480 ]
481 },
482 {
483 "id": "c57bf732-a64e-47fe-8cfa-03825e7452a4",
484 "name": "lora_name_1",
485 "type": "COMBO",
486 "linkIds": [
487 259
488 ],
489 "pos": [
490 -896.77734375,
491 634
492 ]
493 },
494 {
495 "id": "5f5b9162-5fee-4c73-bb30-28cac44fd24e",
496 "name": "clip_name",
497 "type": "COMBO",
498 "linkIds": [
499 260
500 ],
501 "pos": [
502 -896.77734375,
503 654
504 ]
505 },
506 {
507 "id": "31661435-01f6-4a72-b170-476d37546ff4",
508 "name": "vae_name",
509 "type": "COMBO",
510 "linkIds": [
511 261
512 ],
513 "pos": [
514 -896.77734375,
515 674
516 ]
517 }
518 ],
519 "outputs": [
520 {
521 "id": "c4ebfc18-de83-4361-8e42-767c3c8c25c0",
522 "name": "IMAGE",
523 "type": "IMAGE",
524 "linkIds": [
525 110
526 ],
527 "localized_name": "IMAGE",
528 "pos": [
529 1364,
530 314
531 ]
532 }
533 ],
534 "widgets": [],
535 "nodes": [
536 {
537 "id": 75,
538 "type": "CFGNorm",
539 "pos": [
540 470,
541 22
542 ],
543 "size": [
544 290,
545 120
546 ],
547 "flags": [],
548 "order": 7,
549 "mode": 0,
550 "inputs": [
551 {
552 "localized_name": "model",
553 "name": "model",
554 "type": "MODEL",
555 "link": 141
556 }
557 ],
558 "outputs": [
559 {
560 "localized_name": "patched_model",
561 "name": "patched_model",
562 "type": "MODEL",
563 "links": [
564 186
565 ]
566 }
567 ],
568 "properties": {
569 "Node name for S&R": "CFGNorm",
570 "cnr_id": "comfy-core",
571 "ver": "0.3.50",
572 "enableTabs": false,
573 "tabWidth": 65,
574 "tabXOffset": 10,
575 "hasSecondTab": false,
576 "secondTabText": "Send Back",
577 "secondTabOffset": 80,
578 "secondTabWidth": 65,
579 "ue_properties": {
580 "widget_ue_connectable": {
581 "strength": true
582 }
583 }
584 },
585 "widgets_values": [
586 1,
587 false
588 ]
589 },
590 {
591 "id": 39,
592 "type": "VAELoader",
593 "pos": [
594 -520,
595 486
596 ],
597 "size": [
598 330,
599 100
600 ],
601 "flags": [],
602 "order": 0,
603 "mode": 0,
604 "inputs": [
605 {
606 "localized_name": "vae_name",
607 "name": "vae_name",
608 "type": "COMBO",
609 "widget": {
610 "name": "vae_name"
611 },
612 "link": 261
613 }
614 ],
615 "outputs": [
616 {
617 "localized_name": "VAE",
618 "name": "VAE",
619 "type": "VAE",
620 "slot_index": 0,
621 "links": [
622 76,
623 168,
624 206,
625 207
626 ]
627 }
628 ],
629 "properties": {
630 "Node name for S&R": "VAELoader",
631 "cnr_id": "comfy-core",
632 "ver": "0.3.48",
633 "models": [
634 {
635 "name": "qwen_image_vae.safetensors",
636 "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
637 "directory": "vae"
638 }
639 ],
640 "enableTabs": false,
641 "tabWidth": 65,
642 "tabXOffset": 10,
643 "hasSecondTab": false,
644 "secondTabText": "Send Back",
645 "secondTabOffset": 80,
646 "secondTabWidth": 65,
647 "widget_ue_connectable": []
648 },
649 "widgets_values": [
650 "qwen_image_vae.safetensors"
651 ]
652 },
653 {
654 "id": 38,
655 "type": "CLIPLoader",
656 "pos": [
657 -520,
658 270
659 ],
660 "size": [
661 330,
662 150
663 ],
664 "flags": [],
665 "order": 1,
666 "mode": 0,
667 "inputs": [
668 {
669 "localized_name": "clip_name",
670 "name": "clip_name",
671 "type": "COMBO",
672 "widget": {
673 "name": "clip_name"
674 },
675 "link": 260
676 }
677 ],
678 "outputs": [
679 {
680 "localized_name": "CLIP",
681 "name": "CLIP",
682 "type": "CLIP",
683 "slot_index": 0,
684 "links": [
685 204,
686 205
687 ]
688 }
689 ],
690 "properties": {
691 "Node name for S&R": "CLIPLoader",
692 "cnr_id": "comfy-core",
693 "ver": "0.3.48",
694 "models": [
695 {
696 "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
697 "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
698 "directory": "text_encoders"
699 }
700 ],
701 "enableTabs": false,
702 "tabWidth": 65,
703 "tabXOffset": 10,
704 "hasSecondTab": false,
705 "secondTabText": "Send Back",
706 "secondTabOffset": 80,
707 "secondTabWidth": 65,
708 "widget_ue_connectable": []
709 },
710 "widgets_values": [
711 "qwen_2.5_vl_7b_fp8_scaled.safetensors",
712 "qwen_image",
713 "default"
714 ]
715 },
716 {
717 "id": 37,
718 "type": "UNETLoader",
719 "pos": [
720 -520,
721 -100
722 ],
723 "size": [
724 330,
725 120
726 ],
727 "flags": [],
728 "order": 2,
729 "mode": 0,
730 "inputs": [
731 {
732 "localized_name": "weight_dtype",
733 "name": "weight_dtype",
734 "type": "COMBO",
735 "widget": {
736 "name": "weight_dtype"
737 },
738 "link": 258
739 }
740 ],
741 "outputs": [
742 {
743 "localized_name": "MODEL",
744 "name": "MODEL",
745 "type": "MODEL",
746 "slot_index": 0,
747 "links": [
748 184
749 ]
750 }
751 ],
752 "properties": {
753 "Node name for S&R": "UNETLoader",
754 "cnr_id": "comfy-core",
755 "ver": "0.3.48",
756 "models": [
757 {
758 "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
759 "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
760 "directory": "diffusion_models"
761 }
762 ],
763 "enableTabs": false,
764 "tabWidth": 65,
765 "tabXOffset": 10,
766 "hasSecondTab": false,
767 "secondTabText": "Send Back",
768 "secondTabOffset": 80,
769 "secondTabWidth": 65,
770 "widget_ue_connectable": []
771 },
772 "widgets_values": [
773 "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
774 "default"
775 ]
776 },
777 {
778 "id": 110,
779 "type": "TextEncodeQwenImageEditPlus",
780 "pos": [
781 -50,
782 180
783 ],
784 "size": [
785 400,
786 210
787 ],
788 "flags": [],
789 "order": 9,
790 "mode": 0,
791 "inputs": [
792 {
793 "localized_name": "clip",
794 "name": "clip",
795 "type": "CLIP",
796 "link": 204
797 },
798 {
799 "localized_name": "vae",
800 "name": "vae",
801 "shape": 7,
802 "type": "VAE",
803 "link": 206
804 },
805 {
806 "localized_name": "image1",
807 "name": "image1",
808 "shape": 7,
809 "type": "IMAGE",
810 "link": 251
811 },
812 {
813 "localized_name": "image2",
814 "name": "image2",
815 "shape": 7,
816 "type": "IMAGE",
817 "link": 236
818 },
819 {
820 "localized_name": "image3",
821 "name": "image3",
822 "shape": 7,
823 "type": "IMAGE",
824 "link": 238
825 }
826 ],
827 "outputs": [
828 {
829 "localized_name": "CONDITIONING",
830 "name": "CONDITIONING",
831 "type": "CONDITIONING",
832 "links": [
833 210
834 ]
835 }
836 ],
837 "properties": {
838 "Node name for S&R": "TextEncodeQwenImageEditPlus",
839 "cnr_id": "comfy-core",
840 "ver": "0.3.59",
841 "enableTabs": false,
842 "tabWidth": 65,
843 "tabXOffset": 10,
844 "hasSecondTab": false,
845 "secondTabText": "Send Back",
846 "secondTabOffset": 80,
847 "secondTabWidth": 65
848 },
849 "widgets_values": [
850 ""
851 ],
852 "color": "#223",
853 "bgcolor": "#335"
854 },
855 {
856 "id": 66,
857 "type": "ModelSamplingAuraFlow",
858 "pos": [
859 470,
860 -130
861 ],
862 "size": [
863 290,
864 90
865 ],
866 "flags": [],
867 "order": 6,
868 "mode": 0,
869 "inputs": [
870 {
871 "localized_name": "model",
872 "name": "model",
873 "type": "MODEL",
874 "link": 254
875 }
876 ],
877 "outputs": [
878 {
879 "localized_name": "MODEL",
880 "name": "MODEL",
881 "type": "MODEL",
882 "links": [
883 141
884 ]
885 }
886 ],
887 "properties": {
888 "Node name for S&R": "ModelSamplingAuraFlow",
889 "cnr_id": "comfy-core",
890 "ver": "0.3.48",
891 "enableTabs": false,
892 "tabWidth": 65,
893 "tabXOffset": 10,
894 "hasSecondTab": false,
895 "secondTabText": "Send Back",
896 "secondTabOffset": 80,
897 "secondTabWidth": 65,
898 "widget_ue_connectable": []
899 },
900 "widgets_values": [
901 3
902 ]
903 },
904 {
905 "id": 111,
906 "type": "TextEncodeQwenImageEditPlus",
907 "pos": [
908 -50,
909 -90
910 ],
911 "size": [
912 400,
913 210
914 ],
915 "flags": [],
916 "order": 10,
917 "mode": 0,
918 "inputs": [
919 {
920 "localized_name": "clip",
921 "name": "clip",
922 "type": "CLIP",
923 "link": 205
924 },
925 {
926 "localized_name": "vae",
927 "name": "vae",
928 "shape": 7,
929 "type": "VAE",
930 "link": 207
931 },
932 {
933 "localized_name": "image1",
934 "name": "image1",
935 "shape": 7,
936 "type": "IMAGE",
937 "link": 250
938 },
939 {
940 "localized_name": "image2",
941 "name": "image2",
942 "shape": 7,
943 "type": "IMAGE",
944 "link": 235
945 },
946 {
947 "localized_name": "image3",
948 "name": "image3",
949 "shape": 7,
950 "type": "IMAGE",
951 "link": 237
952 },
953 {
954 "localized_name": "prompt",
955 "name": "prompt",
956 "type": "STRING",
957 "widget": {
958 "name": "prompt"
959 },
960 "link": 244
961 }
962 ],
963 "outputs": [
964 {
965 "localized_name": "CONDITIONING",
966 "name": "CONDITIONING",
967 "type": "CONDITIONING",
968 "links": [
969 211
970 ]
971 }
972 ],
973 "properties": {
974 "Node name for S&R": "TextEncodeQwenImageEditPlus",
975 "cnr_id": "comfy-core",
976 "ver": "0.3.59",
977 "enableTabs": false,
978 "tabWidth": 65,
979 "tabXOffset": 10,
980 "hasSecondTab": false,
981 "secondTabText": "Send Back",
982 "secondTabOffset": 80,
983 "secondTabWidth": 65
984 },
985 "widgets_values": [
986 ""
987 ],
988 "color": "#232",
989 "bgcolor": "#353"
990 },
991 {
992 "id": 88,
993 "type": "VAEEncode",
994 "pos": [
995 90,
996 910
997 ],
998 "size": [
999 230,
1000 80
1001 ],
1002 "flags": [],
1003 "order": 8,
1004 "mode": 0,
1005 "inputs": [
1006 {
1007 "localized_name": "pixels",
1008 "name": "pixels",
1009 "type": "IMAGE",
1010 "link": 249
1011 },
1012 {
1013 "localized_name": "vae",
1014 "name": "vae",
1015 "type": "VAE",
1016 "link": 168
1017 }
1018 ],
1019 "outputs": [
1020 {
1021 "localized_name": "LATENT",
1022 "name": "LATENT",
1023 "type": "LATENT",
1024 "links": [
1025 246
1026 ]
1027 }
1028 ],
1029 "properties": {
1030 "Node name for S&R": "VAEEncode",
1031 "cnr_id": "comfy-core",
1032 "ver": "0.3.50",
1033 "enableTabs": false,
1034 "tabWidth": 65,
1035 "tabXOffset": 10,
1036 "hasSecondTab": false,
1037 "secondTabText": "Send Back",
1038 "secondTabOffset": 80,
1039 "secondTabWidth": 65,
1040 "ue_properties": {
1041 "widget_ue_connectable": []
1042 }
1043 },
1044 "widgets_values": []
1045 },
1046 {
1047 "id": 8,
1048 "type": "VAEDecode",
1049 "pos": [
1050 820,
1051 -120
1052 ],
1053 "size": [
1054 230,
1055 80
1056 ],
1057 "flags": {
1058 "collapsed": false
1059 },
1060 "order": 5,
1061 "mode": 0,
1062 "inputs": [
1063 {
1064 "localized_name": "samples",
1065 "name": "samples",
1066 "type": "LATENT",
1067 "link": 128
1068 },
1069 {
1070 "localized_name": "vae",
1071 "name": "vae",
1072 "type": "VAE",
1073 "link": 76
1074 }
1075 ],
1076 "outputs": [
1077 {
1078 "localized_name": "IMAGE",
1079 "name": "IMAGE",
1080 "type": "IMAGE",
1081 "slot_index": 0,
1082 "links": [
1083 110
1084 ]
1085 }
1086 ],
1087 "properties": {
1088 "Node name for S&R": "VAEDecode",
1089 "cnr_id": "comfy-core",
1090 "ver": "0.3.48",
1091 "enableTabs": false,
1092 "tabWidth": 65,
1093 "tabXOffset": 10,
1094 "hasSecondTab": false,
1095 "secondTabText": "Send Back",
1096 "secondTabOffset": 80,
1097 "secondTabWidth": 65,
1098 "widget_ue_connectable": []
1099 },
1100 "widgets_values": []
1101 },
1102 {
1103 "id": 3,
1104 "type": "KSampler",
1105 "pos": [
1106 465,
1107 204
1108 ],
1109 "size": [
1110 300,
1111 480
1112 ],
1113 "flags": [],
1114 "order": 4,
1115 "mode": 0,
1116 "inputs": [
1117 {
1118 "localized_name": "model",
1119 "name": "model",
1120 "type": "MODEL",
1121 "link": 186
1122 },
1123 {
1124 "localized_name": "positive",
1125 "name": "positive",
1126 "type": "CONDITIONING",
1127 "link": 211
1128 },
1129 {
1130 "localized_name": "negative",
1131 "name": "negative",
1132 "type": "CONDITIONING",
1133 "link": 210
1134 },
1135 {
1136 "localized_name": "latent_image",
1137 "name": "latent_image",
1138 "type": "LATENT",
1139 "link": 246
1140 },
1141 {
1142 "localized_name": "seed",
1143 "name": "seed",
1144 "type": "INT",
1145 "widget": {
1146 "name": "seed"
1147 },
1148 "link": 257
1149 }
1150 ],
1151 "outputs": [
1152 {
1153 "localized_name": "LATENT",
1154 "name": "LATENT",
1155 "type": "LATENT",
1156 "slot_index": 0,
1157 "links": [
1158 128
1159 ]
1160 }
1161 ],
1162 "properties": {
1163 "Node name for S&R": "KSampler",
1164 "cnr_id": "comfy-core",
1165 "ver": "0.3.48",
1166 "enableTabs": false,
1167 "tabWidth": 65,
1168 "tabXOffset": 10,
1169 "hasSecondTab": false,
1170 "secondTabText": "Send Back",
1171 "secondTabOffset": 80,
1172 "secondTabWidth": 65,
1173 "widget_ue_connectable": []
1174 },
1175 "widgets_values": [
1176 1118877715456453,
1177 "randomize",
1178 4,
1179 1,
1180 "euler",
1181 "simple",
1182 1
1183 ]
1184 },
1185 {
1186 "id": 117,
1187 "type": "FluxKontextImageScale",
1188 "pos": [
1189 -450,
1190 910
1191 ],
1192 "size": [
1193 230,
1194 60
1195 ],
1196 "flags": [],
1197 "order": 11,
1198 "mode": 0,
1199 "inputs": [
1200 {
1201 "localized_name": "image",
1202 "name": "image",
1203 "type": "IMAGE",
1204 "link": 248
1205 }
1206 ],
1207 "outputs": [
1208 {
1209 "localized_name": "IMAGE",
1210 "name": "IMAGE",
1211 "type": "IMAGE",
1212 "links": [
1213 249,
1214 250,
1215 251
1216 ]
1217 }
1218 ],
1219 "properties": {
1220 "Node name for S&R": "FluxKontextImageScale",
1221 "cnr_id": "comfy-core",
1222 "ver": "0.4.0",
1223 "enableTabs": false,
1224 "tabWidth": 65,
1225 "tabXOffset": 10,
1226 "hasSecondTab": false,
1227 "secondTabText": "Send Back",
1228 "secondTabOffset": 80,
1229 "secondTabWidth": 65
1230 },
1231 "widgets_values": []
1232 },
1233 {
1234 "id": 89,
1235 "type": "LoraLoaderModelOnly",
1236 "pos": [
1237 -510,
1238 80
1239 ],
1240 "size": [
1241 310,
1242 130
1243 ],
1244 "flags": [],
1245 "order": 3,
1246 "mode": 0,
1247 "inputs": [
1248 {
1249 "localized_name": "model",
1250 "name": "model",
1251 "type": "MODEL",
1252 "link": 184
1253 },
1254 {
1255 "localized_name": "lora_name",
1256 "name": "lora_name",
1257 "type": "COMBO",
1258 "widget": {
1259 "name": "lora_name"
1260 },
1261 "link": 259
1262 }
1263 ],
1264 "outputs": [
1265 {
1266 "localized_name": "MODEL",
1267 "name": "MODEL",
1268 "type": "MODEL",
1269 "links": [
1270 253
1271 ]
1272 }
1273 ],
1274 "properties": {
1275 "Node name for S&R": "LoraLoaderModelOnly",
1276 "cnr_id": "comfy-core",
1277 "ver": "0.3.50",
1278 "models": [
1279 {
1280 "name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1281 "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1282 "directory": "loras"
1283 }
1284 ],
1285 "enableTabs": false,
1286 "tabWidth": 65,
1287 "tabXOffset": 10,
1288 "hasSecondTab": false,
1289 "secondTabText": "Send Back",
1290 "secondTabOffset": 80,
1291 "secondTabWidth": 65,
1292 "ue_properties": {
1293 "widget_ue_connectable": {
1294 "lora_name": true,
1295 "strength_model": true
1296 }
1297 }
1298 },
1299 "widgets_values": [
1300 "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1301 1
1302 ]
1303 },
1304 {
1305 "id": 118,
1306 "type": "LoraLoaderModelOnly",
1307 "pos": [
1308 -30,
1309 -340
1310 ],
1311 "size": [
1312 270,
1313 130
1314 ],
1315 "flags": [],
1316 "order": 12,
1317 "mode": 0,
1318 "inputs": [
1319 {
1320 "localized_name": "model",
1321 "name": "model",
1322 "type": "MODEL",
1323 "link": 253
1324 },
1325 {
1326 "localized_name": "lora_name",
1327 "name": "lora_name",
1328 "type": "COMBO",
1329 "widget": {
1330 "name": "lora_name"
1331 },
1332 "link": 255
1333 },
1334 {
1335 "localized_name": "strength_model",
1336 "name": "strength_model",
1337 "type": "FLOAT",
1338 "widget": {
1339 "name": "strength_model"
1340 },
1341 "link": 256
1342 }
1343 ],
1344 "outputs": [
1345 {
1346 "localized_name": "MODEL",
1347 "name": "MODEL",
1348 "type": "MODEL",
1349 "links": [
1350 254
1351 ]
1352 }
1353 ],
1354 "properties": {
1355 "Node name for S&R": "LoraLoaderModelOnly",
1356 "cnr_id": "comfy-core",
1357 "ver": "0.4.0",
1358 "models": [
1359 {
1360 "name": "Qwen-Image-Edit-2509-Relight.safetensors",
1361 "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Relight.safetensors",
1362 "directory": "loras"
1363 }
1364 ],
1365 "enableTabs": false,
1366 "tabWidth": 65,
1367 "tabXOffset": 10,
1368 "hasSecondTab": false,
1369 "secondTabText": "Send Back",
1370 "secondTabOffset": 80,
1371 "secondTabWidth": 65
1372 },
1373 "widgets_values": [
1374 "Qwen-Image-Edit-2509-Relight.safetensors",
1375 1
1376 ]
1377 }
1378 ],
1379 "groups": [
1380 {
1381 "id": 1,
1382 "title": "Step1 - Load models",
1383 "bounding": [
1384 -540,
1385 -170,
1386 370,
1387 810
1388 ],
1389 "color": "#3f789e",
1390 "flags": []
1391 },
1392 {
1393 "id": 2,
1394 "title": "Step 2 - Scale Image",
1395 "bounding": [
1396 -540,
1397 670,
1398 970,
1399 320
1400 ],
1401 "color": "#3f789e",
1402 "flags": []
1403 },
1404 {
1405 "id": 3,
1406 "title": "Step 4 - Prompt",
1407 "bounding": [
1408 -140,
1409 -170,
1410 570,
1411 810
1412 ],
1413 "color": "#3f789e",
1414 "flags": []
1415 }
1416 ],
1417 "links": [
1418 {
1419 "id": 141,
1420 "origin_id": 66,
1421 "origin_slot": 0,
1422 "target_id": 75,
1423 "target_slot": 0,
1424 "type": "MODEL"
1425 },
1426 {
1427 "id": 128,
1428 "origin_id": 3,
1429 "origin_slot": 0,
1430 "target_id": 8,
1431 "target_slot": 0,
1432 "type": "LATENT"
1433 },
1434 {
1435 "id": 76,
1436 "origin_id": 39,
1437 "origin_slot": 0,
1438 "target_id": 8,
1439 "target_slot": 1,
1440 "type": "VAE"
1441 },
1442 {
1443 "id": 184,
1444 "origin_id": 37,
1445 "origin_slot": 0,
1446 "target_id": 89,
1447 "target_slot": 0,
1448 "type": "MODEL"
1449 },
1450 {
1451 "id": 186,
1452 "origin_id": 75,
1453 "origin_slot": 0,
1454 "target_id": 3,
1455 "target_slot": 0,
1456 "type": "MODEL"
1457 },
1458 {
1459 "id": 211,
1460 "origin_id": 111,
1461 "origin_slot": 0,
1462 "target_id": 3,
1463 "target_slot": 1,
1464 "type": "CONDITIONING"
1465 },
1466 {
1467 "id": 210,
1468 "origin_id": 110,
1469 "origin_slot": 0,
1470 "target_id": 3,
1471 "target_slot": 2,
1472 "type": "CONDITIONING"
1473 },
1474 {
1475 "id": 168,
1476 "origin_id": 39,
1477 "origin_slot": 0,
1478 "target_id": 88,
1479 "target_slot": 1,
1480 "type": "VAE"
1481 },
1482 {
1483 "id": 204,
1484 "origin_id": 38,
1485 "origin_slot": 0,
1486 "target_id": 110,
1487 "target_slot": 0,
1488 "type": "CLIP"
1489 },
1490 {
1491 "id": 206,
1492 "origin_id": 39,
1493 "origin_slot": 0,
1494 "target_id": 110,
1495 "target_slot": 1,
1496 "type": "VAE"
1497 },
1498 {
1499 "id": 205,
1500 "origin_id": 38,
1501 "origin_slot": 0,
1502 "target_id": 111,
1503 "target_slot": 0,
1504 "type": "CLIP"
1505 },
1506 {
1507 "id": 207,
1508 "origin_id": 39,
1509 "origin_slot": 0,
1510 "target_id": 111,
1511 "target_slot": 1,
1512 "type": "VAE"
1513 },
1514 {
1515 "id": 110,
1516 "origin_id": 8,
1517 "origin_slot": 0,
1518 "target_id": -20,
1519 "target_slot": 0,
1520 "type": "IMAGE"
1521 },
1522 {
1523 "id": 235,
1524 "origin_id": -10,
1525 "origin_slot": 1,
1526 "target_id": 111,
1527 "target_slot": 3,
1528 "type": "IMAGE"
1529 },
1530 {
1531 "id": 236,
1532 "origin_id": -10,
1533 "origin_slot": 1,
1534 "target_id": 110,
1535 "target_slot": 3,
1536 "type": "IMAGE"
1537 },
1538 {
1539 "id": 237,
1540 "origin_id": -10,
1541 "origin_slot": 2,
1542 "target_id": 111,
1543 "target_slot": 4,
1544 "type": "IMAGE"
1545 },
1546 {
1547 "id": 238,
1548 "origin_id": -10,
1549 "origin_slot": 2,
1550 "target_id": 110,
1551 "target_slot": 4,
1552 "type": "IMAGE"
1553 },
1554 {
1555 "id": 244,
1556 "origin_id": -10,
1557 "origin_slot": 3,
1558 "target_id": 111,
1559 "target_slot": 5,
1560 "type": "STRING"
1561 },
1562 {
1563 "id": 246,
1564 "origin_id": 88,
1565 "origin_slot": 0,
1566 "target_id": 3,
1567 "target_slot": 3,
1568 "type": "LATENT"
1569 },
1570 {
1571 "id": 248,
1572 "origin_id": -10,
1573 "origin_slot": 0,
1574 "target_id": 117,
1575 "target_slot": 0,
1576 "type": "IMAGE"
1577 },
1578 {
1579 "id": 249,
1580 "origin_id": 117,
1581 "origin_slot": 0,
1582 "target_id": 88,
1583 "target_slot": 0,
1584 "type": "IMAGE"
1585 },
1586 {
1587 "id": 250,
1588 "origin_id": 117,
1589 "origin_slot": 0,
1590 "target_id": 111,
1591 "target_slot": 2,
1592 "type": "IMAGE"
1593 },
1594 {
1595 "id": 251,
1596 "origin_id": 117,
1597 "origin_slot": 0,
1598 "target_id": 110,
1599 "target_slot": 2,
1600 "type": "IMAGE"
1601 },
1602 {
1603 "id": 253,
1604 "origin_id": 89,
1605 "origin_slot": 0,
1606 "target_id": 118,
1607 "target_slot": 0,
1608 "type": "MODEL"
1609 },
1610 {
1611 "id": 254,
1612 "origin_id": 118,
1613 "origin_slot": 0,
1614 "target_id": 66,
1615 "target_slot": 0,
1616 "type": "MODEL"
1617 },
1618 {
1619 "id": 255,
1620 "origin_id": -10,
1621 "origin_slot": 4,
1622 "target_id": 118,
1623 "target_slot": 1,
1624 "type": "COMBO"
1625 },
1626 {
1627 "id": 256,
1628 "origin_id": -10,
1629 "origin_slot": 5,
1630 "target_id": 118,
1631 "target_slot": 2,
1632 "type": "FLOAT"
1633 },
1634 {
1635 "id": 257,
1636 "origin_id": -10,
1637 "origin_slot": 6,
1638 "target_id": 3,
1639 "target_slot": 4,
1640 "type": "INT"
1641 },
1642 {
1643 "id": 258,
1644 "origin_id": -10,
1645 "origin_slot": 7,
1646 "target_id": 37,
1647 "target_slot": 0,
1648 "type": "COMBO"
1649 },
1650 {
1651 "id": 259,
1652 "origin_id": -10,
1653 "origin_slot": 8,
1654 "target_id": 89,
1655 "target_slot": 1,
1656 "type": "COMBO"
1657 },
1658 {
1659 "id": 260,
1660 "origin_id": -10,
1661 "origin_slot": 9,
1662 "target_id": 38,
1663 "target_slot": 0,
1664 "type": "COMBO"
1665 },
1666 {
1667 "id": 261,
1668 "origin_id": -10,
1669 "origin_slot": 10,
1670 "target_id": 39,
1671 "target_slot": 0,
1672 "type": "COMBO"
1673 }
1674 ],
1675 "extra": {
1676 "workflowRendererVersion": "LG"
1677 }
1678 }
1679 ]
1680 },
1681 "config": [],
1682 "extra": {
1683 "ds": {
1684 "scale": 0.6982824651677964,
1685 "offset": [
1686 884.8825548794315,
1687 -86.81134323664998
1688 ]
1689 },
1690 "frontendVersion": "1.47.10",
1691 "workflowRendererVersion": "LG",
1692 "VHS_latentpreview": false,
1693 "VHS_latentpreviewrate": 0,
1694 "VHS_MetadataImage": true,
1695 "VHS_KeepIntermediate": true
1696 },
1697 "version": 0.4
1698}