工作流 /
图像 /
Lens Turbo: 文生图

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