ComfyPilotComfyPilot
工作流 / 图像工具 / 图层分解: Qwen-Image-Layered Control
图层分解: Qwen-Image-Layered Control

图层分解: Qwen-Image-Layered Control

Layer Decomposition: Qwen-Image-Layered Control

描述并提取图像元素。

图像工具 6 个节点 1 个输入 38 次使用 ComfyUI ≥ 0.6.0 ComfyUI 44 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 3 个权重文件,其中 2 个能在本站模型库里找到。

qwen_2.5_vl_7b_fp8_scaled.safetensors 在模型库查看
qwen_image_layered_control_bf16.safetensors 模型库暂未收录
qwen_image_layered_vae.safetensors 在模型库查看

节点构成

MarkdownNote × 2
LoadImage × 1
ImageScaleToMaxDimension × 1
SaveImage × 1
f754a936-daaf-4b6e-9658-41fdc54d301d × 1

官方标注的模型

Qwen-Image-Layered

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

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