ComfyPilotComfyPilot
工作流 / 图像 / FLUX.2 [Klein] 4B: 文生图
FLUX.2 [Klein] 4B: 文生图

FLUX.2 [Klein] 4B: 文生图

FLUX.2 [Klein] 4B: Text to Image

BFL 蒸馏模型。亚秒级速度下的卓越画质,非常适合实时生成且保证质量。市场推广将聚焦该模型。

图像 6 个节点 94 次使用 ComfyUI ≥ 0.9.2 ComfyUI 68 KB

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

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

需要的权重

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

flux-2-klein-4b.safetensors 在模型库查看
flux-2-klein-base-4b.safetensors 在模型库查看
flux2-vae.safetensors 在模型库查看
qwen_3_4b.safetensors 在模型库查看

节点构成

SaveImage × 2
MarkdownNote × 1
PrimitiveStringMultiline × 1
7b34ab90-36f9-45ba-a665-71d418f0df18 × 1
a67caa28-5f85-4917-8396-36004960dd30 × 1

官方标注的模型

FLUXFLUX.2 Klein

工作流 JSON

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

1{
2 "id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e",
3 "revision": 0,
4 "last_node_id": 79,
5 "last_link_id": 157,
6 "nodes": [
7 {
8 "id": 9,
9 "type": "SaveImage",
10 "pos": [
11 730.666786213013,
12 342.6666838325343
13 ],
14 "size": [
15 520,
16 495
17 ],
18 "flags": [],
19 "order": 4,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 154
26 }
27 ],
28 "outputs": [],
29 "properties": {
30 "Node name for S&R": "SaveImage",
31 "cnr_id": "comfy-core",
32 "ver": "0.8.2",
33 "enableTabs": false,
34 "tabWidth": 65,
35 "tabXOffset": 10,
36 "hasSecondTab": false,
37 "secondTabText": "Send Back",
38 "secondTabOffset": 80,
39 "secondTabWidth": 65
40 },
41 "widgets_values": [
42 "Flux2-Klein"
43 ]
44 },
45 {
46 "id": 78,
47 "type": "SaveImage",
48 "pos": [
49 740.3333948827676,
50 951.3333226266111
51 ],
52 "size": [
53 520,
54 495
55 ],
56 "flags": [],
57 "order": 5,
58 "mode": 4,
59 "inputs": [
60 {
61 "name": "images",
62 "type": "IMAGE",
63 "link": 156
64 }
65 ],
66 "outputs": [],
67 "properties": {
68 "Node name for S&R": "SaveImage",
69 "cnr_id": "comfy-core",
70 "ver": "0.8.2",
71 "enableTabs": false,
72 "tabWidth": 65,
73 "tabXOffset": 10,
74 "hasSecondTab": false,
75 "secondTabText": "Send Back",
76 "secondTabOffset": 80,
77 "secondTabWidth": 65
78 },
79 "widgets_values": [
80 "Flux2-Klein"
81 ]
82 },
83 {
84 "id": 79,
85 "type": "MarkdownNote",
86 "pos": [
87 -579.6666952043239,
88 341.33334381112445
89 ],
90 "size": [
91 430,
92 657.4739583333334
93 ],
94 "flags": [],
95 "order": 0,
96 "mode": 0,
97 "inputs": [],
98 "outputs": [],
99 "properties": [],
100 "widgets_values": [
101 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n- [Hugging Face:Comfy-Org/flux2-klein-4B](https://huggingface.co/Comfy-Org/flux2-klein-4B)\n- [Hugging Face:Comfy-Org/flux2-dev](https://huggingface.co/Comfy-Org/flux2-dev)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/flux2-klein-4B](https://modelscope.cn/models/Comfy-Org/flux2-klein-4B)\n- [ModelScope:Comfy-Org/flux2-dev](https://modelscope.cn/models/Comfy-Org/flux2-dev)\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors) (7.49 GB)\n\n**diffusion_models**\n\n- [flux-2-klein-base-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-base-4b.safetensors) (7.22 GB)\n- [flux-2-klein-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-4b.safetensors) (7.22 GB)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors) (320.6 MB)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 diffusion_models/\n│ │ ├── flux-2-klein-base-4b.safetensors\n│ │ └── flux-2-klein-4b.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare the 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"
102 ],
103 "color": "#222",
104 "bgcolor": "#000"
105 },
106 {
107 "id": 76,
108 "type": "PrimitiveStringMultiline",
109 "pos": [
110 -120,
111 350
112 ],
113 "size": [
114 400,
115 145
116 ],
117 "flags": [],
118 "order": 1,
119 "mode": 0,
120 "inputs": [],
121 "outputs": [
122 {
123 "name": "STRING",
124 "type": "STRING",
125 "links": [
126 155,
127 157
128 ]
129 }
130 ],
131 "title": "Prompt",
132 "properties": {
133 "Node name for S&R": "PrimitiveStringMultiline",
134 "cnr_id": "comfy-core",
135 "ver": "0.9.1",
136 "enableTabs": false,
137 "tabWidth": 65,
138 "tabXOffset": 10,
139 "hasSecondTab": false,
140 "secondTabText": "Send Back",
141 "secondTabOffset": 80,
142 "secondTabWidth": 65
143 },
144 "widgets_values": [
145 "A hedgehog wearing a tiny party hat surrounded by confetti, early digital camera style, slight noise, flash photography, candid moment, 2000s digicam aesthetic, festive birthday celebration atmosphere\n"
146 ]
147 },
148 {
149 "id": 75,
150 "type": "7b34ab90-36f9-45ba-a665-71d418f0df18",
151 "pos": [
152 300.66677321574423,
153 342.6666838325343
154 ],
155 "size": [
156 400,
157 360
158 ],
159 "flags": [],
160 "order": 2,
161 "mode": 0,
162 "inputs": [
163 {
164 "label": "prompt",
165 "name": "text",
166 "type": "STRING",
167 "widget": {
168 "name": "text"
169 },
170 "link": 155
171 }
172 ],
173 "outputs": [
174 {
175 "name": "IMAGE",
176 "type": "IMAGE",
177 "links": [
178 154
179 ]
180 }
181 ],
182 "properties": {
183 "proxyWidgets": [
184 [
185 "-1",
186 "text"
187 ],
188 [
189 "-1",
190 "value"
191 ],
192 [
193 "-1",
194 "value_1"
195 ],
196 [
197 "-1",
198 "unet_name"
199 ],
200 [
201 "-1",
202 "clip_name"
203 ],
204 [
205 "-1",
206 "vae_name"
207 ],
208 [
209 "73",
210 "noise_seed"
211 ],
212 [
213 "73",
214 "control_after_generate"
215 ]
216 ],
217 "cnr_id": "comfy-core",
218 "ver": "0.8.2",
219 "enableTabs": false,
220 "tabWidth": 65,
221 "tabXOffset": 10,
222 "hasSecondTab": false,
223 "secondTabText": "Send Back",
224 "secondTabOffset": 80,
225 "secondTabWidth": 65
226 },
227 "widgets_values": []
228 },
229 {
230 "id": 77,
231 "type": "a67caa28-5f85-4917-8396-36004960dd30",
232 "pos": [
233 310.33338188549885,
234 951.3333226266111
235 ],
236 "size": [
237 400,
238 360
239 ],
240 "flags": [],
241 "order": 3,
242 "mode": 4,
243 "inputs": [
244 {
245 "label": "prompt",
246 "name": "text",
247 "type": "STRING",
248 "widget": {
249 "name": "text"
250 },
251 "link": 157
252 }
253 ],
254 "outputs": [
255 {
256 "name": "IMAGE",
257 "type": "IMAGE",
258 "links": [
259 156
260 ]
261 }
262 ],
263 "properties": {
264 "proxyWidgets": [
265 [
266 "-1",
267 "text"
268 ],
269 [
270 "-1",
271 "value"
272 ],
273 [
274 "-1",
275 "value_1"
276 ],
277 [
278 "-1",
279 "unet_name"
280 ],
281 [
282 "-1",
283 "clip_name"
284 ],
285 [
286 "-1",
287 "vae_name"
288 ],
289 [
290 "73",
291 "noise_seed"
292 ],
293 [
294 "73",
295 "control_after_generate"
296 ]
297 ],
298 "cnr_id": "comfy-core",
299 "ver": "0.8.2",
300 "enableTabs": false,
301 "tabWidth": 65,
302 "tabXOffset": 10,
303 "hasSecondTab": false,
304 "secondTabText": "Send Back",
305 "secondTabOffset": 80,
306 "secondTabWidth": 65
307 },
308 "widgets_values": []
309 }
310 ],
311 "links": [
312 [
313 154,
314 75,
315 0,
316 9,
317 0,
318 "IMAGE"
319 ],
320 [
321 155,
322 76,
323 0,
324 75,
325 0,
326 "STRING"
327 ],
328 [
329 156,
330 77,
331 0,
332 78,
333 0,
334 "IMAGE"
335 ],
336 [
337 157,
338 76,
339 0,
340 77,
341 0,
342 "STRING"
343 ]
344 ],
345 "groups": [],
346 "definitions": {
347 "subgraphs": [
348 {
349 "id": "7b34ab90-36f9-45ba-a665-71d418f0df18",
350 "version": 1,
351 "state": {
352 "lastGroupId": 4,
353 "lastNodeId": 75,
354 "lastLinkId": 162,
355 "lastRerouteId": 0
356 },
357 "revision": 0,
358 "config": [],
359 "name": "Text to Image (FLUX.2 Klein 4B)",
360 "inputNode": {
361 "id": -10,
362 "bounding": [
363 -654.6666797319973,
364 583.833333604156,
365 120,
366 160
367 ]
368 },
369 "outputNode": {
370 "id": -20,
371 "bounding": [
372 1295.3333202680028,
373 573.833333604156,
374 120,
375 60
376 ]
377 },
378 "inputs": [
379 {
380 "id": "765f2681-7227-4d56-b48b-73a758973d7c",
381 "name": "value",
382 "type": "INT",
383 "linkIds": [
384 155
385 ],
386 "pos": [
387 -554.6666797319973,
388 603.833333604156
389 ]
390 },
391 {
392 "id": "6527c96e-0ca0-4afe-bd2f-149a80412736",
393 "name": "value_1",
394 "type": "INT",
395 "linkIds": [
396 157
397 ],
398 "pos": [
399 -554.6666797319973,
400 623.833333604156
401 ]
402 },
403 {
404 "id": "ae713dbf-52cb-471a-807d-b12fa9acbb48",
405 "name": "unet_name",
406 "type": "COMBO",
407 "linkIds": [
408 159
409 ],
410 "pos": [
411 -554.6666797319973,
412 643.833333604156
413 ]
414 },
415 {
416 "id": "f29f705e-e43a-4502-b231-a1eea93a1d69",
417 "name": "clip_name",
418 "type": "COMBO",
419 "linkIds": [
420 160
421 ],
422 "pos": [
423 -554.6666797319973,
424 663.833333604156
425 ]
426 },
427 {
428 "id": "a954f490-386b-4367-9ea1-1b65913963a5",
429 "name": "vae_name",
430 "type": "COMBO",
431 "linkIds": [
432 161
433 ],
434 "pos": [
435 -554.6666797319973,
436 683.833333604156
437 ]
438 },
439 {
440 "id": "7061147a-fb75-450d-8e97-c8be594a8e16",
441 "name": "text",
442 "type": "STRING",
443 "linkIds": [
444 162
445 ],
446 "label": "prompt",
447 "pos": [
448 -554.6666797319973,
449 703.833333604156
450 ]
451 }
452 ],
453 "outputs": [
454 {
455 "id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b",
456 "name": "IMAGE",
457 "type": "IMAGE",
458 "linkIds": [
459 153
460 ],
461 "localized_name": "IMAGE",
462 "pos": [
463 1315.3333202680028,
464 593.833333604156
465 ]
466 }
467 ],
468 "widgets": [],
469 "nodes": [
470 {
471 "id": 61,
472 "type": "KSamplerSelect",
473 "pos": [
474 461.3333202680027,
475 468.83333360415605
476 ],
477 "size": [
478 270,
479 58
480 ],
481 "flags": [],
482 "order": 0,
483 "mode": 0,
484 "inputs": [],
485 "outputs": [
486 {
487 "localized_name": "SAMPLER",
488 "name": "SAMPLER",
489 "type": "SAMPLER",
490 "links": [
491 144
492 ]
493 }
494 ],
495 "properties": {
496 "Node name for S&R": "KSamplerSelect",
497 "cnr_id": "comfy-core",
498 "ver": "0.8.2",
499 "enableTabs": false,
500 "tabWidth": 65,
501 "tabXOffset": 10,
502 "hasSecondTab": false,
503 "secondTabText": "Send Back",
504 "secondTabOffset": 80,
505 "secondTabWidth": 65
506 },
507 "widgets_values": [
508 "euler"
509 ]
510 },
511 {
512 "id": 62,
513 "type": "Flux2Scheduler",
514 "pos": [
515 461.3333202680027,
516 568.833333604156
517 ],
518 "size": [
519 270,
520 106
521 ],
522 "flags": [],
523 "order": 1,
524 "mode": 0,
525 "inputs": [
526 {
527 "localized_name": "width",
528 "name": "width",
529 "type": "INT",
530 "widget": {
531 "name": "width"
532 },
533 "link": 137
534 },
535 {
536 "localized_name": "height",
537 "name": "height",
538 "type": "INT",
539 "widget": {
540 "name": "height"
541 },
542 "link": 138
543 }
544 ],
545 "outputs": [
546 {
547 "localized_name": "SIGMAS",
548 "name": "SIGMAS",
549 "type": "SIGMAS",
550 "links": [
551 145
552 ]
553 }
554 ],
555 "properties": {
556 "Node name for S&R": "Flux2Scheduler",
557 "cnr_id": "comfy-core",
558 "ver": "0.8.2",
559 "enableTabs": false,
560 "tabWidth": 65,
561 "tabXOffset": 10,
562 "hasSecondTab": false,
563 "secondTabText": "Send Back",
564 "secondTabOffset": 80,
565 "secondTabWidth": 65
566 },
567 "widgets_values": [
568 20,
569 1024,
570 1024
571 ]
572 },
573 {
574 "id": 63,
575 "type": "CFGGuider",
576 "pos": [
577 461.3333202680027,
578 328.83333360415605
579 ],
580 "size": [
581 270,
582 98
583 ],
584 "flags": [],
585 "order": 2,
586 "mode": 0,
587 "inputs": [
588 {
589 "localized_name": "model",
590 "name": "model",
591 "type": "MODEL",
592 "link": 139
593 },
594 {
595 "localized_name": "positive",
596 "name": "positive",
597 "type": "CONDITIONING",
598 "link": 140
599 },
600 {
601 "localized_name": "negative",
602 "name": "negative",
603 "type": "CONDITIONING",
604 "link": 141
605 }
606 ],
607 "outputs": [
608 {
609 "localized_name": "GUIDER",
610 "name": "GUIDER",
611 "type": "GUIDER",
612 "links": [
613 143
614 ]
615 }
616 ],
617 "properties": {
618 "Node name for S&R": "CFGGuider",
619 "cnr_id": "comfy-core",
620 "ver": "0.8.2",
621 "enableTabs": false,
622 "tabWidth": 65,
623 "tabXOffset": 10,
624 "hasSecondTab": false,
625 "secondTabText": "Send Back",
626 "secondTabOffset": 80,
627 "secondTabWidth": 65
628 },
629 "widgets_values": [
630 5
631 ]
632 },
633 {
634 "id": 64,
635 "type": "SamplerCustomAdvanced",
636 "pos": [
637 761.3333202680027,
638 248.83333360415605
639 ],
640 "size": [
641 212.3638671875,
642 106
643 ],
644 "flags": [],
645 "order": 3,
646 "mode": 0,
647 "inputs": [
648 {
649 "localized_name": "noise",
650 "name": "noise",
651 "type": "NOISE",
652 "link": 142
653 },
654 {
655 "localized_name": "guider",
656 "name": "guider",
657 "type": "GUIDER",
658 "link": 143
659 },
660 {
661 "localized_name": "sampler",
662 "name": "sampler",
663 "type": "SAMPLER",
664 "link": 144
665 },
666 {
667 "localized_name": "sigmas",
668 "name": "sigmas",
669 "type": "SIGMAS",
670 "link": 145
671 },
672 {
673 "localized_name": "latent_image",
674 "name": "latent_image",
675 "type": "LATENT",
676 "link": 146
677 }
678 ],
679 "outputs": [
680 {
681 "localized_name": "output",
682 "name": "output",
683 "type": "LATENT",
684 "links": [
685 147
686 ]
687 },
688 {
689 "localized_name": "denoised_output",
690 "name": "denoised_output",
691 "type": "LATENT",
692 "links": []
693 }
694 ],
695 "properties": {
696 "Node name for S&R": "SamplerCustomAdvanced",
697 "cnr_id": "comfy-core",
698 "ver": "0.8.2",
699 "enableTabs": false,
700 "tabWidth": 65,
701 "tabXOffset": 10,
702 "hasSecondTab": false,
703 "secondTabText": "Send Back",
704 "secondTabOffset": 80,
705 "secondTabWidth": 65
706 },
707 "widgets_values": []
708 },
709 {
710 "id": 65,
711 "type": "VAEDecode",
712 "pos": [
713 1015.3333202680027,
714 178.83333360415605
715 ],
716 "size": [
717 220,
718 46
719 ],
720 "flags": [],
721 "order": 4,
722 "mode": 0,
723 "inputs": [
724 {
725 "localized_name": "samples",
726 "name": "samples",
727 "type": "LATENT",
728 "link": 147
729 },
730 {
731 "localized_name": "vae",
732 "name": "vae",
733 "type": "VAE",
734 "link": 148
735 }
736 ],
737 "outputs": [
738 {
739 "localized_name": "IMAGE",
740 "name": "IMAGE",
741 "type": "IMAGE",
742 "slot_index": 0,
743 "links": [
744 153
745 ]
746 }
747 ],
748 "properties": {
749 "Node name for S&R": "VAEDecode",
750 "cnr_id": "comfy-core",
751 "ver": "0.8.2",
752 "enableTabs": false,
753 "tabWidth": 65,
754 "tabXOffset": 10,
755 "hasSecondTab": false,
756 "secondTabText": "Send Back",
757 "secondTabOffset": 80,
758 "secondTabWidth": 65
759 },
760 "widgets_values": []
761 },
762 {
763 "id": 66,
764 "type": "EmptyFlux2LatentImage",
765 "pos": [
766 455.3333202680027,
767 828.833333604156
768 ],
769 "size": [
770 270,
771 106
772 ],
773 "flags": [],
774 "order": 5,
775 "mode": 0,
776 "inputs": [
777 {
778 "localized_name": "width",
779 "name": "width",
780 "type": "INT",
781 "widget": {
782 "name": "width"
783 },
784 "link": 149
785 },
786 {
787 "localized_name": "height",
788 "name": "height",
789 "type": "INT",
790 "widget": {
791 "name": "height"
792 },
793 "link": 150
794 }
795 ],
796 "outputs": [
797 {
798 "localized_name": "LATENT",
799 "name": "LATENT",
800 "type": "LATENT",
801 "links": [
802 146
803 ]
804 }
805 ],
806 "properties": {
807 "Node name for S&R": "EmptyFlux2LatentImage",
808 "cnr_id": "comfy-core",
809 "ver": "0.8.2",
810 "enableTabs": false,
811 "tabWidth": 65,
812 "tabXOffset": 10,
813 "hasSecondTab": false,
814 "secondTabText": "Send Back",
815 "secondTabOffset": 80,
816 "secondTabWidth": 65
817 },
818 "widgets_values": [
819 1024,
820 1024,
821 1
822 ]
823 },
824 {
825 "id": 67,
826 "type": "CLIPTextEncode",
827 "pos": [
828 -34.666679731997306,
829 558.833333604156
830 ],
831 "size": [
832 430,
833 100
834 ],
835 "flags": [],
836 "order": 6,
837 "mode": 0,
838 "inputs": [
839 {
840 "localized_name": "clip",
841 "name": "clip",
842 "type": "CLIP",
843 "link": 152
844 }
845 ],
846 "outputs": [
847 {
848 "localized_name": "CONDITIONING",
849 "name": "CONDITIONING",
850 "type": "CONDITIONING",
851 "slot_index": 0,
852 "links": [
853 141
854 ]
855 }
856 ],
857 "title": "CLIP Text Encode (Negative Prompt)",
858 "properties": {
859 "Node name for S&R": "CLIPTextEncode",
860 "cnr_id": "comfy-core",
861 "ver": "0.8.2",
862 "enableTabs": false,
863 "tabWidth": 65,
864 "tabXOffset": 10,
865 "hasSecondTab": false,
866 "secondTabText": "Send Back",
867 "secondTabOffset": 80,
868 "secondTabWidth": 65
869 },
870 "widgets_values": [
871 ""
872 ],
873 "color": "#322",
874 "bgcolor": "#533"
875 },
876 {
877 "id": 68,
878 "type": "PrimitiveInt",
879 "pos": [
880 -414.6666797319973,
881 808.833333604156
882 ],
883 "size": [
884 270,
885 82
886 ],
887 "flags": [],
888 "order": 7,
889 "mode": 0,
890 "inputs": [
891 {
892 "localized_name": "value",
893 "name": "value",
894 "type": "INT",
895 "widget": {
896 "name": "value"
897 },
898 "link": 155
899 }
900 ],
901 "outputs": [
902 {
903 "localized_name": "INT",
904 "name": "INT",
905 "type": "INT",
906 "links": [
907 137,
908 149
909 ]
910 }
911 ],
912 "title": "Width",
913 "properties": {
914 "Node name for S&R": "PrimitiveInt",
915 "cnr_id": "comfy-core",
916 "ver": "0.8.2",
917 "enableTabs": false,
918 "tabWidth": 65,
919 "tabXOffset": 10,
920 "hasSecondTab": false,
921 "secondTabText": "Send Back",
922 "secondTabOffset": 80,
923 "secondTabWidth": 65
924 },
925 "widgets_values": [
926 1024,
927 "fixed"
928 ]
929 },
930 {
931 "id": 69,
932 "type": "PrimitiveInt",
933 "pos": [
934 -414.6666797319973,
935 958.833333604156
936 ],
937 "size": [
938 270,
939 82
940 ],
941 "flags": [],
942 "order": 8,
943 "mode": 0,
944 "inputs": [
945 {
946 "localized_name": "value",
947 "name": "value",
948 "type": "INT",
949 "widget": {
950 "name": "value"
951 },
952 "link": 157
953 }
954 ],
955 "outputs": [
956 {
957 "localized_name": "INT",
958 "name": "INT",
959 "type": "INT",
960 "links": [
961 138,
962 150
963 ]
964 }
965 ],
966 "title": "Height",
967 "properties": {
968 "Node name for S&R": "PrimitiveInt",
969 "cnr_id": "comfy-core",
970 "ver": "0.8.2",
971 "enableTabs": false,
972 "tabWidth": 65,
973 "tabXOffset": 10,
974 "hasSecondTab": false,
975 "secondTabText": "Send Back",
976 "secondTabOffset": 80,
977 "secondTabWidth": 65
978 },
979 "widgets_values": [
980 1024,
981 "fixed"
982 ]
983 },
984 {
985 "id": 73,
986 "type": "RandomNoise",
987 "pos": [
988 461.3333202680027,
989 208.83333360415605
990 ],
991 "size": [
992 270,
993 82
994 ],
995 "flags": [],
996 "order": 12,
997 "mode": 0,
998 "inputs": [],
999 "outputs": [
1000 {
1001 "localized_name": "NOISE",
1002 "name": "NOISE",
1003 "type": "NOISE",
1004 "links": [
1005 142
1006 ]
1007 }
1008 ],
1009 "properties": {
1010 "Node name for S&R": "RandomNoise",
1011 "cnr_id": "comfy-core",
1012 "ver": "0.8.2",
1013 "enableTabs": false,
1014 "tabWidth": 65,
1015 "tabXOffset": 10,
1016 "hasSecondTab": false,
1017 "secondTabText": "Send Back",
1018 "secondTabOffset": 80,
1019 "secondTabWidth": 65
1020 },
1021 "widgets_values": [
1022 0,
1023 "randomize"
1024 ]
1025 },
1026 {
1027 "id": 70,
1028 "type": "UNETLoader",
1029 "pos": [
1030 -464.6666797319973,
1031 228.66668403603927
1032 ],
1033 "size": [
1034 364.42708333333337,
1035 82
1036 ],
1037 "flags": [],
1038 "order": 9,
1039 "mode": 0,
1040 "inputs": [
1041 {
1042 "localized_name": "unet_name",
1043 "name": "unet_name",
1044 "type": "COMBO",
1045 "widget": {
1046 "name": "unet_name"
1047 },
1048 "link": 159
1049 }
1050 ],
1051 "outputs": [
1052 {
1053 "localized_name": "MODEL",
1054 "name": "MODEL",
1055 "type": "MODEL",
1056 "links": [
1057 139
1058 ]
1059 }
1060 ],
1061 "properties": {
1062 "Node name for S&R": "UNETLoader",
1063 "cnr_id": "comfy-core",
1064 "ver": "0.8.2",
1065 "models": [
1066 {
1067 "name": "flux-2-klein-base-4b.safetensors",
1068 "url": "https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-base-4b.safetensors",
1069 "directory": "diffusion_models"
1070 }
1071 ],
1072 "enableTabs": false,
1073 "tabWidth": 65,
1074 "tabXOffset": 10,
1075 "hasSecondTab": false,
1076 "secondTabText": "Send Back",
1077 "secondTabOffset": 80,
1078 "secondTabWidth": 65
1079 },
1080 "widgets_values": [
1081 "flux-2-klein-base-4b.safetensors",
1082 "default"
1083 ]
1084 },
1085 {
1086 "id": 71,
1087 "type": "CLIPLoader",
1088 "pos": [
1089 -464.6666797319973,
1090 378.66668403603927
1091 ],
1092 "size": [
1093 364.42708333333337,
1094 106
1095 ],
1096 "flags": [],
1097 "order": 10,
1098 "mode": 0,
1099 "inputs": [
1100 {
1101 "localized_name": "clip_name",
1102 "name": "clip_name",
1103 "type": "COMBO",
1104 "widget": {
1105 "name": "clip_name"
1106 },
1107 "link": 160
1108 }
1109 ],
1110 "outputs": [
1111 {
1112 "localized_name": "CLIP",
1113 "name": "CLIP",
1114 "type": "CLIP",
1115 "links": [
1116 151,
1117 152
1118 ]
1119 }
1120 ],
1121 "properties": {
1122 "Node name for S&R": "CLIPLoader",
1123 "cnr_id": "comfy-core",
1124 "ver": "0.8.2",
1125 "models": [
1126 {
1127 "name": "qwen_3_4b.safetensors",
1128 "url": "https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
1129 "directory": "text_encoders"
1130 }
1131 ],
1132 "enableTabs": false,
1133 "tabWidth": 65,
1134 "tabXOffset": 10,
1135 "hasSecondTab": false,
1136 "secondTabText": "Send Back",
1137 "secondTabOffset": 80,
1138 "secondTabWidth": 65
1139 },
1140 "widgets_values": [
1141 "qwen_3_4b.safetensors",
1142 "flux2",
1143 "default"
1144 ]
1145 },
1146 {
1147 "id": 72,
1148 "type": "VAELoader",
1149 "pos": [
1150 -464.6666797319973,
1151 548.6666840360392
1152 ],
1153 "size": [
1154 364.42708333333337,
1155 58
1156 ],
1157 "flags": [],
1158 "order": 11,
1159 "mode": 0,
1160 "inputs": [
1161 {
1162 "localized_name": "vae_name",
1163 "name": "vae_name",
1164 "type": "COMBO",
1165 "widget": {
1166 "name": "vae_name"
1167 },
1168 "link": 161
1169 }
1170 ],
1171 "outputs": [
1172 {
1173 "localized_name": "VAE",
1174 "name": "VAE",
1175 "type": "VAE",
1176 "links": [
1177 148
1178 ]
1179 }
1180 ],
1181 "properties": {
1182 "Node name for S&R": "VAELoader",
1183 "cnr_id": "comfy-core",
1184 "ver": "0.8.2",
1185 "models": [
1186 {
1187 "name": "flux2-vae.safetensors",
1188 "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
1189 "directory": "vae"
1190 }
1191 ],
1192 "enableTabs": false,
1193 "tabWidth": 65,
1194 "tabXOffset": 10,
1195 "hasSecondTab": false,
1196 "secondTabText": "Send Back",
1197 "secondTabOffset": 80,
1198 "secondTabWidth": 65
1199 },
1200 "widgets_values": [
1201 "flux2-vae.safetensors"
1202 ]
1203 },
1204 {
1205 "id": 74,
1206 "type": "CLIPTextEncode",
1207 "pos": [
1208 -34.666679731997306,
1209 228.83333360415605
1210 ],
1211 "size": [
1212 430,
1213 280
1214 ],
1215 "flags": [],
1216 "order": 13,
1217 "mode": 0,
1218 "inputs": [
1219 {
1220 "localized_name": "clip",
1221 "name": "clip",
1222 "type": "CLIP",
1223 "link": 151
1224 },
1225 {
1226 "localized_name": "text",
1227 "name": "text",
1228 "type": "STRING",
1229 "widget": {
1230 "name": "text"
1231 },
1232 "link": 162
1233 }
1234 ],
1235 "outputs": [
1236 {
1237 "localized_name": "CONDITIONING",
1238 "name": "CONDITIONING",
1239 "type": "CONDITIONING",
1240 "slot_index": 0,
1241 "links": [
1242 140
1243 ]
1244 }
1245 ],
1246 "title": "CLIP Text Encode (Positive Prompt)",
1247 "properties": {
1248 "Node name for S&R": "CLIPTextEncode",
1249 "cnr_id": "comfy-core",
1250 "ver": "0.8.2",
1251 "enableTabs": false,
1252 "tabWidth": 65,
1253 "tabXOffset": 10,
1254 "hasSecondTab": false,
1255 "secondTabText": "Send Back",
1256 "secondTabOffset": 80,
1257 "secondTabWidth": 65
1258 },
1259 "widgets_values": [
1260 ""
1261 ],
1262 "color": "#232",
1263 "bgcolor": "#353"
1264 }
1265 ],
1266 "groups": [
1267 {
1268 "id": 1,
1269 "title": "Models",
1270 "bounding": [
1271 -470,
1272 140,
1273 380,
1274 550
1275 ],
1276 "color": "#3f789e",
1277 "font_size": 24,
1278 "flags": []
1279 },
1280 {
1281 "id": 2,
1282 "title": "Prompt",
1283 "bounding": [
1284 -50,
1285 140,
1286 470,
1287 550
1288 ],
1289 "color": "#3f789e",
1290 "font_size": 24,
1291 "flags": []
1292 },
1293 {
1294 "id": 3,
1295 "title": "Sampler",
1296 "bounding": [
1297 460,
1298 140,
1299 532.3638671875,
1300 550
1301 ],
1302 "color": "#3f789e",
1303 "font_size": 24,
1304 "flags": []
1305 },
1306 {
1307 "id": 4,
1308 "title": "Image Size",
1309 "bounding": [
1310 -470,
1311 720,
1312 380,
1313 350
1314 ],
1315 "color": "#3f789e",
1316 "font_size": 24,
1317 "flags": []
1318 }
1319 ],
1320 "links": [
1321 {
1322 "id": 137,
1323 "origin_id": 68,
1324 "origin_slot": 0,
1325 "target_id": 62,
1326 "target_slot": 0,
1327 "type": "INT"
1328 },
1329 {
1330 "id": 138,
1331 "origin_id": 69,
1332 "origin_slot": 0,
1333 "target_id": 62,
1334 "target_slot": 1,
1335 "type": "INT"
1336 },
1337 {
1338 "id": 139,
1339 "origin_id": 70,
1340 "origin_slot": 0,
1341 "target_id": 63,
1342 "target_slot": 0,
1343 "type": "MODEL"
1344 },
1345 {
1346 "id": 140,
1347 "origin_id": 74,
1348 "origin_slot": 0,
1349 "target_id": 63,
1350 "target_slot": 1,
1351 "type": "CONDITIONING"
1352 },
1353 {
1354 "id": 141,
1355 "origin_id": 67,
1356 "origin_slot": 0,
1357 "target_id": 63,
1358 "target_slot": 2,
1359 "type": "CONDITIONING"
1360 },
1361 {
1362 "id": 142,
1363 "origin_id": 73,
1364 "origin_slot": 0,
1365 "target_id": 64,
1366 "target_slot": 0,
1367 "type": "NOISE"
1368 },
1369 {
1370 "id": 143,
1371 "origin_id": 63,
1372 "origin_slot": 0,
1373 "target_id": 64,
1374 "target_slot": 1,
1375 "type": "GUIDER"
1376 },
1377 {
1378 "id": 144,
1379 "origin_id": 61,
1380 "origin_slot": 0,
1381 "target_id": 64,
1382 "target_slot": 2,
1383 "type": "SAMPLER"
1384 },
1385 {
1386 "id": 145,
1387 "origin_id": 62,
1388 "origin_slot": 0,
1389 "target_id": 64,
1390 "target_slot": 3,
1391 "type": "SIGMAS"
1392 },
1393 {
1394 "id": 146,
1395 "origin_id": 66,
1396 "origin_slot": 0,
1397 "target_id": 64,
1398 "target_slot": 4,
1399 "type": "LATENT"
1400 },
1401 {
1402 "id": 147,
1403 "origin_id": 64,
1404 "origin_slot": 0,
1405 "target_id": 65,
1406 "target_slot": 0,
1407 "type": "LATENT"
1408 },
1409 {
1410 "id": 148,
1411 "origin_id": 72,
1412 "origin_slot": 0,
1413 "target_id": 65,
1414 "target_slot": 1,
1415 "type": "VAE"
1416 },
1417 {
1418 "id": 149,
1419 "origin_id": 68,
1420 "origin_slot": 0,
1421 "target_id": 66,
1422 "target_slot": 0,
1423 "type": "INT"
1424 },
1425 {
1426 "id": 150,
1427 "origin_id": 69,
1428 "origin_slot": 0,
1429 "target_id": 66,
1430 "target_slot": 1,
1431 "type": "INT"
1432 },
1433 {
1434 "id": 152,
1435 "origin_id": 71,
1436 "origin_slot": 0,
1437 "target_id": 67,
1438 "target_slot": 0,
1439 "type": "CLIP"
1440 },
1441 {
1442 "id": 151,
1443 "origin_id": 71,
1444 "origin_slot": 0,
1445 "target_id": 74,
1446 "target_slot": 0,
1447 "type": "CLIP"
1448 },
1449 {
1450 "id": 153,
1451 "origin_id": 65,
1452 "origin_slot": 0,
1453 "target_id": -20,
1454 "target_slot": 0,
1455 "type": "IMAGE"
1456 },
1457 {
1458 "id": 155,
1459 "origin_id": -10,
1460 "origin_slot": 0,
1461 "target_id": 68,
1462 "target_slot": 0,
1463 "type": "INT"
1464 },
1465 {
1466 "id": 157,
1467 "origin_id": -10,
1468 "origin_slot": 1,
1469 "target_id": 69,
1470 "target_slot": 0,
1471 "type": "INT"
1472 },
1473 {
1474 "id": 159,
1475 "origin_id": -10,
1476 "origin_slot": 2,
1477 "target_id": 70,
1478 "target_slot": 0,
1479 "type": "COMBO"
1480 },
1481 {
1482 "id": 160,
1483 "origin_id": -10,
1484 "origin_slot": 3,
1485 "target_id": 71,
1486 "target_slot": 0,
1487 "type": "COMBO"
1488 },
1489 {
1490 "id": 161,
1491 "origin_id": -10,
1492 "origin_slot": 4,
1493 "target_id": 72,
1494 "target_slot": 0,
1495 "type": "COMBO"
1496 },
1497 {
1498 "id": 162,
1499 "origin_id": -10,
1500 "origin_slot": 5,
1501 "target_id": 74,
1502 "target_slot": 1,
1503 "type": "STRING"
1504 }
1505 ],
1506 "extra": {
1507 "workflowRendererVersion": "LG"
1508 }
1509 },
1510 {
1511 "id": "a67caa28-5f85-4917-8396-36004960dd30",
1512 "version": 1,
1513 "state": {
1514 "lastGroupId": 4,
1515 "lastNodeId": 76,
1516 "lastLinkId": 164,
1517 "lastRerouteId": 0
1518 },
1519 "revision": 0,
1520 "config": [],
1521 "name": "Text to Image (FLUX.2 Klein 4B Distilled)",
1522 "inputNode": {
1523 "id": -10,
1524 "bounding": [
1525 -654.6666797319973,
1526 583.833333604156,
1527 120,
1528 160
1529 ]
1530 },
1531 "outputNode": {
1532 "id": -20,
1533 "bounding": [
1534 1295.3333202680028,
1535 573.833333604156,
1536 120,
1537 60
1538 ]
1539 },
1540 "inputs": [
1541 {
1542 "id": "765f2681-7227-4d56-b48b-73a758973d7c",
1543 "name": "value",
1544 "type": "INT",
1545 "linkIds": [
1546 155
1547 ],
1548 "pos": [
1549 -554.6666797319973,
1550 603.833333604156
1551 ]
1552 },
1553 {
1554 "id": "6527c96e-0ca0-4afe-bd2f-149a80412736",
1555 "name": "value_1",
1556 "type": "INT",
1557 "linkIds": [
1558 157
1559 ],
1560 "pos": [
1561 -554.6666797319973,
1562 623.833333604156
1563 ]
1564 },
1565 {
1566 "id": "ae713dbf-52cb-471a-807d-b12fa9acbb48",
1567 "name": "unet_name",
1568 "type": "COMBO",
1569 "linkIds": [
1570 159
1571 ],
1572 "pos": [
1573 -554.6666797319973,
1574 643.833333604156
1575 ]
1576 },
1577 {
1578 "id": "f29f705e-e43a-4502-b231-a1eea93a1d69",
1579 "name": "clip_name",
1580 "type": "COMBO",
1581 "linkIds": [
1582 160
1583 ],
1584 "pos": [
1585 -554.6666797319973,
1586 663.833333604156
1587 ]
1588 },
1589 {
1590 "id": "a954f490-386b-4367-9ea1-1b65913963a5",
1591 "name": "vae_name",
1592 "type": "COMBO",
1593 "linkIds": [
1594 161
1595 ],
1596 "pos": [
1597 -554.6666797319973,
1598 683.833333604156
1599 ]
1600 },
1601 {
1602 "id": "7061147a-fb75-450d-8e97-c8be594a8e16",
1603 "name": "text",
1604 "type": "STRING",
1605 "linkIds": [
1606 162
1607 ],
1608 "label": "prompt",
1609 "pos": [
1610 -554.6666797319973,
1611 703.833333604156
1612 ]
1613 }
1614 ],
1615 "outputs": [
1616 {
1617 "id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b",
1618 "name": "IMAGE",
1619 "type": "IMAGE",
1620 "linkIds": [
1621 153
1622 ],
1623 "localized_name": "IMAGE",
1624 "pos": [
1625 1315.3333202680028,
1626 593.833333604156
1627 ]
1628 }
1629 ],
1630 "widgets": [],
1631 "nodes": [
1632 {
1633 "id": 61,
1634 "type": "KSamplerSelect",
1635 "pos": [
1636 461.3333202680027,
1637 468.83333360415605
1638 ],
1639 "size": [
1640 270,
1641 58
1642 ],
1643 "flags": [],
1644 "order": 0,
1645 "mode": 0,
1646 "inputs": [],
1647 "outputs": [
1648 {
1649 "localized_name": "SAMPLER",
1650 "name": "SAMPLER",
1651 "type": "SAMPLER",
1652 "links": [
1653 144
1654 ]
1655 }
1656 ],
1657 "properties": {
1658 "Node name for S&R": "KSamplerSelect",
1659 "cnr_id": "comfy-core",
1660 "ver": "0.8.2",
1661 "enableTabs": false,
1662 "tabWidth": 65,
1663 "tabXOffset": 10,
1664 "hasSecondTab": false,
1665 "secondTabText": "Send Back",
1666 "secondTabOffset": 80,
1667 "secondTabWidth": 65
1668 },
1669 "widgets_values": [
1670 "euler"
1671 ]
1672 },
1673 {
1674 "id": 64,
1675 "type": "SamplerCustomAdvanced",
1676 "pos": [
1677 761.3333202680027,
1678 248.83333360415605
1679 ],
1680 "size": [
1681 212.3638671875,
1682 106
1683 ],
1684 "flags": [],
1685 "order": 3,
1686 "mode": 0,
1687 "inputs": [
1688 {
1689 "localized_name": "noise",
1690 "name": "noise",
1691 "type": "NOISE",
1692 "link": 142
1693 },
1694 {
1695 "localized_name": "guider",
1696 "name": "guider",
1697 "type": "GUIDER",
1698 "link": 143
1699 },
1700 {
1701 "localized_name": "sampler",
1702 "name": "sampler",
1703 "type": "SAMPLER",
1704 "link": 144
1705 },
1706 {
1707 "localized_name": "sigmas",
1708 "name": "sigmas",
1709 "type": "SIGMAS",
1710 "link": 145
1711 },
1712 {
1713 "localized_name": "latent_image",
1714 "name": "latent_image",
1715 "type": "LATENT",
1716 "link": 146
1717 }
1718 ],
1719 "outputs": [
1720 {
1721 "localized_name": "output",
1722 "name": "output",
1723 "type": "LATENT",
1724 "links": [
1725 147
1726 ]
1727 },
1728 {
1729 "localized_name": "denoised_output",
1730 "name": "denoised_output",
1731 "type": "LATENT",
1732 "links": []
1733 }
1734 ],
1735 "properties": {
1736 "Node name for S&R": "SamplerCustomAdvanced",
1737 "cnr_id": "comfy-core",
1738 "ver": "0.8.2",
1739 "enableTabs": false,
1740 "tabWidth": 65,
1741 "tabXOffset": 10,
1742 "hasSecondTab": false,
1743 "secondTabText": "Send Back",
1744 "secondTabOffset": 80,
1745 "secondTabWidth": 65
1746 },
1747 "widgets_values": []
1748 },
1749 {
1750 "id": 65,
1751 "type": "VAEDecode",
1752 "pos": [
1753 1015.3333202680027,
1754 178.83333360415605
1755 ],
1756 "size": [
1757 220,
1758 46
1759 ],
1760 "flags": [],
1761 "order": 4,
1762 "mode": 0,
1763 "inputs": [
1764 {
1765 "localized_name": "samples",
1766 "name": "samples",
1767 "type": "LATENT",
1768 "link": 147
1769 },
1770 {
1771 "localized_name": "vae",
1772 "name": "vae",
1773 "type": "VAE",
1774 "link": 148
1775 }
1776 ],
1777 "outputs": [
1778 {
1779 "localized_name": "IMAGE",
1780 "name": "IMAGE",
1781 "type": "IMAGE",
1782 "slot_index": 0,
1783 "links": [
1784 153
1785 ]
1786 }
1787 ],
1788 "properties": {
1789 "Node name for S&R": "VAEDecode",
1790 "cnr_id": "comfy-core",
1791 "ver": "0.8.2",
1792 "enableTabs": false,
1793 "tabWidth": 65,
1794 "tabXOffset": 10,
1795 "hasSecondTab": false,
1796 "secondTabText": "Send Back",
1797 "secondTabOffset": 80,
1798 "secondTabWidth": 65
1799 },
1800 "widgets_values": []
1801 },
1802 {
1803 "id": 66,
1804 "type": "EmptyFlux2LatentImage",
1805 "pos": [
1806 455.3333202680027,
1807 828.833333604156
1808 ],
1809 "size": [
1810 270,
1811 106
1812 ],
1813 "flags": [],
1814 "order": 5,
1815 "mode": 0,
1816 "inputs": [
1817 {
1818 "localized_name": "width",
1819 "name": "width",
1820 "type": "INT",
1821 "widget": {
1822 "name": "width"
1823 },
1824 "link": 149
1825 },
1826 {
1827 "localized_name": "height",
1828 "name": "height",
1829 "type": "INT",
1830 "widget": {
1831 "name": "height"
1832 },
1833 "link": 150
1834 }
1835 ],
1836 "outputs": [
1837 {
1838 "localized_name": "LATENT",
1839 "name": "LATENT",
1840 "type": "LATENT",
1841 "links": [
1842 146
1843 ]
1844 }
1845 ],
1846 "properties": {
1847 "Node name for S&R": "EmptyFlux2LatentImage",
1848 "cnr_id": "comfy-core",
1849 "ver": "0.8.2",
1850 "enableTabs": false,
1851 "tabWidth": 65,
1852 "tabXOffset": 10,
1853 "hasSecondTab": false,
1854 "secondTabText": "Send Back",
1855 "secondTabOffset": 80,
1856 "secondTabWidth": 65
1857 },
1858 "widgets_values": [
1859 1024,
1860 1024,
1861 1
1862 ]
1863 },
1864 {
1865 "id": 68,
1866 "type": "PrimitiveInt",
1867 "pos": [
1868 -414.6666797319973,
1869 808.833333604156
1870 ],
1871 "size": [
1872 270,
1873 82
1874 ],
1875 "flags": [],
1876 "order": 6,
1877 "mode": 0,
1878 "inputs": [
1879 {
1880 "localized_name": "value",
1881 "name": "value",
1882 "type": "INT",
1883 "widget": {
1884 "name": "value"
1885 },
1886 "link": 155
1887 }
1888 ],
1889 "outputs": [
1890 {
1891 "localized_name": "INT",
1892 "name": "INT",
1893 "type": "INT",
1894 "links": [
1895 137,
1896 149
1897 ]
1898 }
1899 ],
1900 "title": "Width",
1901 "properties": {
1902 "Node name for S&R": "PrimitiveInt",
1903 "cnr_id": "comfy-core",
1904 "ver": "0.8.2",
1905 "enableTabs": false,
1906 "tabWidth": 65,
1907 "tabXOffset": 10,
1908 "hasSecondTab": false,
1909 "secondTabText": "Send Back",
1910 "secondTabOffset": 80,
1911 "secondTabWidth": 65
1912 },
1913 "widgets_values": [
1914 1024,
1915 "fixed"
1916 ]
1917 },
1918 {
1919 "id": 69,
1920 "type": "PrimitiveInt",
1921 "pos": [
1922 -414.6666797319973,
1923 958.833333604156
1924 ],
1925 "size": [
1926 270,
1927 82
1928 ],
1929 "flags": [],
1930 "order": 7,
1931 "mode": 0,
1932 "inputs": [
1933 {
1934 "localized_name": "value",
1935 "name": "value",
1936 "type": "INT",
1937 "widget": {
1938 "name": "value"
1939 },
1940 "link": 157
1941 }
1942 ],
1943 "outputs": [
1944 {
1945 "localized_name": "INT",
1946 "name": "INT",
1947 "type": "INT",
1948 "links": [
1949 138,
1950 150
1951 ]
1952 }
1953 ],
1954 "title": "Height",
1955 "properties": {
1956 "Node name for S&R": "PrimitiveInt",
1957 "cnr_id": "comfy-core",
1958 "ver": "0.8.2",
1959 "enableTabs": false,
1960 "tabWidth": 65,
1961 "tabXOffset": 10,
1962 "hasSecondTab": false,
1963 "secondTabText": "Send Back",
1964 "secondTabOffset": 80,
1965 "secondTabWidth": 65
1966 },
1967 "widgets_values": [
1968 1024,
1969 "fixed"
1970 ]
1971 },
1972 {
1973 "id": 73,
1974 "type": "RandomNoise",
1975 "pos": [
1976 461.3333202680027,
1977 208.83333360415605
1978 ],
1979 "size": [
1980 270,
1981 82
1982 ],
1983 "flags": [],
1984 "order": 11,
1985 "mode": 0,
1986 "inputs": [],
1987 "outputs": [
1988 {
1989 "localized_name": "NOISE",
1990 "name": "NOISE",
1991 "type": "NOISE",
1992 "links": [
1993 142
1994 ]
1995 }
1996 ],
1997 "properties": {
1998 "Node name for S&R": "RandomNoise",
1999 "cnr_id": "comfy-core",
2000 "ver": "0.8.2",
2001 "enableTabs": false,
2002 "tabWidth": 65,
2003 "tabXOffset": 10,
2004 "hasSecondTab": false,
2005 "secondTabText": "Send Back",
2006 "secondTabOffset": 80,
2007 "secondTabWidth": 65
2008 },
2009 "widgets_values": [
2010 432262096973490,
2011 "randomize"
2012 ]
2013 },
2014 {
2015 "id": 70,
2016 "type": "UNETLoader",
2017 "pos": [
2018 -464.6666797319973,
2019 228.66668403603927
2020 ],
2021 "size": [
2022 364.42708333333337,
2023 82
2024 ],
2025 "flags": [],
2026 "order": 8,
2027 "mode": 0,
2028 "inputs": [
2029 {
2030 "localized_name": "unet_name",
2031 "name": "unet_name",
2032 "type": "COMBO",
2033 "widget": {
2034 "name": "unet_name"
2035 },
2036 "link": 159
2037 }
2038 ],
2039 "outputs": [
2040 {
2041 "localized_name": "MODEL",
2042 "name": "MODEL",
2043 "type": "MODEL",
2044 "links": [
2045 139
2046 ]
2047 }
2048 ],
2049 "properties": {
2050 "Node name for S&R": "UNETLoader",
2051 "cnr_id": "comfy-core",
2052 "ver": "0.8.2",
2053 "models": [
2054 {
2055 "name": "flux-2-klein-4b.safetensors",
2056 "url": "https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-4b.safetensors",
2057 "directory": "diffusion_models"
2058 }
2059 ],
2060 "enableTabs": false,
2061 "tabWidth": 65,
2062 "tabXOffset": 10,
2063 "hasSecondTab": false,
2064 "secondTabText": "Send Back",
2065 "secondTabOffset": 80,
2066 "secondTabWidth": 65
2067 },
2068 "widgets_values": [
2069 "flux-2-klein-4b.safetensors",
2070 "default"
2071 ]
2072 },
2073 {
2074 "id": 71,
2075 "type": "CLIPLoader",
2076 "pos": [
2077 -464.6666797319973,
2078 378.66668403603927
2079 ],
2080 "size": [
2081 364.42708333333337,
2082 106
2083 ],
2084 "flags": [],
2085 "order": 9,
2086 "mode": 0,
2087 "inputs": [
2088 {
2089 "localized_name": "clip_name",
2090 "name": "clip_name",
2091 "type": "COMBO",
2092 "widget": {
2093 "name": "clip_name"
2094 },
2095 "link": 160
2096 }
2097 ],
2098 "outputs": [
2099 {
2100 "localized_name": "CLIP",
2101 "name": "CLIP",
2102 "type": "CLIP",
2103 "links": [
2104 151
2105 ]
2106 }
2107 ],
2108 "properties": {
2109 "Node name for S&R": "CLIPLoader",
2110 "cnr_id": "comfy-core",
2111 "ver": "0.8.2",
2112 "models": [
2113 {
2114 "name": "qwen_3_4b.safetensors",
2115 "url": "https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
2116 "directory": "text_encoders"
2117 }
2118 ],
2119 "enableTabs": false,
2120 "tabWidth": 65,
2121 "tabXOffset": 10,
2122 "hasSecondTab": false,
2123 "secondTabText": "Send Back",
2124 "secondTabOffset": 80,
2125 "secondTabWidth": 65
2126 },
2127 "widgets_values": [
2128 "qwen_3_4b.safetensors",
2129 "flux2",
2130 "default"
2131 ]
2132 },
2133 {
2134 "id": 72,
2135 "type": "VAELoader",
2136 "pos": [
2137 -464.6666797319973,
2138 548.6666840360392
2139 ],
2140 "size": [
2141 364.42708333333337,
2142 58
2143 ],
2144 "flags": [],
2145 "order": 10,
2146 "mode": 0,
2147 "inputs": [
2148 {
2149 "localized_name": "vae_name",
2150 "name": "vae_name",
2151 "type": "COMBO",
2152 "widget": {
2153 "name": "vae_name"
2154 },
2155 "link": 161
2156 }
2157 ],
2158 "outputs": [
2159 {
2160 "localized_name": "VAE",
2161 "name": "VAE",
2162 "type": "VAE",
2163 "links": [
2164 148
2165 ]
2166 }
2167 ],
2168 "properties": {
2169 "Node name for S&R": "VAELoader",
2170 "cnr_id": "comfy-core",
2171 "ver": "0.8.2",
2172 "models": [
2173 {
2174 "name": "flux2-vae.safetensors",
2175 "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
2176 "directory": "vae"
2177 }
2178 ],
2179 "enableTabs": false,
2180 "tabWidth": 65,
2181 "tabXOffset": 10,
2182 "hasSecondTab": false,
2183 "secondTabText": "Send Back",
2184 "secondTabOffset": 80,
2185 "secondTabWidth": 65
2186 },
2187 "widgets_values": [
2188 "flux2-vae.safetensors"
2189 ]
2190 },
2191 {
2192 "id": 63,
2193 "type": "CFGGuider",
2194 "pos": [
2195 461.3333202680027,
2196 328.83333360415605
2197 ],
2198 "size": [
2199 270,
2200 98
2201 ],
2202 "flags": [],
2203 "order": 2,
2204 "mode": 0,
2205 "inputs": [
2206 {
2207 "localized_name": "model",
2208 "name": "model",
2209 "type": "MODEL",
2210 "link": 139
2211 },
2212 {
2213 "localized_name": "positive",
2214 "name": "positive",
2215 "type": "CONDITIONING",
2216 "link": 140
2217 },
2218 {
2219 "localized_name": "negative",
2220 "name": "negative",
2221 "type": "CONDITIONING",
2222 "link": 164
2223 }
2224 ],
2225 "outputs": [
2226 {
2227 "localized_name": "GUIDER",
2228 "name": "GUIDER",
2229 "type": "GUIDER",
2230 "links": [
2231 143
2232 ]
2233 }
2234 ],
2235 "properties": {
2236 "Node name for S&R": "CFGGuider",
2237 "cnr_id": "comfy-core",
2238 "ver": "0.8.2",
2239 "enableTabs": false,
2240 "tabWidth": 65,
2241 "tabXOffset": 10,
2242 "hasSecondTab": false,
2243 "secondTabText": "Send Back",
2244 "secondTabOffset": 80,
2245 "secondTabWidth": 65
2246 },
2247 "widgets_values": [
2248 1
2249 ]
2250 },
2251 {
2252 "id": 76,
2253 "type": "ConditioningZeroOut",
2254 "pos": [
2255 190,
2256 640
2257 ],
2258 "size": [
2259 204.134765625,
2260 26
2261 ],
2262 "flags": [],
2263 "order": 13,
2264 "mode": 0,
2265 "inputs": [
2266 {
2267 "localized_name": "conditioning",
2268 "name": "conditioning",
2269 "type": "CONDITIONING",
2270 "link": 163
2271 }
2272 ],
2273 "outputs": [
2274 {
2275 "localized_name": "CONDITIONING",
2276 "name": "CONDITIONING",
2277 "type": "CONDITIONING",
2278 "links": [
2279 164
2280 ]
2281 }
2282 ],
2283 "properties": {
2284 "Node name for S&R": "ConditioningZeroOut",
2285 "cnr_id": "comfy-core",
2286 "ver": "0.9.1",
2287 "enableTabs": false,
2288 "tabWidth": 65,
2289 "tabXOffset": 10,
2290 "hasSecondTab": false,
2291 "secondTabText": "Send Back",
2292 "secondTabOffset": 80,
2293 "secondTabWidth": 65
2294 },
2295 "widgets_values": []
2296 },
2297 {
2298 "id": 74,
2299 "type": "CLIPTextEncode",
2300 "pos": [
2301 -34.666679731997306,
2302 228.83333360415605
2303 ],
2304 "size": [
2305 440,
2306 360
2307 ],
2308 "flags": [],
2309 "order": 12,
2310 "mode": 0,
2311 "inputs": [
2312 {
2313 "localized_name": "clip",
2314 "name": "clip",
2315 "type": "CLIP",
2316 "link": 151
2317 },
2318 {
2319 "localized_name": "text",
2320 "name": "text",
2321 "type": "STRING",
2322 "widget": {
2323 "name": "text"
2324 },
2325 "link": 162
2326 }
2327 ],
2328 "outputs": [
2329 {
2330 "localized_name": "CONDITIONING",
2331 "name": "CONDITIONING",
2332 "type": "CONDITIONING",
2333 "slot_index": 0,
2334 "links": [
2335 140,
2336 163
2337 ]
2338 }
2339 ],
2340 "title": "CLIP Text Encode (Positive Prompt)",
2341 "properties": {
2342 "Node name for S&R": "CLIPTextEncode",
2343 "cnr_id": "comfy-core",
2344 "ver": "0.8.2",
2345 "enableTabs": false,
2346 "tabWidth": 65,
2347 "tabXOffset": 10,
2348 "hasSecondTab": false,
2349 "secondTabText": "Send Back",
2350 "secondTabOffset": 80,
2351 "secondTabWidth": 65
2352 },
2353 "widgets_values": [
2354 ""
2355 ],
2356 "color": "#232",
2357 "bgcolor": "#353"
2358 },
2359 {
2360 "id": 62,
2361 "type": "Flux2Scheduler",
2362 "pos": [
2363 461.3333202680027,
2364 568.833333604156
2365 ],
2366 "size": [
2367 270,
2368 106
2369 ],
2370 "flags": [],
2371 "order": 1,
2372 "mode": 0,
2373 "inputs": [
2374 {
2375 "localized_name": "width",
2376 "name": "width",
2377 "type": "INT",
2378 "widget": {
2379 "name": "width"
2380 },
2381 "link": 137
2382 },
2383 {
2384 "localized_name": "height",
2385 "name": "height",
2386 "type": "INT",
2387 "widget": {
2388 "name": "height"
2389 },
2390 "link": 138
2391 }
2392 ],
2393 "outputs": [
2394 {
2395 "localized_name": "SIGMAS",
2396 "name": "SIGMAS",
2397 "type": "SIGMAS",
2398 "links": [
2399 145
2400 ]
2401 }
2402 ],
2403 "properties": {
2404 "Node name for S&R": "Flux2Scheduler",
2405 "cnr_id": "comfy-core",
2406 "ver": "0.8.2",
2407 "enableTabs": false,
2408 "tabWidth": 65,
2409 "tabXOffset": 10,
2410 "hasSecondTab": false,
2411 "secondTabText": "Send Back",
2412 "secondTabOffset": 80,
2413 "secondTabWidth": 65
2414 },
2415 "widgets_values": [
2416 4,
2417 1024,
2418 1024
2419 ]
2420 }
2421 ],
2422 "groups": [
2423 {
2424 "id": 1,
2425 "title": "Models",
2426 "bounding": [
2427 -470,
2428 140,
2429 380,
2430 550
2431 ],
2432 "color": "#3f789e",
2433 "font_size": 24,
2434 "flags": []
2435 },
2436 {
2437 "id": 2,
2438 "title": "Prompt",
2439 "bounding": [
2440 -50,
2441 140,
2442 470,
2443 550
2444 ],
2445 "color": "#3f789e",
2446 "font_size": 24,
2447 "flags": []
2448 },
2449 {
2450 "id": 3,
2451 "title": "Sampler",
2452 "bounding": [
2453 460,
2454 140,
2455 532.3638671875,
2456 550
2457 ],
2458 "color": "#3f789e",
2459 "font_size": 24,
2460 "flags": []
2461 },
2462 {
2463 "id": 4,
2464 "title": "Image Size",
2465 "bounding": [
2466 -470,
2467 720,
2468 380,
2469 350
2470 ],
2471 "color": "#3f789e",
2472 "font_size": 24,
2473 "flags": []
2474 }
2475 ],
2476 "links": [
2477 {
2478 "id": 137,
2479 "origin_id": 68,
2480 "origin_slot": 0,
2481 "target_id": 62,
2482 "target_slot": 0,
2483 "type": "INT"
2484 },
2485 {
2486 "id": 138,
2487 "origin_id": 69,
2488 "origin_slot": 0,
2489 "target_id": 62,
2490 "target_slot": 1,
2491 "type": "INT"
2492 },
2493 {
2494 "id": 139,
2495 "origin_id": 70,
2496 "origin_slot": 0,
2497 "target_id": 63,
2498 "target_slot": 0,
2499 "type": "MODEL"
2500 },
2501 {
2502 "id": 140,
2503 "origin_id": 74,
2504 "origin_slot": 0,
2505 "target_id": 63,
2506 "target_slot": 1,
2507 "type": "CONDITIONING"
2508 },
2509 {
2510 "id": 142,
2511 "origin_id": 73,
2512 "origin_slot": 0,
2513 "target_id": 64,
2514 "target_slot": 0,
2515 "type": "NOISE"
2516 },
2517 {
2518 "id": 143,
2519 "origin_id": 63,
2520 "origin_slot": 0,
2521 "target_id": 64,
2522 "target_slot": 1,
2523 "type": "GUIDER"
2524 },
2525 {
2526 "id": 144,
2527 "origin_id": 61,
2528 "origin_slot": 0,
2529 "target_id": 64,
2530 "target_slot": 2,
2531 "type": "SAMPLER"
2532 },
2533 {
2534 "id": 145,
2535 "origin_id": 62,
2536 "origin_slot": 0,
2537 "target_id": 64,
2538 "target_slot": 3,
2539 "type": "SIGMAS"
2540 },
2541 {
2542 "id": 146,
2543 "origin_id": 66,
2544 "origin_slot": 0,
2545 "target_id": 64,
2546 "target_slot": 4,
2547 "type": "LATENT"
2548 },
2549 {
2550 "id": 147,
2551 "origin_id": 64,
2552 "origin_slot": 0,
2553 "target_id": 65,
2554 "target_slot": 0,
2555 "type": "LATENT"
2556 },
2557 {
2558 "id": 148,
2559 "origin_id": 72,
2560 "origin_slot": 0,
2561 "target_id": 65,
2562 "target_slot": 1,
2563 "type": "VAE"
2564 },
2565 {
2566 "id": 149,
2567 "origin_id": 68,
2568 "origin_slot": 0,
2569 "target_id": 66,
2570 "target_slot": 0,
2571 "type": "INT"
2572 },
2573 {
2574 "id": 150,
2575 "origin_id": 69,
2576 "origin_slot": 0,
2577 "target_id": 66,
2578 "target_slot": 1,
2579 "type": "INT"
2580 },
2581 {
2582 "id": 151,
2583 "origin_id": 71,
2584 "origin_slot": 0,
2585 "target_id": 74,
2586 "target_slot": 0,
2587 "type": "CLIP"
2588 },
2589 {
2590 "id": 153,
2591 "origin_id": 65,
2592 "origin_slot": 0,
2593 "target_id": -20,
2594 "target_slot": 0,
2595 "type": "IMAGE"
2596 },
2597 {
2598 "id": 155,
2599 "origin_id": -10,
2600 "origin_slot": 0,
2601 "target_id": 68,
2602 "target_slot": 0,
2603 "type": "INT"
2604 },
2605 {
2606 "id": 157,
2607 "origin_id": -10,
2608 "origin_slot": 1,
2609 "target_id": 69,
2610 "target_slot": 0,
2611 "type": "INT"
2612 },
2613 {
2614 "id": 159,
2615 "origin_id": -10,
2616 "origin_slot": 2,
2617 "target_id": 70,
2618 "target_slot": 0,
2619 "type": "COMBO"
2620 },
2621 {
2622 "id": 160,
2623 "origin_id": -10,
2624 "origin_slot": 3,
2625 "target_id": 71,
2626 "target_slot": 0,
2627 "type": "COMBO"
2628 },
2629 {
2630 "id": 161,
2631 "origin_id": -10,
2632 "origin_slot": 4,
2633 "target_id": 72,
2634 "target_slot": 0,
2635 "type": "COMBO"
2636 },
2637 {
2638 "id": 162,
2639 "origin_id": -10,
2640 "origin_slot": 5,
2641 "target_id": 74,
2642 "target_slot": 1,
2643 "type": "STRING"
2644 },
2645 {
2646 "id": 163,
2647 "origin_id": 74,
2648 "origin_slot": 0,
2649 "target_id": 76,
2650 "target_slot": 0,
2651 "type": "CONDITIONING"
2652 },
2653 {
2654 "id": 164,
2655 "origin_id": 76,
2656 "origin_slot": 0,
2657 "target_id": 63,
2658 "target_slot": 2,
2659 "type": "CONDITIONING"
2660 }
2661 ],
2662 "extra": {
2663 "workflowRendererVersion": "LG"
2664 }
2665 }
2666 ]
2667 },
2668 "config": [],
2669 "extra": {
2670 "ds": {
2671 "scale": 0.5514957865568056,
2672 "offset": [
2673 838.2872440007527,
2674 239.62462104027236
2675 ]
2676 },
2677 "frontendVersion": "1.38.6",
2678 "workflowRendererVersion": "LG",
2679 "VHS_latentpreview": false,
2680 "VHS_latentpreviewrate": 0,
2681 "VHS_MetadataImage": true,
2682 "VHS_KeepIntermediate": true
2683 },
2684 "version": 0.4
2685}