ComfyPilotComfyPilot
工作流 / 图像 / FLUX.2 Klein 9B (GGUF) — All-in-One text to image and Reference Workflow (Face / Body / Swap) | 8GB VRAM
FLUX.2 Klein 9B (GGUF) — All-in-One text to image  and Reference Workflow (Face / Body / Swap) | 8GB VRAM

FLUX.2 Klein 9B (GGUF) — All-in-One text to image and Reference Workflow (Face / Body / Swap) | 8GB VRAM

FLUX.2 Klein 9B (GGUF) — All-in-One text to image and Reference Workflow (Face / Body / Swap) | 8GB VRAM

A clean, ready-to-use ComfyUI workflow for FLUX.2 Klein 9B supporting 0, 1, or 2 reference images in a single graph. Powered by the Q4_K_M GGUF quantization with the text encoder offloaded to CPU, it runs smoothly on 8 G…

图像 25 个节点 5 次使用 Bearloga 28 KB

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

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

需要的权重

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

Klein9B_GGUF_Reference_Workflow_v2.json 模型库暂未收录

节点构成

LoadImage × 2
ImageScaleToTotalPixels × 2
VAEEncode × 2
ReferenceLatent × 2
PrimitiveInt × 2
Note × 2
UnetLoaderGGUF × 1
CLIPLoader × 1
VAELoader × 1
CLIPTextEncode × 1
ConditioningZeroOut × 1
EmptyFlux2LatentImage × 1
Flux2Scheduler × 1
KSamplerSelect × 1
RandomNoise × 1
CFGGuider × 1

官方标注的模型

flux-2-klein-9b-Q4_K_M.ggufflux2-vae.safetensorsqwen_3_8b_fp8mixed.safetensors

工作流 JSON

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

1{
2 "id": "c57016f8-248e-4315-8a69-ef4e06ec2d4a",
3 "revision": 0,
4 "last_node_id": 25,
5 "last_link_id": 27,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "UnetLoaderGGUF",
10 "pos": [
11 40,
12 60
13 ],
14 "size": [
15 320,
16 60
17 ],
18 "flags": {
19 "collapsed": true
20 },
21 "order": 0,
22 "mode": 0,
23 "inputs": [],
24 "outputs": [
25 {
26 "name": "MODEL",
27 "type": "MODEL",
28 "links": [
29 8
30 ]
31 }
32 ],
33 "title": "⚙ Klein 9B model (GGUF)",
34 "properties": {
35 "Node name for S&R": "UnetLoaderGGUF"
36 },
37 "widgets_values": [
38 "flux-2-klein-9b-Q4_K_M.gguf"
39 ],
40 "widgets_values_named": {
41 "unet_name": "flux-2-klein-9b-Q4_K_M.gguf"
42 }
43 },
44 {
45 "id": 2,
46 "type": "CLIPLoader",
47 "pos": [
48 40,
49 100
50 ],
51 "size": [
52 320,
53 106
54 ],
55 "flags": {
56 "collapsed": true
57 },
58 "order": 1,
59 "mode": 0,
60 "inputs": [],
61 "outputs": [
62 {
63 "name": "CLIP",
64 "type": "CLIP",
65 "links": [
66 4
67 ]
68 }
69 ],
70 "title": "⚙ Text encoder (CPU)",
71 "properties": {
72 "Node name for S&R": "CLIPLoader"
73 },
74 "widgets_values": [
75 "qwen_3_8b_fp8mixed.safetensors",
76 "flux2",
77 "cpu"
78 ],
79 "widgets_values_named": {
80 "clip_name": "qwen_3_8b_fp8mixed.safetensors",
81 "type": "flux2",
82 "device": "cpu"
83 }
84 },
85 {
86 "id": 3,
87 "type": "VAELoader",
88 "pos": [
89 40,
90 140
91 ],
92 "size": [
93 320,
94 60
95 ],
96 "flags": {
97 "collapsed": true
98 },
99 "order": 2,
100 "mode": 0,
101 "inputs": [],
102 "outputs": [
103 {
104 "name": "VAE",
105 "type": "VAE",
106 "links": [
107 3,
108 21,
109 25
110 ]
111 }
112 ],
113 "title": "⚙ VAE",
114 "properties": {
115 "Node name for S&R": "VAELoader"
116 },
117 "widgets_values": [
118 "flux2-vae.safetensors"
119 ],
120 "widgets_values_named": {
121 "vae_name": "flux2-vae.safetensors"
122 }
123 },
124 {
125 "id": 4,
126 "type": "LoadImage",
127 "pos": [
128 40,
129 260
130 ],
131 "size": [
132 330,
133 340
134 ],
135 "flags": [],
136 "order": 3,
137 "mode": 0,
138 "inputs": [],
139 "outputs": [
140 {
141 "name": "IMAGE",
142 "type": "IMAGE",
143 "links": [
144 1
145 ]
146 },
147 {
148 "name": "MASK",
149 "type": "MASK",
150 "links": []
151 }
152 ],
153 "title": "REF 1 — FACE (used most often)",
154 "properties": {
155 "Node name for S&R": "LoadImage",
156 "image": "anchor_final.png"
157 },
158 "widgets_values": [
159 "example.png",
160 "image"
161 ],
162 "widgets_values_named": {
163 "image": "example.png",
164 "upload": "image"
165 }
166 },
167 {
168 "id": 5,
169 "type": "ImageScaleToTotalPixels",
170 "pos": [
171 40,
172 620
173 ],
174 "size": [
175 300,
176 106
177 ],
178 "flags": {
179 "collapsed": true
180 },
181 "order": 12,
182 "mode": 0,
183 "inputs": [
184 {
185 "name": "image",
186 "type": "IMAGE",
187 "link": 1
188 }
189 ],
190 "outputs": [
191 {
192 "name": "IMAGE",
193 "type": "IMAGE",
194 "links": [
195 2
196 ]
197 }
198 ],
199 "title": "⚙ Resize REF 1 (1 MP)",
200 "properties": {
201 "Node name for S&R": "ImageScaleToTotalPixels"
202 },
203 "widgets_values": [
204 "lanczos",
205 1,
206 16
207 ],
208 "widgets_values_named": {
209 "upscale_method": "lanczos",
210 "megapixels": 1,
211 "resolution_steps": 16
212 }
213 },
214 {
215 "id": 6,
216 "type": "VAEEncode",
217 "pos": [
218 40,
219 660
220 ],
221 "size": [
222 300,
223 50
224 ],
225 "flags": {
226 "collapsed": true
227 },
228 "order": 17,
229 "mode": 0,
230 "inputs": [
231 {
232 "name": "pixels",
233 "type": "IMAGE",
234 "link": 2
235 },
236 {
237 "name": "vae",
238 "type": "VAE",
239 "link": 3
240 }
241 ],
242 "outputs": [
243 {
244 "name": "LATENT",
245 "type": "LATENT",
246 "links": [
247 6
248 ]
249 }
250 ],
251 "title": "⚙ VAE Encode REF 1",
252 "properties": {
253 "Node name for S&R": "VAEEncode"
254 }
255 },
256 {
257 "id": 7,
258 "type": "CLIPTextEncode",
259 "pos": [
260 815.9248864388636,
261 60.58646865802692
262 ],
263 "size": [
264 570,
265 220
266 ],
267 "flags": [],
268 "order": 11,
269 "mode": 0,
270 "inputs": [
271 {
272 "name": "clip",
273 "type": "CLIP",
274 "link": 4
275 }
276 ],
277 "outputs": [
278 {
279 "name": "CONDITIONING",
280 "type": "CONDITIONING",
281 "links": [
282 5,
283 7
284 ]
285 }
286 ],
287 "title": "Prompt",
288 "properties": {
289 "Node name for S&R": "CLIPTextEncode"
290 },
291 "widgets_values": [
292 "A man in his 40s with short dark hair and a full beard, sitting at a wooden table in a cozy cafe, holding a cup of coffee, wearing a gray sweater, candid smartphone photo, vertical 9:16"
293 ],
294 "widgets_values_named": {
295 "text": "A man in his 40s with short dark hair and a full beard, sitting at a wooden table in a cozy cafe, holding a cup of coffee, wearing a gray sweater, candid smartphone photo, vertical 9:16"
296 },
297 "color": "#232",
298 "bgcolor": "#353"
299 },
300 {
301 "id": 8,
302 "type": "ConditioningZeroOut",
303 "pos": [
304 825.9248864388636,
305 590.5864686580267
306 ],
307 "size": [
308 204.134765625,
309 26
310 ],
311 "flags": {
312 "collapsed": true
313 },
314 "order": 16,
315 "mode": 0,
316 "inputs": [
317 {
318 "name": "conditioning",
319 "type": "CONDITIONING",
320 "link": 7
321 }
322 ],
323 "outputs": [
324 {
325 "name": "CONDITIONING",
326 "type": "CONDITIONING",
327 "links": [
328 10
329 ]
330 }
331 ],
332 "title": "⚙ Empty negative",
333 "properties": {
334 "Node name for S&R": "ConditioningZeroOut"
335 }
336 },
337 {
338 "id": 9,
339 "type": "ReferenceLatent",
340 "pos": [
341 815.9248864388636,
342 290.586468658027
343 ],
344 "size": [
345 400,
346 60
347 ],
348 "flags": [],
349 "order": 19,
350 "mode": 4,
351 "inputs": [
352 {
353 "name": "conditioning",
354 "type": "CONDITIONING",
355 "link": 5
356 },
357 {
358 "name": "latent",
359 "shape": 7,
360 "type": "LATENT",
361 "link": 6
362 }
363 ],
364 "outputs": [
365 {
366 "name": "CONDITIONING",
367 "type": "CONDITIONING",
368 "links": [
369 26
370 ]
371 }
372 ],
373 "title": "REF 1 (face) · Ctrl+B = off",
374 "properties": {
375 "Node name for S&R": "ReferenceLatent"
376 },
377 "color": "#432",
378 "bgcolor": "#a60"
379 },
380 {
381 "id": 10,
382 "type": "PrimitiveInt",
383 "pos": [
384 1450,
385 60
386 ],
387 "size": [
388 300,
389 82
390 ],
391 "flags": [],
392 "order": 4,
393 "mode": 0,
394 "inputs": [],
395 "outputs": [
396 {
397 "name": "INT",
398 "type": "INT",
399 "links": [
400 11,
401 13
402 ]
403 }
404 ],
405 "title": "Width",
406 "properties": {
407 "Node name for S&R": "PrimitiveInt"
408 },
409 "widgets_values": [
410 720,
411 "fixed"
412 ],
413 "widgets_values_named": {
414 "value": 720,
415 "control_after_generate": "fixed"
416 },
417 "color": "#223",
418 "bgcolor": "#335"
419 },
420 {
421 "id": 11,
422 "type": "PrimitiveInt",
423 "pos": [
424 1450,
425 170
426 ],
427 "size": [
428 300,
429 82
430 ],
431 "flags": [],
432 "order": 5,
433 "mode": 0,
434 "inputs": [],
435 "outputs": [
436 {
437 "name": "INT",
438 "type": "INT",
439 "links": [
440 12,
441 14
442 ]
443 }
444 ],
445 "title": "Height",
446 "properties": {
447 "Node name for S&R": "PrimitiveInt"
448 },
449 "widgets_values": [
450 1248,
451 "fixed"
452 ],
453 "widgets_values_named": {
454 "value": 1248,
455 "control_after_generate": "fixed"
456 },
457 "color": "#223",
458 "bgcolor": "#335"
459 },
460 {
461 "id": 12,
462 "type": "EmptyFlux2LatentImage",
463 "pos": [
464 1450,
465 400
466 ],
467 "size": [
468 260,
469 110
470 ],
471 "flags": {
472 "collapsed": true
473 },
474 "order": 13,
475 "mode": 0,
476 "inputs": [
477 {
478 "name": "width",
479 "type": "INT",
480 "widget": {
481 "name": "width"
482 },
483 "link": 11
484 },
485 {
486 "name": "height",
487 "type": "INT",
488 "widget": {
489 "name": "height"
490 },
491 "link": 12
492 }
493 ],
494 "outputs": [
495 {
496 "name": "LATENT",
497 "type": "LATENT",
498 "links": [
499 19
500 ]
501 }
502 ],
503 "title": "⚙ Empty latent",
504 "properties": {
505 "Node name for S&R": "EmptyFlux2LatentImage"
506 },
507 "widgets_values": [
508 720,
509 1248,
510 1
511 ],
512 "widgets_values_named": {
513 "width": 720,
514 "height": 1248,
515 "batch_size": 1
516 }
517 },
518 {
519 "id": 13,
520 "type": "Flux2Scheduler",
521 "pos": [
522 1450,
523 440
524 ],
525 "size": [
526 260,
527 110
528 ],
529 "flags": {
530 "collapsed": true
531 },
532 "order": 14,
533 "mode": 0,
534 "inputs": [
535 {
536 "name": "width",
537 "type": "INT",
538 "widget": {
539 "name": "width"
540 },
541 "link": 13
542 },
543 {
544 "name": "height",
545 "type": "INT",
546 "widget": {
547 "name": "height"
548 },
549 "link": 14
550 }
551 ],
552 "outputs": [
553 {
554 "name": "SIGMAS",
555 "type": "SIGMAS",
556 "links": [
557 18
558 ]
559 }
560 ],
561 "title": "⚙ Sigmas (steps: 4)",
562 "properties": {
563 "Node name for S&R": "Flux2Scheduler"
564 },
565 "widgets_values": [
566 4,
567 720,
568 1248
569 ],
570 "widgets_values_named": {
571 "steps": 4,
572 "width": 720,
573 "height": 1248
574 }
575 },
576 {
577 "id": 14,
578 "type": "KSamplerSelect",
579 "pos": [
580 1450,
581 480
582 ],
583 "size": [
584 260,
585 60
586 ],
587 "flags": {
588 "collapsed": true
589 },
590 "order": 6,
591 "mode": 0,
592 "inputs": [],
593 "outputs": [
594 {
595 "name": "SAMPLER",
596 "type": "SAMPLER",
597 "links": [
598 17
599 ]
600 }
601 ],
602 "title": "⚙ Sampler euler",
603 "properties": {
604 "Node name for S&R": "KSamplerSelect"
605 },
606 "widgets_values": [
607 "euler"
608 ],
609 "widgets_values_named": {
610 "sampler_name": "euler"
611 }
612 },
613 {
614 "id": 15,
615 "type": "RandomNoise",
616 "pos": [
617 1450,
618 290
619 ],
620 "size": [
621 300,
622 90
623 ],
624 "flags": [],
625 "order": 7,
626 "mode": 0,
627 "inputs": [],
628 "outputs": [
629 {
630 "name": "NOISE",
631 "type": "NOISE",
632 "links": [
633 15
634 ]
635 }
636 ],
637 "title": "Seed",
638 "properties": {
639 "Node name for S&R": "RandomNoise"
640 },
641 "widgets_values": [
642 1012432390932837,
643 "randomize"
644 ],
645 "widgets_values_named": {
646 "noise_seed": 1012432390932837,
647 "control_after_generate": "randomize"
648 },
649 "color": "#223",
650 "bgcolor": "#335"
651 },
652 {
653 "id": 16,
654 "type": "CFGGuider",
655 "pos": [
656 1450,
657 520
658 ],
659 "size": [
660 240,
661 100
662 ],
663 "flags": {
664 "collapsed": true
665 },
666 "order": 21,
667 "mode": 0,
668 "inputs": [
669 {
670 "name": "model",
671 "type": "MODEL",
672 "link": 8
673 },
674 {
675 "name": "positive",
676 "type": "CONDITIONING",
677 "link": 9
678 },
679 {
680 "name": "negative",
681 "type": "CONDITIONING",
682 "link": 10
683 }
684 ],
685 "outputs": [
686 {
687 "name": "GUIDER",
688 "type": "GUIDER",
689 "links": [
690 16
691 ]
692 }
693 ],
694 "title": "⚙ Guider (cfg 1)",
695 "properties": {
696 "Node name for S&R": "CFGGuider"
697 },
698 "widgets_values": [
699 1
700 ],
701 "widgets_values_named": {
702 "cfg": 1
703 }
704 },
705 {
706 "id": 17,
707 "type": "SamplerCustomAdvanced",
708 "pos": [
709 1450,
710 560
711 ],
712 "size": [
713 240,
714 130
715 ],
716 "flags": {
717 "collapsed": true
718 },
719 "order": 22,
720 "mode": 0,
721 "inputs": [
722 {
723 "name": "noise",
724 "type": "NOISE",
725 "link": 15
726 },
727 {
728 "name": "guider",
729 "type": "GUIDER",
730 "link": 16
731 },
732 {
733 "name": "sampler",
734 "type": "SAMPLER",
735 "link": 17
736 },
737 {
738 "name": "sigmas",
739 "type": "SIGMAS",
740 "link": 18
741 },
742 {
743 "name": "latent_image",
744 "type": "LATENT",
745 "link": 19
746 }
747 ],
748 "outputs": [
749 {
750 "name": "output",
751 "type": "LATENT",
752 "links": [
753 20
754 ]
755 },
756 {
757 "name": "denoised_output",
758 "type": "LATENT",
759 "links": []
760 }
761 ],
762 "title": "⚙ Sampling",
763 "properties": {
764 "Node name for S&R": "SamplerCustomAdvanced"
765 }
766 },
767 {
768 "id": 18,
769 "type": "VAEDecode",
770 "pos": [
771 1450,
772 600
773 ],
774 "size": [
775 210,
776 50
777 ],
778 "flags": {
779 "collapsed": true
780 },
781 "order": 23,
782 "mode": 0,
783 "inputs": [
784 {
785 "name": "samples",
786 "type": "LATENT",
787 "link": 20
788 },
789 {
790 "name": "vae",
791 "type": "VAE",
792 "link": 21
793 }
794 ],
795 "outputs": [
796 {
797 "name": "IMAGE",
798 "type": "IMAGE",
799 "links": [
800 22
801 ]
802 }
803 ],
804 "title": "⚙ VAE Decode",
805 "properties": {
806 "Node name for S&R": "VAEDecode"
807 }
808 },
809 {
810 "id": 19,
811 "type": "SaveImage",
812 "pos": [
813 1810,
814 60
815 ],
816 "size": [
817 400,
818 500
819 ],
820 "flags": [],
821 "order": 24,
822 "mode": 0,
823 "inputs": [
824 {
825 "name": "images",
826 "type": "IMAGE",
827 "link": 22
828 }
829 ],
830 "outputs": [
831 {
832 "name": "images",
833 "type": "IMAGE",
834 "links": null
835 }
836 ],
837 "title": "Result",
838 "properties": {
839 "Node name for S&R": "SaveImage"
840 },
841 "widgets_values": [
842 "Klein_Ref"
843 ],
844 "widgets_values_named": {
845 "filename_prefix": "Klein_Ref"
846 }
847 },
848 {
849 "id": 20,
850 "type": "Note",
851 "pos": [
852 440,
853 45
854 ],
855 "size": [
856 340,
857 160
858 ],
859 "flags": [],
860 "order": 8,
861 "mode": 0,
862 "inputs": [],
863 "outputs": [],
864 "title": "How to use",
865 "properties": {
866 "Node name for S&R": "Note"
867 },
868 "widgets_values": [
869 "HOW TO USE\n\n1. Models: pick the 3 files in the blue \"Models\" group (see the download list on the workflow page).\n\n2. No reference (text-to-image): leave both purple \"REF\" nodes BYPASSED (they are bypassed by default).\n\n3. With references: load a face into REF 1 and/or a body / location / ready-made shot into REF 2, then click the matching purple \"REF ... Ctrl+B\" node and press Ctrl+B to switch it ON. Turn off the one you don't use.\n\n4. Prompt: refer to the pictures as \"image 1\" (REF 1) and \"image 2\" (REF 2). Copy a ready template from the \"Prompt templates\" note.\n\n5. Size: set Width / Height on the right (default 720x1248, vertical 9:16). For a ready-made shot use its own size.\n\n6. Press Run. Only 4 steps, CFG 1. Seed is set to randomize.\n\nTip: if the body reference is shirtless, always write the clothes in the prompt. Out of memory? Set REF 2 resize to 0.5."
870 ],
871 "widgets_values_named": {
872 "text": "HOW TO USE\n\n1. Models: pick the 3 files in the blue \"Models\" group (see the download list on the workflow page).\n\n2. No reference (text-to-image): leave both purple \"REF\" nodes BYPASSED (they are bypassed by default).\n\n3. With references: load a face into REF 1 and/or a body / location / ready-made shot into REF 2, then click the matching purple \"REF ... Ctrl+B\" node and press Ctrl+B to switch it ON. Turn off the one you don't use.\n\n4. Prompt: refer to the pictures as \"image 1\" (REF 1) and \"image 2\" (REF 2). Copy a ready template from the \"Prompt templates\" note.\n\n5. Size: set Width / Height on the right (default 720x1248, vertical 9:16). For a ready-made shot use its own size.\n\n6. Press Run. Only 4 steps, CFG 1. Seed is set to randomize.\n\nTip: if the body reference is shirtless, always write the clothes in the prompt. Out of memory? Set REF 2 resize to 0.5."
873 },
874 "color": "#432",
875 "bgcolor": "#653"
876 },
877 {
878 "id": 21,
879 "type": "LoadImage",
880 "pos": [
881 440,
882 260
883 ],
884 "size": [
885 330,
886 340
887 ],
888 "flags": [],
889 "order": 9,
890 "mode": 0,
891 "inputs": [],
892 "outputs": [
893 {
894 "name": "IMAGE",
895 "type": "IMAGE",
896 "links": [
897 23
898 ]
899 },
900 {
901 "name": "MASK",
902 "type": "MASK",
903 "links": []
904 }
905 ],
906 "title": "REF 2 — body / location / ready-made shot (optional)",
907 "properties": {
908 "Node name for S&R": "LoadImage",
909 "image": "body_anchor.png"
910 },
911 "widgets_values": [
912 "example.png",
913 "image"
914 ],
915 "widgets_values_named": {
916 "image": "example.png",
917 "upload": "image"
918 }
919 },
920 {
921 "id": 22,
922 "type": "ImageScaleToTotalPixels",
923 "pos": [
924 440,
925 620
926 ],
927 "size": [
928 357.6685546875,
929 106
930 ],
931 "flags": {
932 "collapsed": true
933 },
934 "order": 15,
935 "mode": 0,
936 "inputs": [
937 {
938 "name": "image",
939 "type": "IMAGE",
940 "link": 23
941 }
942 ],
943 "outputs": [
944 {
945 "name": "IMAGE",
946 "type": "IMAGE",
947 "links": [
948 24
949 ]
950 }
951 ],
952 "title": "⚙ Resize REF 2 (1 MP; if you run out of memory — 0.5)",
953 "properties": {
954 "Node name for S&R": "ImageScaleToTotalPixels"
955 },
956 "widgets_values": [
957 "lanczos",
958 1,
959 16
960 ],
961 "widgets_values_named": {
962 "upscale_method": "lanczos",
963 "megapixels": 1,
964 "resolution_steps": 16
965 }
966 },
967 {
968 "id": 23,
969 "type": "VAEEncode",
970 "pos": [
971 440,
972 660
973 ],
974 "size": [
975 300,
976 50
977 ],
978 "flags": {
979 "collapsed": true
980 },
981 "order": 18,
982 "mode": 0,
983 "inputs": [
984 {
985 "name": "pixels",
986 "type": "IMAGE",
987 "link": 24
988 },
989 {
990 "name": "vae",
991 "type": "VAE",
992 "link": 25
993 }
994 ],
995 "outputs": [
996 {
997 "name": "LATENT",
998 "type": "LATENT",
999 "links": [
1000 27
1001 ]
1002 }
1003 ],
1004 "title": "⚙ VAE Encode REF 2",
1005 "properties": {
1006 "Node name for S&R": "VAEEncode"
1007 }
1008 },
1009 {
1010 "id": 24,
1011 "type": "ReferenceLatent",
1012 "pos": [
1013 815.9248864388636,
1014 360.586468658027
1015 ],
1016 "size": [
1017 400,
1018 60
1019 ],
1020 "flags": [],
1021 "order": 20,
1022 "mode": 4,
1023 "inputs": [
1024 {
1025 "name": "conditioning",
1026 "type": "CONDITIONING",
1027 "link": 26
1028 },
1029 {
1030 "name": "latent",
1031 "shape": 7,
1032 "type": "LATENT",
1033 "link": 27
1034 }
1035 ],
1036 "outputs": [
1037 {
1038 "name": "CONDITIONING",
1039 "type": "CONDITIONING",
1040 "links": [
1041 9
1042 ]
1043 }
1044 ],
1045 "title": "REF 2 (body / location / shot) · Ctrl+B = off",
1046 "properties": {
1047 "Node name for S&R": "ReferenceLatent"
1048 },
1049 "color": "#432",
1050 "bgcolor": "#a60"
1051 },
1052 {
1053 "id": 25,
1054 "type": "Note",
1055 "pos": [
1056 815.9248864388636,
1057 440.586468658027
1058 ],
1059 "size": [
1060 570,
1061 330
1062 ],
1063 "flags": [],
1064 "order": 10,
1065 "mode": 0,
1066 "inputs": [],
1067 "outputs": [],
1068 "title": "Prompt templates",
1069 "properties": {
1070 "Node name for S&R": "Note"
1071 },
1072 "widgets_values": [
1073 "PROMPT TEMPLATES (replace the [..] parts; REF 1 = image 1, REF 2 = image 2)\n\n0 images (text only):\nA man in his 40s with short dark hair with gray streaks and a full beard with a gray chin, [scene], [clothes], candid smartphone photo, vertical 9:16\n\n1 image (face):\nThe exact man from image 1, [action], wearing [clothes], [place], candid smartphone photo, vertical 9:16\n\n2 images: face + body:\nThe exact man from image 1, with the same body build, shoulders and proportions as the man in image 2. He is fully clothed, wearing [clothes], [action], [place], candid smartphone photo, vertical 9:16\n\n2 images: face + location:\nThe exact man from image 1 [standing/sitting] in the place shown in image 2, [action], wearing [clothes]. Keep the layout, objects and lighting of image 2, candid smartphone photo\n\n2 images: face into a ready-made shot (the shot goes into REF 2):\nReplace the face of the person in image 2 with the face of the man from image 1. Keep the pose, body, clothes, background and lighting of image 2 exactly the same.\n\n2 images: whole person into a ready-made shot:\nReplace the person in image 2 with the man from image 1. Keep the pose, clothes, camera angle, background and lighting of image 2.\n\nSize (nodes on the right): 720x1248 (9:16 vertical), 1248x720 (horizontal), 1024x1024 (square). For a ready-made shot, set the same size as the shot.\nThe body reference is shirtless: always state the clothes explicitly in the prompt."
1074 ],
1075 "widgets_values_named": {
1076 "text": "PROMPT TEMPLATES (replace the [..] parts; REF 1 = image 1, REF 2 = image 2)\n\n0 images (text only):\nA man in his 40s with short dark hair with gray streaks and a full beard with a gray chin, [scene], [clothes], candid smartphone photo, vertical 9:16\n\n1 image (face):\nThe exact man from image 1, [action], wearing [clothes], [place], candid smartphone photo, vertical 9:16\n\n2 images: face + body:\nThe exact man from image 1, with the same body build, shoulders and proportions as the man in image 2. He is fully clothed, wearing [clothes], [action], [place], candid smartphone photo, vertical 9:16\n\n2 images: face + location:\nThe exact man from image 1 [standing/sitting] in the place shown in image 2, [action], wearing [clothes]. Keep the layout, objects and lighting of image 2, candid smartphone photo\n\n2 images: face into a ready-made shot (the shot goes into REF 2):\nReplace the face of the person in image 2 with the face of the man from image 1. Keep the pose, body, clothes, background and lighting of image 2 exactly the same.\n\n2 images: whole person into a ready-made shot:\nReplace the person in image 2 with the man from image 1. Keep the pose, clothes, camera angle, background and lighting of image 2.\n\nSize (nodes on the right): 720x1248 (9:16 vertical), 1248x720 (horizontal), 1024x1024 (square). For a ready-made shot, set the same size as the shot.\nThe body reference is shirtless: always state the clothes explicitly in the prompt."
1077 },
1078 "color": "#432",
1079 "bgcolor": "#653"
1080 }
1081 ],
1082 "links": [
1083 [
1084 1,
1085 4,
1086 0,
1087 5,
1088 0,
1089 "IMAGE"
1090 ],
1091 [
1092 2,
1093 5,
1094 0,
1095 6,
1096 0,
1097 "IMAGE"
1098 ],
1099 [
1100 3,
1101 3,
1102 0,
1103 6,
1104 1,
1105 "VAE"
1106 ],
1107 [
1108 4,
1109 2,
1110 0,
1111 7,
1112 0,
1113 "CLIP"
1114 ],
1115 [
1116 5,
1117 7,
1118 0,
1119 9,
1120 0,
1121 "CONDITIONING"
1122 ],
1123 [
1124 6,
1125 6,
1126 0,
1127 9,
1128 1,
1129 "LATENT"
1130 ],
1131 [
1132 7,
1133 7,
1134 0,
1135 8,
1136 0,
1137 "CONDITIONING"
1138 ],
1139 [
1140 8,
1141 1,
1142 0,
1143 16,
1144 0,
1145 "MODEL"
1146 ],
1147 [
1148 9,
1149 24,
1150 0,
1151 16,
1152 1,
1153 "CONDITIONING"
1154 ],
1155 [
1156 10,
1157 8,
1158 0,
1159 16,
1160 2,
1161 "CONDITIONING"
1162 ],
1163 [
1164 11,
1165 10,
1166 0,
1167 12,
1168 0,
1169 "INT"
1170 ],
1171 [
1172 12,
1173 11,
1174 0,
1175 12,
1176 1,
1177 "INT"
1178 ],
1179 [
1180 15,
1181 15,
1182 0,
1183 17,
1184 0,
1185 "NOISE"
1186 ],
1187 [
1188 16,
1189 16,
1190 0,
1191 17,
1192 1,
1193 "GUIDER"
1194 ],
1195 [
1196 17,
1197 14,
1198 0,
1199 17,
1200 2,
1201 "SAMPLER"
1202 ],
1203 [
1204 18,
1205 13,
1206 0,
1207 17,
1208 3,
1209 "SIGMAS"
1210 ],
1211 [
1212 19,
1213 12,
1214 0,
1215 17,
1216 4,
1217 "LATENT"
1218 ],
1219 [
1220 20,
1221 17,
1222 0,
1223 18,
1224 0,
1225 "LATENT"
1226 ],
1227 [
1228 21,
1229 3,
1230 0,
1231 18,
1232 1,
1233 "VAE"
1234 ],
1235 [
1236 22,
1237 18,
1238 0,
1239 19,
1240 0,
1241 "IMAGE"
1242 ],
1243 [
1244 23,
1245 21,
1246 0,
1247 22,
1248 0,
1249 "IMAGE"
1250 ],
1251 [
1252 24,
1253 22,
1254 0,
1255 23,
1256 0,
1257 "IMAGE"
1258 ],
1259 [
1260 25,
1261 3,
1262 0,
1263 23,
1264 1,
1265 "VAE"
1266 ],
1267 [
1268 26,
1269 9,
1270 0,
1271 24,
1272 0,
1273 "CONDITIONING"
1274 ],
1275 [
1276 27,
1277 23,
1278 0,
1279 24,
1280 1,
1281 "LATENT"
1282 ],
1283 [
1284 13,
1285 10,
1286 0,
1287 13,
1288 0,
1289 "INT"
1290 ],
1291 [
1292 14,
1293 11,
1294 0,
1295 13,
1296 1,
1297 "INT"
1298 ]
1299 ],
1300 "groups": [
1301 {
1302 "id": 1,
1303 "title": "Models ⚙",
1304 "bounding": [
1305 20,
1306 10,
1307 380,
1308 200
1309 ],
1310 "color": "#3f789e",
1311 "flags": []
1312 },
1313 {
1314 "id": 2,
1315 "title": "Reference 1 — face",
1316 "bounding": [
1317 20,
1318 220,
1319 380,
1320 510
1321 ],
1322 "color": "#8A8",
1323 "flags": []
1324 },
1325 {
1326 "id": 6,
1327 "title": "Reference 2 — body / location / ready-made shot",
1328 "bounding": [
1329 420,
1330 220,
1331 380,
1332 510
1333 ],
1334 "color": "#6a9a7a",
1335 "flags": []
1336 },
1337 {
1338 "id": 7,
1339 "title": "How to use",
1340 "bounding": [
1341 420,
1342 10,
1343 380,
1344 200
1345 ],
1346 "color": "#8a6a3a",
1347 "flags": []
1348 },
1349 {
1350 "id": 3,
1351 "title": "Prompt & mode",
1352 "bounding": [
1353 805.9248864388636,
1354 10.586468658026943,
1355 610,
1356 770
1357 ],
1358 "color": "#b58b2a",
1359 "flags": []
1360 },
1361 {
1362 "id": 4,
1363 "title": "Image size & sampling",
1364 "bounding": [
1365 1430,
1366 10,
1367 340,
1368 680
1369 ],
1370 "color": "#a1309b",
1371 "flags": []
1372 },
1373 {
1374 "id": 5,
1375 "title": "Result",
1376 "bounding": [
1377 1790,
1378 10,
1379 440,
1380 570
1381 ],
1382 "color": "#88A",
1383 "flags": []
1384 }
1385 ],
1386 "config": [],
1387 "extra": {
1388 "ds": {
1389 "scale": 1.3641019700000112,
1390 "offset": [
1391 390.72437473425384,
1392 113.02493459484418
1393 ]
1394 },
1395 "frontendVersion": "1.59.10",
1396 "VHS_latentpreview": false,
1397 "VHS_latentpreviewrate": 0,
1398 "VHS_MetadataImage": true,
1399 "VHS_KeepIntermediate": true
1400 },
1401 "extensions": {
1402 "seed_widgets": {
1403 "15": 0
1404 }
1405 },
1406 "version": 0.4,
1407 "seed_widgets": {
1408 "15": 0
1409 }
1410}