ComfyPilotComfyPilot
工作流 / 图像 / 镜头:文生图
镜头:文生图

镜头:文生图

Lens: Text to Image

输入文本提示词并选择分辨率和宽高比。使用高效的Lens文生图模型生成高质量图像。

图像 4 个节点 37 次使用 ComfyUI ≥ 0.23.0 ComfyUI 42 KB

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

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

需要的权重

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

flux2-vae.safetensors 在模型库查看
gpt_oss_20b_nvfp4.safetensors 在模型库查看
lens_bf16.safetensors 在模型库查看

节点构成

ec44c008-5f23-4498-a682-eb96a8598475 × 1
ResolutionSelector × 1
SaveImage × 1
MarkdownNote × 1

官方标注的模型

Lens

工作流 JSON

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

1{
2 "id": "f8677519-4c78-42f8-b9d2-db74ed7c9ab6",
3 "revision": 0,
4 "last_node_id": 56,
5 "last_link_id": 72,
6 "nodes": [
7 {
8 "id": 34,
9 "type": "ec44c008-5f23-4498-a682-eb96a8598475",
10 "pos": [
11 510,
12 7030
13 ],
14 "size": [
15 390,
16 480
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "label": "positive_prompt",
24 "name": "text",
25 "type": "STRING",
26 "widget": {
27 "name": "text"
28 },
29 "link": null
30 },
31 {
32 "label": "negative_prompt",
33 "name": "text_1",
34 "type": "STRING",
35 "widget": {
36 "name": "text_1"
37 },
38 "link": null
39 },
40 {
41 "label": "width",
42 "name": "value",
43 "type": "INT",
44 "widget": {
45 "name": "value"
46 },
47 "link": 60
48 },
49 {
50 "label": "height",
51 "name": "value_1",
52 "type": "INT",
53 "widget": {
54 "name": "value_1"
55 },
56 "link": 61
57 }
58 ],
59 "outputs": [
60 {
61 "name": "IMAGE",
62 "type": "IMAGE",
63 "links": [
64 66
65 ]
66 }
67 ],
68 "properties": {
69 "proxyWidgets": [
70 [
71 "3",
72 "text"
73 ],
74 [
75 "7",
76 "text"
77 ],
78 [
79 "30",
80 "value"
81 ],
82 [
83 "31",
84 "value"
85 ],
86 [
87 "14",
88 "noise_seed"
89 ],
90 [
91 "10",
92 "unet_name"
93 ],
94 [
95 "2",
96 "clip_name"
97 ],
98 [
99 "9",
100 "vae_name"
101 ]
102 ],
103 "enableTabs": false,
104 "tabWidth": 65,
105 "tabXOffset": 10,
106 "hasSecondTab": false,
107 "secondTabText": "Send Back",
108 "secondTabOffset": 80,
109 "secondTabWidth": 65,
110 "cnr_id": "comfy-core",
111 "ver": "0.22.0"
112 },
113 "widgets_values": []
114 },
115 {
116 "id": 35,
117 "type": "ResolutionSelector",
118 "pos": [
119 190,
120 7240
121 ],
122 "size": [
123 270,
124 170
125 ],
126 "flags": [],
127 "order": 0,
128 "mode": 0,
129 "inputs": [],
130 "outputs": [
131 {
132 "name": "width",
133 "type": "INT",
134 "links": [
135 60
136 ]
137 },
138 {
139 "name": "height",
140 "type": "INT",
141 "links": [
142 61
143 ]
144 }
145 ],
146 "properties": {
147 "enableTabs": false,
148 "tabWidth": 65,
149 "tabXOffset": 10,
150 "hasSecondTab": false,
151 "secondTabText": "Send Back",
152 "secondTabOffset": 80,
153 "secondTabWidth": 65,
154 "cnr_id": "comfy-core",
155 "ver": "0.22.0",
156 "Node name for S&R": "ResolutionSelector"
157 },
158 "widgets_values": [
159 "1:1 (Square)",
160 2
161 ]
162 },
163 {
164 "id": 43,
165 "type": "SaveImage",
166 "pos": [
167 930,
168 7040
169 ],
170 "size": [
171 480,
172 470
173 ],
174 "flags": [],
175 "order": 3,
176 "mode": 0,
177 "inputs": [
178 {
179 "name": "images",
180 "type": "IMAGE",
181 "link": 66
182 }
183 ],
184 "outputs": [],
185 "properties": {
186 "enableTabs": false,
187 "tabWidth": 65,
188 "tabXOffset": 10,
189 "hasSecondTab": false,
190 "secondTabText": "Send Back",
191 "secondTabOffset": 80,
192 "secondTabWidth": 65,
193 "cnr_id": "comfy-core",
194 "ver": "0.22.0",
195 "Node name for S&R": "SaveImage"
196 },
197 "widgets_values": [
198 "Lens"
199 ]
200 },
201 {
202 "id": 50,
203 "type": "MarkdownNote",
204 "pos": [
205 -360,
206 7030
207 ],
208 "size": [
209 480,
210 1350.890625
211 ],
212 "flags": [],
213 "order": 1,
214 "mode": 0,
215 "inputs": [],
216 "outputs": [],
217 "title": "Note: Model Links",
218 "properties": [],
219 "widgets_values": [
220 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Workflow Scope\n\nThis file documents the `Text to Image (Lens)` workflow only. It uses the standard Lens checkpoint, shared GPT-OSS text encoder, and FLUX.2 VAE packaged for ComfyUI.\n\n## Required Model Repositories\n\n- Model repo: [Comfy-Org/Lens](https://huggingface.co/Comfy-Org/Lens) (includes `lens_bf16.safetensors`)\n- [ModelScope:Comfy-Org/Lens](https://modelscope.cn/models/Comfy-Org/Lens)\n\n## Model Links\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/Lens/resolve/main/vae/flux2-vae.safetensors) (320.6 MB)\n\n**text_encoders**\n\n- [gpt_oss_20b_nvfp4.safetensors](https://huggingface.co/Comfy-Org/Lens/resolve/main/text_encoders/gpt_oss_20b_nvfp4.safetensors) (12.33 GB)\n\n**diffusion_models**\n\n- [lens_bf16.safetensors](https://huggingface.co/Comfy-Org/Lens/resolve/main/diffusion_models/lens_bf16.safetensors) (7.64 GB)\n\n## Recommended Settings\n\n- Steps: `20`\n- CFG: `5.0`\n- Sampler: `euler`\n- Aspect ratios from `1:2` to `2:1`\n- Designed for the Lens `1440` base-resolution workflow family\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ └── flux2-vae.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── gpt_oss_20b_nvfp4.safetensors\n│ └── 📂 diffusion_models/\n│ └── lens_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/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"
221 ],
222 "color": "#222",
223 "bgcolor": "#000"
224 }
225 ],
226 "links": [
227 [
228 60,
229 35,
230 0,
231 34,
232 2,
233 "INT"
234 ],
235 [
236 61,
237 35,
238 1,
239 34,
240 3,
241 "INT"
242 ],
243 [
244 66,
245 34,
246 0,
247 43,
248 0,
249 "IMAGE"
250 ]
251 ],
252 "groups": [],
253 "definitions": {
254 "subgraphs": [
255 {
256 "id": "ec44c008-5f23-4498-a682-eb96a8598475",
257 "version": 1,
258 "state": {
259 "lastGroupId": 4,
260 "lastNodeId": 56,
261 "lastLinkId": 72,
262 "lastRerouteId": 0
263 },
264 "revision": 0,
265 "config": [],
266 "name": "Text to Image (Lens)",
267 "inputNode": {
268 "id": -10,
269 "bounding": [
270 -570,
271 7260,
272 143.044921875,
273 208
274 ]
275 },
276 "outputNode": {
277 "id": -20,
278 "bounding": [
279 1640,
280 7056,
281 128,
282 68
283 ]
284 },
285 "inputs": [
286 {
287 "id": "3404712a-cffc-477f-80c6-1d60bd03fdb4",
288 "name": "text",
289 "type": "STRING",
290 "linkIds": [
291 53
292 ],
293 "label": "positive_prompt",
294 "pos": [
295 -450.955078125,
296 7284
297 ]
298 },
299 {
300 "id": "8dcc876e-5c1e-4750-95ca-742de4e68c10",
301 "name": "text_1",
302 "type": "STRING",
303 "linkIds": [
304 72
305 ],
306 "label": "negative_prompt",
307 "pos": [
308 -450.955078125,
309 7304
310 ]
311 },
312 {
313 "id": "17339beb-7079-4b79-a3b8-5c91feae536b",
314 "name": "value",
315 "type": "INT",
316 "linkIds": [
317 54
318 ],
319 "label": "width",
320 "pos": [
321 -450.955078125,
322 7324
323 ]
324 },
325 {
326 "id": "0c583f00-667e-43ce-982f-a8f4bb93fac3",
327 "name": "value_1",
328 "type": "INT",
329 "linkIds": [
330 55
331 ],
332 "label": "height",
333 "pos": [
334 -450.955078125,
335 7344
336 ]
337 },
338 {
339 "id": "6c8d7bed-4cf4-4e48-aae9-84d0b0c87d93",
340 "name": "noise_seed",
341 "type": "INT",
342 "linkIds": [
343 56
344 ],
345 "pos": [
346 -450.955078125,
347 7364
348 ]
349 },
350 {
351 "id": "8ab48f62-d3b1-4c4c-8aa6-37b38a81ea5e",
352 "name": "unet_name",
353 "type": "COMBO",
354 "linkIds": [
355 57
356 ],
357 "pos": [
358 -450.955078125,
359 7384
360 ]
361 },
362 {
363 "id": "50235894-462c-4a51-a854-c2905111584e",
364 "name": "clip_name",
365 "type": "COMBO",
366 "linkIds": [
367 58
368 ],
369 "pos": [
370 -450.955078125,
371 7404
372 ]
373 },
374 {
375 "id": "0bed76f3-69d8-4108-8937-88ecdf406412",
376 "name": "vae_name",
377 "type": "COMBO",
378 "linkIds": [
379 59
380 ],
381 "pos": [
382 -450.955078125,
383 7424
384 ]
385 }
386 ],
387 "outputs": [
388 {
389 "id": "2b893934-f06f-4ed1-8c04-51568aeb59bf",
390 "name": "IMAGE",
391 "type": "IMAGE",
392 "linkIds": [
393 40
394 ],
395 "localized_name": "IMAGE",
396 "pos": [
397 1664,
398 7080
399 ]
400 }
401 ],
402 "widgets": [],
403 "nodes": [
404 {
405 "id": 9,
406 "type": "VAELoader",
407 "pos": [
408 -330,
409 7090
410 ],
411 "size": [
412 380,
413 110
414 ],
415 "flags": [],
416 "order": 6,
417 "mode": 0,
418 "inputs": [
419 {
420 "localized_name": "vae_name",
421 "name": "vae_name",
422 "type": "COMBO",
423 "widget": {
424 "name": "vae_name"
425 },
426 "link": 59
427 }
428 ],
429 "outputs": [
430 {
431 "localized_name": "VAE",
432 "name": "VAE",
433 "type": "VAE",
434 "links": [
435 10
436 ]
437 }
438 ],
439 "properties": {
440 "enableTabs": false,
441 "tabWidth": 65,
442 "tabXOffset": 10,
443 "hasSecondTab": false,
444 "secondTabText": "Send Back",
445 "secondTabOffset": 80,
446 "secondTabWidth": 65,
447 "cnr_id": "comfy-core",
448 "ver": "0.22.0",
449 "Node name for S&R": "VAELoader",
450 "models": [
451 {
452 "name": "flux2-vae.safetensors",
453 "url": "https://huggingface.co/Comfy-Org/Lens/resolve/main/vae/flux2-vae.safetensors",
454 "directory": "vae"
455 }
456 ]
457 },
458 "widgets_values": [
459 "flux2-vae.safetensors"
460 ]
461 },
462 {
463 "id": 2,
464 "type": "CLIPLoader",
465 "pos": [
466 -330,
467 6860
468 ],
469 "size": [
470 380,
471 170
472 ],
473 "flags": [],
474 "order": 1,
475 "mode": 0,
476 "inputs": [
477 {
478 "localized_name": "clip_name",
479 "name": "clip_name",
480 "type": "COMBO",
481 "widget": {
482 "name": "clip_name"
483 },
484 "link": 58
485 }
486 ],
487 "outputs": [
488 {
489 "localized_name": "CLIP",
490 "name": "CLIP",
491 "type": "CLIP",
492 "links": [
493 1,
494 7
495 ]
496 }
497 ],
498 "properties": {
499 "enableTabs": false,
500 "tabWidth": 65,
501 "tabXOffset": 10,
502 "hasSecondTab": false,
503 "secondTabText": "Send Back",
504 "secondTabOffset": 80,
505 "secondTabWidth": 65,
506 "cnr_id": "comfy-core",
507 "ver": "0.22.0",
508 "Node name for S&R": "CLIPLoader",
509 "models": [
510 {
511 "name": "gpt_oss_20b_nvfp4.safetensors",
512 "url": "https://huggingface.co/Comfy-Org/Lens/resolve/main/text_encoders/gpt_oss_20b_nvfp4.safetensors",
513 "directory": "text_encoders"
514 }
515 ]
516 },
517 "widgets_values": [
518 "gpt_oss_20b_nvfp4.safetensors",
519 "lens",
520 "default"
521 ]
522 },
523 {
524 "id": 3,
525 "type": "CLIPTextEncode",
526 "pos": [
527 100,
528 6650
529 ],
530 "size": [
531 400,
532 200
533 ],
534 "flags": [],
535 "order": 2,
536 "mode": 0,
537 "inputs": [
538 {
539 "localized_name": "clip",
540 "name": "clip",
541 "type": "CLIP",
542 "link": 1
543 },
544 {
545 "localized_name": "text",
546 "name": "text",
547 "type": "STRING",
548 "widget": {
549 "name": "text"
550 },
551 "link": 53
552 }
553 ],
554 "outputs": [
555 {
556 "localized_name": "CONDITIONING",
557 "name": "CONDITIONING",
558 "type": "CONDITIONING",
559 "links": [
560 19
561 ]
562 }
563 ],
564 "properties": {
565 "enableTabs": false,
566 "tabWidth": 65,
567 "tabXOffset": 10,
568 "hasSecondTab": false,
569 "secondTabText": "Send Back",
570 "secondTabOffset": 80,
571 "secondTabWidth": 65,
572 "cnr_id": "comfy-core",
573 "ver": "0.22.0",
574 "Node name for S&R": "CLIPTextEncode"
575 },
576 "widgets_values": [
577 "A cluster of wild cosmos flowers swaying in gentle wind, crinkled soft petals and slender green stems, warm golden hour sunlight, natural field scenery, detailed floral texture, lifelike outdoor atmosphere"
578 ],
579 "color": "#232",
580 "bgcolor": "#353"
581 },
582 {
583 "id": 7,
584 "type": "CLIPTextEncode",
585 "pos": [
586 140,
587 6920
588 ],
589 "size": [
590 240,
591 140
592 ],
593 "flags": {
594 "collapsed": false
595 },
596 "order": 4,
597 "mode": 0,
598 "inputs": [
599 {
600 "localized_name": "clip",
601 "name": "clip",
602 "type": "CLIP",
603 "link": 7
604 },
605 {
606 "localized_name": "text",
607 "name": "text",
608 "type": "STRING",
609 "widget": {
610 "name": "text"
611 },
612 "link": 72
613 }
614 ],
615 "outputs": [
616 {
617 "localized_name": "CONDITIONING",
618 "name": "CONDITIONING",
619 "type": "CONDITIONING",
620 "links": [
621 20
622 ]
623 }
624 ],
625 "properties": {
626 "enableTabs": false,
627 "tabWidth": 65,
628 "tabXOffset": 10,
629 "hasSecondTab": false,
630 "secondTabText": "Send Back",
631 "secondTabOffset": 80,
632 "secondTabWidth": 65,
633 "cnr_id": "comfy-core",
634 "ver": "0.22.0",
635 "Node name for S&R": "CLIPTextEncode"
636 },
637 "widgets_values": [
638 ""
639 ],
640 "color": "#223",
641 "bgcolor": "#335"
642 },
643 {
644 "id": 8,
645 "type": "EmptyLatentImage",
646 "pos": [
647 550,
648 7270
649 ],
650 "size": [
651 270,
652 170
653 ],
654 "flags": [],
655 "order": 5,
656 "mode": 0,
657 "inputs": [
658 {
659 "localized_name": "width",
660 "name": "width",
661 "type": "INT",
662 "widget": {
663 "name": "width"
664 },
665 "link": 49
666 },
667 {
668 "localized_name": "height",
669 "name": "height",
670 "type": "INT",
671 "widget": {
672 "name": "height"
673 },
674 "link": 51
675 }
676 ],
677 "outputs": [
678 {
679 "localized_name": "LATENT",
680 "name": "LATENT",
681 "type": "LATENT",
682 "links": [
683 23
684 ]
685 }
686 ],
687 "properties": {
688 "enableTabs": false,
689 "tabWidth": 65,
690 "tabXOffset": 10,
691 "hasSecondTab": false,
692 "secondTabText": "Send Back",
693 "secondTabOffset": 80,
694 "secondTabWidth": 65,
695 "cnr_id": "comfy-core",
696 "ver": "0.22.0",
697 "Node name for S&R": "EmptyLatentImage"
698 },
699 "widgets_values": [
700 1440,
701 1440,
702 1
703 ]
704 },
705 {
706 "id": 16,
707 "type": "BasicScheduler",
708 "pos": [
709 550,
710 7020
711 ],
712 "size": [
713 270,
714 180
715 ],
716 "flags": [],
717 "order": 9,
718 "mode": 0,
719 "inputs": [
720 {
721 "localized_name": "model",
722 "name": "model",
723 "type": "MODEL",
724 "link": 28
725 }
726 ],
727 "outputs": [
728 {
729 "localized_name": "SIGMAS",
730 "name": "SIGMAS",
731 "type": "SIGMAS",
732 "links": [
733 17
734 ]
735 }
736 ],
737 "properties": {
738 "enableTabs": false,
739 "tabWidth": 65,
740 "tabXOffset": 10,
741 "hasSecondTab": false,
742 "secondTabText": "Send Back",
743 "secondTabOffset": 80,
744 "secondTabWidth": 65,
745 "cnr_id": "comfy-core",
746 "ver": "0.22.0",
747 "Node name for S&R": "BasicScheduler"
748 },
749 "widgets_values": [
750 "simple",
751 20,
752 1
753 ]
754 },
755 {
756 "id": 18,
757 "type": "KSamplerSelect",
758 "pos": [
759 550,
760 6850
761 ],
762 "size": [
763 270,
764 110
765 ],
766 "flags": [],
767 "order": 0,
768 "mode": 0,
769 "inputs": [],
770 "outputs": [
771 {
772 "localized_name": "SAMPLER",
773 "name": "SAMPLER",
774 "type": "SAMPLER",
775 "links": [
776 26
777 ]
778 }
779 ],
780 "properties": {
781 "enableTabs": false,
782 "tabWidth": 65,
783 "tabXOffset": 10,
784 "hasSecondTab": false,
785 "secondTabText": "Send Back",
786 "secondTabOffset": 80,
787 "secondTabWidth": 65,
788 "cnr_id": "comfy-core",
789 "ver": "0.22.0",
790 "Node name for S&R": "KSamplerSelect"
791 },
792 "widgets_values": [
793 "euler"
794 ]
795 },
796 {
797 "id": 23,
798 "type": "CFGNorm",
799 "pos": [
800 550,
801 6650
802 ],
803 "size": [
804 270,
805 140
806 ],
807 "flags": [],
808 "order": 11,
809 "mode": 0,
810 "inputs": [
811 {
812 "localized_name": "model",
813 "name": "model",
814 "type": "MODEL",
815 "link": 31
816 }
817 ],
818 "outputs": [
819 {
820 "localized_name": "patched_model",
821 "name": "patched_model",
822 "type": "MODEL",
823 "links": [
824 44
825 ]
826 }
827 ],
828 "properties": {
829 "enableTabs": false,
830 "tabWidth": 65,
831 "tabXOffset": 10,
832 "hasSecondTab": false,
833 "secondTabText": "Send Back",
834 "secondTabOffset": 80,
835 "secondTabWidth": 65,
836 "cnr_id": "comfy-core",
837 "ver": "0.22.0",
838 "Node name for S&R": "CFGNorm"
839 },
840 "widgets_values": [
841 1,
842 false
843 ]
844 },
845 {
846 "id": 10,
847 "type": "UNETLoader",
848 "pos": [
849 -330,
850 6650
851 ],
852 "size": [
853 380,
854 140
855 ],
856 "flags": [],
857 "order": 7,
858 "mode": 0,
859 "inputs": [
860 {
861 "localized_name": "unet_name",
862 "name": "unet_name",
863 "type": "COMBO",
864 "widget": {
865 "name": "unet_name"
866 },
867 "link": 57
868 }
869 ],
870 "outputs": [
871 {
872 "localized_name": "MODEL",
873 "name": "MODEL",
874 "type": "MODEL",
875 "links": [
876 43
877 ]
878 }
879 ],
880 "properties": {
881 "enableTabs": false,
882 "tabWidth": 65,
883 "tabXOffset": 10,
884 "hasSecondTab": false,
885 "secondTabText": "Send Back",
886 "secondTabOffset": 80,
887 "secondTabWidth": 65,
888 "cnr_id": "comfy-core",
889 "ver": "0.22.0",
890 "Node name for S&R": "UNETLoader",
891 "models": [
892 {
893 "name": "lens_bf16.safetensors",
894 "url": "https://huggingface.co/Comfy-Org/Lens/resolve/main/diffusion_models/lens_bf16.safetensors",
895 "directory": "diffusion_models"
896 }
897 ]
898 },
899 "widgets_values": [
900 "lens_bf16.safetensors",
901 "default"
902 ]
903 },
904 {
905 "id": 14,
906 "type": "SamplerCustom",
907 "pos": [
908 970,
909 6660
910 ],
911 "size": [
912 280,
913 290
914 ],
915 "flags": [],
916 "order": 8,
917 "mode": 0,
918 "showAdvanced": false,
919 "inputs": [
920 {
921 "localized_name": "model",
922 "name": "model",
923 "type": "MODEL",
924 "link": 44
925 },
926 {
927 "localized_name": "positive",
928 "name": "positive",
929 "type": "CONDITIONING",
930 "link": 19
931 },
932 {
933 "localized_name": "negative",
934 "name": "negative",
935 "type": "CONDITIONING",
936 "link": 20
937 },
938 {
939 "localized_name": "sampler",
940 "name": "sampler",
941 "type": "SAMPLER",
942 "link": 26
943 },
944 {
945 "localized_name": "sigmas",
946 "name": "sigmas",
947 "type": "SIGMAS",
948 "link": 17
949 },
950 {
951 "localized_name": "latent_image",
952 "name": "latent_image",
953 "type": "LATENT",
954 "link": 23
955 },
956 {
957 "localized_name": "noise_seed",
958 "name": "noise_seed",
959 "type": "INT",
960 "widget": {
961 "name": "noise_seed"
962 },
963 "link": 56
964 }
965 ],
966 "outputs": [
967 {
968 "localized_name": "output",
969 "name": "output",
970 "type": "LATENT",
971 "links": [
972 45
973 ]
974 },
975 {
976 "localized_name": "denoised_output",
977 "name": "denoised_output",
978 "type": "LATENT",
979 "links": null
980 }
981 ],
982 "properties": {
983 "enableTabs": false,
984 "tabWidth": 65,
985 "tabXOffset": 10,
986 "hasSecondTab": false,
987 "secondTabText": "Send Back",
988 "secondTabOffset": 80,
989 "secondTabWidth": 65,
990 "cnr_id": "comfy-core",
991 "ver": "0.22.0",
992 "Node name for S&R": "SamplerCustom"
993 },
994 "widgets_values": [
995 true,
996 199454112061500,
997 "randomize",
998 5
999 ]
1000 },
1001 {
1002 "id": 5,
1003 "type": "VAEDecode",
1004 "pos": [
1005 1350,
1006 6670
1007 ],
1008 "size": [
1009 230,
1010 100
1011 ],
1012 "flags": [],
1013 "order": 3,
1014 "mode": 0,
1015 "inputs": [
1016 {
1017 "localized_name": "samples",
1018 "name": "samples",
1019 "type": "LATENT",
1020 "link": 45
1021 },
1022 {
1023 "localized_name": "vae",
1024 "name": "vae",
1025 "type": "VAE",
1026 "link": 10
1027 }
1028 ],
1029 "outputs": [
1030 {
1031 "localized_name": "IMAGE",
1032 "name": "IMAGE",
1033 "type": "IMAGE",
1034 "links": [
1035 40
1036 ]
1037 }
1038 ],
1039 "properties": {
1040 "enableTabs": false,
1041 "tabWidth": 65,
1042 "tabXOffset": 10,
1043 "hasSecondTab": false,
1044 "secondTabText": "Send Back",
1045 "secondTabOffset": 80,
1046 "secondTabWidth": 65,
1047 "cnr_id": "comfy-core",
1048 "ver": "0.22.0",
1049 "Node name for S&R": "VAEDecode"
1050 },
1051 "widgets_values": []
1052 },
1053 {
1054 "id": 21,
1055 "type": "ModelSamplingFlux",
1056 "pos": [
1057 140,
1058 7020
1059 ],
1060 "size": [
1061 270,
1062 170
1063 ],
1064 "flags": [],
1065 "order": 10,
1066 "mode": 0,
1067 "showAdvanced": false,
1068 "inputs": [
1069 {
1070 "localized_name": "model",
1071 "name": "model",
1072 "type": "MODEL",
1073 "link": 43
1074 },
1075 {
1076 "localized_name": "width",
1077 "name": "width",
1078 "type": "INT",
1079 "widget": {
1080 "name": "width"
1081 },
1082 "link": 48
1083 },
1084 {
1085 "localized_name": "height",
1086 "name": "height",
1087 "type": "INT",
1088 "widget": {
1089 "name": "height"
1090 },
1091 "link": 50
1092 }
1093 ],
1094 "outputs": [
1095 {
1096 "localized_name": "MODEL",
1097 "name": "MODEL",
1098 "type": "MODEL",
1099 "links": [
1100 28,
1101 31
1102 ]
1103 }
1104 ],
1105 "properties": {
1106 "enableTabs": false,
1107 "tabWidth": 65,
1108 "tabXOffset": 10,
1109 "hasSecondTab": false,
1110 "secondTabText": "Send Back",
1111 "secondTabOffset": 80,
1112 "secondTabWidth": 65,
1113 "cnr_id": "comfy-core",
1114 "ver": "0.22.0",
1115 "Node name for S&R": "ModelSamplingFlux"
1116 },
1117 "widgets_values": [
1118 1.15,
1119 0.5,
1120 1488,
1121 1440
1122 ]
1123 },
1124 {
1125 "id": 32,
1126 "type": "ComfyMathExpression",
1127 "pos": [
1128 170,
1129 7310
1130 ],
1131 "size": [
1132 230,
1133 80
1134 ],
1135 "flags": {
1136 "collapsed": true
1137 },
1138 "order": 14,
1139 "mode": 0,
1140 "inputs": [
1141 {
1142 "label": "a",
1143 "localized_name": "values.a",
1144 "name": "values.a",
1145 "type": "FLOAT,INT,BOOLEAN",
1146 "link": 46
1147 },
1148 {
1149 "label": "b",
1150 "localized_name": "values.b",
1151 "name": "values.b",
1152 "shape": 7,
1153 "type": "FLOAT,INT,BOOLEAN",
1154 "link": null
1155 }
1156 ],
1157 "outputs": [
1158 {
1159 "localized_name": "FLOAT",
1160 "name": "FLOAT",
1161 "type": "FLOAT",
1162 "links": null
1163 },
1164 {
1165 "localized_name": "INT",
1166 "name": "INT",
1167 "type": "INT",
1168 "links": [
1169 48,
1170 49
1171 ]
1172 },
1173 {
1174 "localized_name": "BOOL",
1175 "name": "BOOL",
1176 "type": "BOOLEAN",
1177 "links": null
1178 }
1179 ],
1180 "properties": {
1181 "enableTabs": false,
1182 "tabWidth": 65,
1183 "tabXOffset": 10,
1184 "hasSecondTab": false,
1185 "secondTabText": "Send Back",
1186 "secondTabOffset": 80,
1187 "secondTabWidth": 65,
1188 "cnr_id": "comfy-core",
1189 "ver": "0.22.0",
1190 "Node name for S&R": "ComfyMathExpression"
1191 },
1192 "widgets_values": [
1193 "a & -8"
1194 ]
1195 },
1196 {
1197 "id": 33,
1198 "type": "ComfyMathExpression",
1199 "pos": [
1200 200,
1201 7450
1202 ],
1203 "size": [
1204 230,
1205 80
1206 ],
1207 "flags": {
1208 "collapsed": true
1209 },
1210 "order": 15,
1211 "mode": 0,
1212 "inputs": [
1213 {
1214 "label": "a",
1215 "localized_name": "values.a",
1216 "name": "values.a",
1217 "type": "FLOAT,INT,BOOLEAN",
1218 "link": 47
1219 },
1220 {
1221 "label": "b",
1222 "localized_name": "values.b",
1223 "name": "values.b",
1224 "shape": 7,
1225 "type": "FLOAT,INT,BOOLEAN",
1226 "link": null
1227 }
1228 ],
1229 "outputs": [
1230 {
1231 "localized_name": "FLOAT",
1232 "name": "FLOAT",
1233 "type": "FLOAT",
1234 "links": null
1235 },
1236 {
1237 "localized_name": "INT",
1238 "name": "INT",
1239 "type": "INT",
1240 "links": [
1241 50,
1242 51
1243 ]
1244 },
1245 {
1246 "localized_name": "BOOL",
1247 "name": "BOOL",
1248 "type": "BOOLEAN",
1249 "links": null
1250 }
1251 ],
1252 "properties": {
1253 "enableTabs": false,
1254 "tabWidth": 65,
1255 "tabXOffset": 10,
1256 "hasSecondTab": false,
1257 "secondTabText": "Send Back",
1258 "secondTabOffset": 80,
1259 "secondTabWidth": 65,
1260 "cnr_id": "comfy-core",
1261 "ver": "0.22.0",
1262 "Node name for S&R": "ComfyMathExpression"
1263 },
1264 "widgets_values": [
1265 "a & -8"
1266 ]
1267 },
1268 {
1269 "id": 31,
1270 "type": "PrimitiveInt",
1271 "pos": [
1272 -280,
1273 7500
1274 ],
1275 "size": [
1276 270,
1277 110
1278 ],
1279 "flags": [],
1280 "order": 13,
1281 "mode": 0,
1282 "inputs": [
1283 {
1284 "localized_name": "value",
1285 "name": "value",
1286 "type": "INT",
1287 "widget": {
1288 "name": "value"
1289 },
1290 "link": 55
1291 }
1292 ],
1293 "outputs": [
1294 {
1295 "localized_name": "INT",
1296 "name": "INT",
1297 "type": "INT",
1298 "links": [
1299 47
1300 ]
1301 }
1302 ],
1303 "title": "Int (Height)",
1304 "properties": {
1305 "enableTabs": false,
1306 "tabWidth": 65,
1307 "tabXOffset": 10,
1308 "hasSecondTab": false,
1309 "secondTabText": "Send Back",
1310 "secondTabOffset": 80,
1311 "secondTabWidth": 65,
1312 "cnr_id": "comfy-core",
1313 "ver": "0.22.0",
1314 "Node name for S&R": "PrimitiveInt"
1315 },
1316 "widgets_values": [
1317 1440,
1318 "fixed"
1319 ]
1320 },
1321 {
1322 "id": 30,
1323 "type": "PrimitiveInt",
1324 "pos": [
1325 -280,
1326 7320
1327 ],
1328 "size": [
1329 270,
1330 110
1331 ],
1332 "flags": [],
1333 "order": 12,
1334 "mode": 0,
1335 "inputs": [
1336 {
1337 "localized_name": "value",
1338 "name": "value",
1339 "type": "INT",
1340 "widget": {
1341 "name": "value"
1342 },
1343 "link": 54
1344 }
1345 ],
1346 "outputs": [
1347 {
1348 "localized_name": "INT",
1349 "name": "INT",
1350 "type": "INT",
1351 "links": [
1352 46
1353 ]
1354 }
1355 ],
1356 "title": "Int (Width)",
1357 "properties": {
1358 "enableTabs": false,
1359 "tabWidth": 65,
1360 "tabXOffset": 10,
1361 "hasSecondTab": false,
1362 "secondTabText": "Send Back",
1363 "secondTabOffset": 80,
1364 "secondTabWidth": 65,
1365 "cnr_id": "comfy-core",
1366 "ver": "0.22.0",
1367 "Node name for S&R": "PrimitiveInt"
1368 },
1369 "widgets_values": [
1370 1440,
1371 "fixed"
1372 ]
1373 }
1374 ],
1375 "groups": [
1376 {
1377 "id": 1,
1378 "title": "Models",
1379 "bounding": [
1380 -340,
1381 6580,
1382 400,
1383 640
1384 ],
1385 "color": "#3f789e",
1386 "flags": []
1387 },
1388 {
1389 "id": 2,
1390 "title": "Prompt",
1391 "bounding": [
1392 90,
1393 6580,
1394 420,
1395 358
1396 ],
1397 "color": "#3f789e",
1398 "flags": []
1399 },
1400 {
1401 "id": 3,
1402 "title": "Sampling",
1403 "bounding": [
1404 540,
1405 6580,
1406 780,
1407 870
1408 ],
1409 "color": "#3f789e",
1410 "flags": []
1411 },
1412 {
1413 "id": 4,
1414 "title": "Size",
1415 "bounding": [
1416 -340,
1417 7240,
1418 400,
1419 360
1420 ],
1421 "color": "#3f789e",
1422 "flags": []
1423 }
1424 ],
1425 "links": [
1426 {
1427 "id": 1,
1428 "origin_id": 2,
1429 "origin_slot": 0,
1430 "target_id": 3,
1431 "target_slot": 0,
1432 "type": "CLIP"
1433 },
1434 {
1435 "id": 7,
1436 "origin_id": 2,
1437 "origin_slot": 0,
1438 "target_id": 7,
1439 "target_slot": 0,
1440 "type": "CLIP"
1441 },
1442 {
1443 "id": 49,
1444 "origin_id": 32,
1445 "origin_slot": 1,
1446 "target_id": 8,
1447 "target_slot": 0,
1448 "type": "INT"
1449 },
1450 {
1451 "id": 51,
1452 "origin_id": 33,
1453 "origin_slot": 1,
1454 "target_id": 8,
1455 "target_slot": 1,
1456 "type": "INT"
1457 },
1458 {
1459 "id": 28,
1460 "origin_id": 21,
1461 "origin_slot": 0,
1462 "target_id": 16,
1463 "target_slot": 0,
1464 "type": "MODEL"
1465 },
1466 {
1467 "id": 31,
1468 "origin_id": 21,
1469 "origin_slot": 0,
1470 "target_id": 23,
1471 "target_slot": 0,
1472 "type": "MODEL"
1473 },
1474 {
1475 "id": 44,
1476 "origin_id": 23,
1477 "origin_slot": 0,
1478 "target_id": 14,
1479 "target_slot": 0,
1480 "type": "MODEL"
1481 },
1482 {
1483 "id": 19,
1484 "origin_id": 3,
1485 "origin_slot": 0,
1486 "target_id": 14,
1487 "target_slot": 1,
1488 "type": "CONDITIONING"
1489 },
1490 {
1491 "id": 20,
1492 "origin_id": 7,
1493 "origin_slot": 0,
1494 "target_id": 14,
1495 "target_slot": 2,
1496 "type": "CONDITIONING"
1497 },
1498 {
1499 "id": 26,
1500 "origin_id": 18,
1501 "origin_slot": 0,
1502 "target_id": 14,
1503 "target_slot": 3,
1504 "type": "SAMPLER"
1505 },
1506 {
1507 "id": 17,
1508 "origin_id": 16,
1509 "origin_slot": 0,
1510 "target_id": 14,
1511 "target_slot": 4,
1512 "type": "SIGMAS"
1513 },
1514 {
1515 "id": 23,
1516 "origin_id": 8,
1517 "origin_slot": 0,
1518 "target_id": 14,
1519 "target_slot": 5,
1520 "type": "LATENT"
1521 },
1522 {
1523 "id": 45,
1524 "origin_id": 14,
1525 "origin_slot": 0,
1526 "target_id": 5,
1527 "target_slot": 0,
1528 "type": "LATENT"
1529 },
1530 {
1531 "id": 10,
1532 "origin_id": 9,
1533 "origin_slot": 0,
1534 "target_id": 5,
1535 "target_slot": 1,
1536 "type": "VAE"
1537 },
1538 {
1539 "id": 43,
1540 "origin_id": 10,
1541 "origin_slot": 0,
1542 "target_id": 21,
1543 "target_slot": 0,
1544 "type": "MODEL"
1545 },
1546 {
1547 "id": 48,
1548 "origin_id": 32,
1549 "origin_slot": 1,
1550 "target_id": 21,
1551 "target_slot": 1,
1552 "type": "INT"
1553 },
1554 {
1555 "id": 50,
1556 "origin_id": 33,
1557 "origin_slot": 1,
1558 "target_id": 21,
1559 "target_slot": 2,
1560 "type": "INT"
1561 },
1562 {
1563 "id": 46,
1564 "origin_id": 30,
1565 "origin_slot": 0,
1566 "target_id": 32,
1567 "target_slot": 0,
1568 "type": "INT"
1569 },
1570 {
1571 "id": 47,
1572 "origin_id": 31,
1573 "origin_slot": 0,
1574 "target_id": 33,
1575 "target_slot": 0,
1576 "type": "INT"
1577 },
1578 {
1579 "id": 40,
1580 "origin_id": 5,
1581 "origin_slot": 0,
1582 "target_id": -20,
1583 "target_slot": 0,
1584 "type": "IMAGE"
1585 },
1586 {
1587 "id": 53,
1588 "origin_id": -10,
1589 "origin_slot": 0,
1590 "target_id": 3,
1591 "target_slot": 1,
1592 "type": "STRING"
1593 },
1594 {
1595 "id": 54,
1596 "origin_id": -10,
1597 "origin_slot": 2,
1598 "target_id": 30,
1599 "target_slot": 0,
1600 "type": "INT"
1601 },
1602 {
1603 "id": 55,
1604 "origin_id": -10,
1605 "origin_slot": 3,
1606 "target_id": 31,
1607 "target_slot": 0,
1608 "type": "INT"
1609 },
1610 {
1611 "id": 56,
1612 "origin_id": -10,
1613 "origin_slot": 4,
1614 "target_id": 14,
1615 "target_slot": 6,
1616 "type": "INT"
1617 },
1618 {
1619 "id": 57,
1620 "origin_id": -10,
1621 "origin_slot": 5,
1622 "target_id": 10,
1623 "target_slot": 0,
1624 "type": "COMBO"
1625 },
1626 {
1627 "id": 58,
1628 "origin_id": -10,
1629 "origin_slot": 6,
1630 "target_id": 2,
1631 "target_slot": 0,
1632 "type": "COMBO"
1633 },
1634 {
1635 "id": 59,
1636 "origin_id": -10,
1637 "origin_slot": 7,
1638 "target_id": 9,
1639 "target_slot": 0,
1640 "type": "COMBO"
1641 },
1642 {
1643 "id": 72,
1644 "origin_id": -10,
1645 "origin_slot": 1,
1646 "target_id": 7,
1647 "target_slot": 1,
1648 "type": "STRING"
1649 }
1650 ],
1651 "extra": []
1652 }
1653 ]
1654 },
1655 "config": [],
1656 "extra": {
1657 "ds": {
1658 "scale": 0.8662397179206512,
1659 "offset": [
1660 525.7880091304922,
1661 -6739.750165154746
1662 ]
1663 },
1664 "frontendVersion": "1.44.19",
1665 "VHS_latentpreview": false,
1666 "VHS_latentpreviewrate": 0,
1667 "VHS_MetadataImage": true,
1668 "VHS_KeepIntermediate": true
1669 },
1670 "version": 0.4
1671}