ComfyPilotComfyPilot
工作流 / 图像 / SenseNova U1.6:图像编辑
SenseNova U1.6:图像编辑

SenseNova U1.6:图像编辑

Image Sensenova U16 Image Edit

用 SenseNova-U1.6 编辑照片:把原图作为参考附件、用一句话描述要改的地方,同一个 8B 多模态主干先读懂原图再改写,按原图分辨率返回结果,交付前还会自校正一遍、对照提示词复查。

图像 51 个节点 1 个输入 ComfyUI ≥ 0.46.0 ComfyUI 83 KB

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

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

需要的权重

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

qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors 在模型库查看
sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors 模型库暂未收录
sensenova_u1.6_8b_mot_int8_convrot.safetensors 模型库暂未收录

节点构成

ComfySwitchNode × 7
GetItemFromList × 5
PrimitiveInt × 3
PrimitiveBoolean × 3
CLIPTextEncode × 2
SenseNovaConditioning × 2
KSampler × 2
PreviewAny × 2
PrimitiveFloat × 2
CreateList × 2
PrimitiveStringMultiline × 2
MarkdownNote × 2
ResizeImageMaskNode × 2
CheckpointLoaderSimple × 1
EmptyHiDreamO1LatentImage × 1
StartLoop × 1

官方标注的模型

SenseNova U1.6

工作流 JSON

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

1{
2 "id": "69ea8d60-1219-4c1b-a2fb-d092986fd8c8",
3 "revision": 0,
4 "last_node_id": 85,
5 "last_link_id": 162,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "CheckpointLoaderSimple",
10 "pos": [
11 -2170,
12 -1220
13 ],
14 "size": [
15 510,
16 130
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "MODEL",
25 "type": "MODEL",
26 "slot_index": 0,
27 "links": [
28 40,
29 61
30 ]
31 },
32 {
33 "name": "CLIP",
34 "type": "CLIP",
35 "slot_index": 1,
36 "links": [
37 2,
38 3,
39 14,
40 34,
41 162
42 ]
43 },
44 {
45 "name": "VAE",
46 "type": "VAE",
47 "slot_index": 2,
48 "links": [
49 119
50 ]
51 }
52 ],
53 "properties": {
54 "Node name for S&R": "CheckpointLoaderSimple",
55 "models": [
56 {
57 "name": "sensenova_u1.6_8b_mot_int8_convrot.safetensors",
58 "url": "https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors",
59 "directory": "checkpoints"
60 }
61 ]
62 },
63 "widgets_values": [
64 "sensenova_u1.6_8b_mot_int8_convrot.safetensors"
65 ],
66 "widgets_values_named": {
67 "ckpt_name": "sensenova_u1.6_8b_mot_int8_convrot.safetensors"
68 },
69 "color": "#223",
70 "bgcolor": "#335"
71 },
72 {
73 "id": 4,
74 "type": "CLIPTextEncode",
75 "pos": [
76 -540,
77 -2260
78 ],
79 "size": [
80 560,
81 390
82 ],
83 "flags": {
84 "collapsed": false
85 },
86 "order": 27,
87 "mode": 0,
88 "inputs": [
89 {
90 "name": "clip",
91 "type": "CLIP",
92 "link": 2
93 },
94 {
95 "name": "text",
96 "type": "STRING",
97 "widget": {
98 "name": "text"
99 },
100 "link": 97
101 }
102 ],
103 "outputs": [
104 {
105 "name": "CONDITIONING",
106 "type": "CONDITIONING",
107 "slot_index": 0,
108 "links": [
109 43
110 ]
111 }
112 ],
113 "title": "CLIP Text Encode (Positive)",
114 "properties": {
115 "Node name for S&R": "CLIPTextEncode"
116 },
117 "widgets_values": [
118 "1girl"
119 ],
120 "widgets_values_named": {
121 "text": "1girl"
122 },
123 "color": "#232",
124 "bgcolor": "#353"
125 },
126 {
127 "id": 5,
128 "type": "CLIPTextEncode",
129 "pos": [
130 -540,
131 -1770
132 ],
133 "size": [
134 560,
135 130
136 ],
137 "flags": {
138 "collapsed": false
139 },
140 "order": 16,
141 "mode": 0,
142 "inputs": [
143 {
144 "name": "clip",
145 "type": "CLIP",
146 "link": 3
147 }
148 ],
149 "outputs": [
150 {
151 "name": "CONDITIONING",
152 "type": "CONDITIONING",
153 "slot_index": 0,
154 "links": [
155 44
156 ]
157 }
158 ],
159 "title": "CLIP Text Encode (Negative)",
160 "properties": {
161 "Node name for S&R": "CLIPTextEncode"
162 },
163 "widgets_values": [
164 ""
165 ],
166 "widgets_values_named": {
167 "text": ""
168 },
169 "color": "#223",
170 "bgcolor": "#335"
171 },
172 {
173 "id": 6,
174 "type": "EmptyHiDreamO1LatentImage",
175 "pos": [
176 -300,
177 -1410
178 ],
179 "size": [
180 310,
181 140
182 ],
183 "flags": [],
184 "order": 24,
185 "mode": 0,
186 "inputs": [
187 {
188 "name": "width",
189 "type": "INT",
190 "widget": {
191 "name": "width"
192 },
193 "link": 139
194 },
195 {
196 "name": "height",
197 "type": "INT",
198 "widget": {
199 "name": "height"
200 },
201 "link": 140
202 }
203 ],
204 "outputs": [
205 {
206 "name": "LATENT",
207 "type": "LATENT",
208 "slot_index": 0,
209 "links": [
210 21,
211 115
212 ]
213 }
214 ],
215 "properties": {
216 "Node name for S&R": "EmptyHiDreamO1LatentImage"
217 },
218 "widgets_values": [
219 2048,
220 1152,
221 1
222 ],
223 "widgets_values_named": {
224 "width": 2048,
225 "height": 1152,
226 "batch_size": 1
227 },
228 "color": "#323",
229 "bgcolor": "#535"
230 },
231 {
232 "id": 7,
233 "type": "PrimitiveInt",
234 "pos": [
235 720,
236 -1500
237 ],
238 "size": [
239 320,
240 90
241 ],
242 "flags": [],
243 "order": 1,
244 "mode": 0,
245 "inputs": [],
246 "outputs": [
247 {
248 "name": "INT",
249 "type": "INT",
250 "slot_index": 0,
251 "links": [
252 17
253 ]
254 }
255 ],
256 "title": "Int (Seed)",
257 "properties": {
258 "Node name for S&R": "PrimitiveInt"
259 },
260 "widgets_values": [
261 944861539896026,
262 "fixed"
263 ],
264 "widgets_values_named": {
265 "value": 944861539896026,
266 "control_after_generate": "fixed"
267 }
268 },
269 {
270 "id": 9,
271 "type": "StartLoop",
272 "pos": [
273 230,
274 -990
275 ],
276 "size": [
277 300,
278 190
279 ],
280 "flags": [],
281 "order": 31,
282 "mode": 0,
283 "showAdvanced": true,
284 "inputs": [
285 {
286 "name": "parent_iteration",
287 "shape": 7,
288 "type": "INT",
289 "link": null
290 },
291 {
292 "name": "initial_iteration_value",
293 "shape": 7,
294 "type": "*",
295 "link": 70
296 }
297 ],
298 "outputs": [
299 {
300 "name": "iteration_index",
301 "type": "INT",
302 "slot_index": 0,
303 "links": [
304 16
305 ]
306 },
307 {
308 "name": "is_first",
309 "type": "BOOLEAN",
310 "slot_index": 1,
311 "links": [
312 86
313 ]
314 },
315 {
316 "name": "is_last",
317 "type": "BOOLEAN",
318 "slot_index": 2,
319 "links": []
320 },
321 {
322 "name": "list_item",
323 "type": "*",
324 "slot_index": 3,
325 "links": []
326 },
327 {
328 "name": "current_iteration_value",
329 "type": "*",
330 "slot_index": 4,
331 "links": [
332 7,
333 8,
334 9
335 ]
336 }
337 ],
338 "properties": {
339 "Node name for S&R": "StartLoop"
340 },
341 "widgets_values": [
342 "simple",
343 5,
344 false
345 ],
346 "widgets_values_named": {
347 "mode": "simple",
348 "mode.num_iterations": 5,
349 "cache_iterations": false
350 },
351 "color": "#322",
352 "bgcolor": "#533"
353 },
354 {
355 "id": 10,
356 "type": "GetItemFromList",
357 "pos": [
358 720,
359 -1320
360 ],
361 "size": [
362 320,
363 90
364 ],
365 "flags": [],
366 "order": 34,
367 "mode": 0,
368 "inputs": [
369 {
370 "name": "list",
371 "type": "*",
372 "link": 7
373 }
374 ],
375 "outputs": [
376 {
377 "name": "*",
378 "type": "*",
379 "slot_index": 0,
380 "links": [
381 12
382 ]
383 }
384 ],
385 "title": "Get Item From List (Positive)",
386 "properties": {
387 "Node name for S&R": "GetItemFromList"
388 },
389 "widgets_values": [
390 0
391 ],
392 "widgets_values_named": {
393 "index": 0
394 },
395 "color": "#432",
396 "bgcolor": "#653"
397 },
398 {
399 "id": 11,
400 "type": "GetItemFromList",
401 "pos": [
402 720,
403 -1160
404 ],
405 "size": [
406 320,
407 90
408 ],
409 "flags": [],
410 "order": 35,
411 "mode": 0,
412 "inputs": [
413 {
414 "name": "list",
415 "type": "*",
416 "link": 8
417 }
418 ],
419 "outputs": [
420 {
421 "name": "*",
422 "type": "*",
423 "slot_index": 0,
424 "links": [
425 15
426 ]
427 }
428 ],
429 "title": "Get Item From List (Negative)",
430 "properties": {
431 "Node name for S&R": "GetItemFromList"
432 },
433 "widgets_values": [
434 1
435 ],
436 "widgets_values_named": {
437 "index": 1
438 },
439 "color": "#432",
440 "bgcolor": "#653"
441 },
442 {
443 "id": 12,
444 "type": "GetItemFromList",
445 "pos": [
446 720,
447 -1000
448 ],
449 "size": [
450 320,
451 90
452 ],
453 "flags": [],
454 "order": 36,
455 "mode": 0,
456 "inputs": [
457 {
458 "name": "list",
459 "type": "*",
460 "link": 9
461 }
462 ],
463 "outputs": [
464 {
465 "name": "*",
466 "type": "*",
467 "slot_index": 0,
468 "links": [
469 85
470 ]
471 }
472 ],
473 "title": "Get Item From List (Previous latent)",
474 "properties": {
475 "Node name for S&R": "GetItemFromList"
476 },
477 "widgets_values": [
478 2
479 ],
480 "widgets_values_named": {
481 "index": 2
482 },
483 "color": "#323",
484 "bgcolor": "#535"
485 },
486 {
487 "id": 14,
488 "type": "SenseNovaConditioning",
489 "pos": [
490 1250,
491 -1140
492 ],
493 "size": [
494 340,
495 150
496 ],
497 "flags": [],
498 "order": 39,
499 "mode": 0,
500 "inputs": [
501 {
502 "name": "conditioning",
503 "type": "CONDITIONING",
504 "link": 12
505 },
506 {
507 "name": "clip",
508 "shape": 7,
509 "type": "CLIP",
510 "link": 14
511 },
512 {
513 "name": "negative",
514 "shape": 7,
515 "type": "CONDITIONING",
516 "link": 15
517 },
518 {
519 "name": "task.samples",
520 "shape": 7,
521 "type": "LATENT",
522 "link": 87
523 }
524 ],
525 "outputs": [
526 {
527 "name": "conditioning",
528 "type": "CONDITIONING",
529 "slot_index": 0,
530 "links": [
531 19,
532 76
533 ]
534 },
535 {
536 "name": "generated_text",
537 "type": "STRING",
538 "slot_index": 1,
539 "links": [
540 28
541 ]
542 },
543 {
544 "name": "negative",
545 "type": "CONDITIONING",
546 "slot_index": 2,
547 "links": [
548 20,
549 77
550 ]
551 },
552 {
553 "name": "image_requested",
554 "type": "BOOLEAN",
555 "slot_index": 3,
556 "links": [
557 74
558 ]
559 }
560 ],
561 "properties": {
562 "Node name for S&R": "SenseNovaConditioning"
563 },
564 "widgets_values": [
565 "self-correction",
566 1024
567 ],
568 "widgets_values_named": {
569 "task": "self-correction",
570 "max_tokens": 1024
571 },
572 "color": "#432",
573 "bgcolor": "#653"
574 },
575 {
576 "id": 15,
577 "type": "ComfyMathExpression",
578 "pos": [
579 1250,
580 -1480
581 ],
582 "size": [
583 350,
584 170
585 ],
586 "flags": {
587 "collapsed": false
588 },
589 "order": 33,
590 "mode": 0,
591 "inputs": [
592 {
593 "name": "values.a",
594 "type": "FLOAT,INT,BOOLEAN",
595 "link": 16
596 },
597 {
598 "name": "values.b",
599 "shape": 7,
600 "type": "FLOAT,INT,BOOLEAN",
601 "link": 17
602 },
603 {
604 "name": "values.c",
605 "shape": 7,
606 "type": "FLOAT,INT,BOOLEAN",
607 "link": null
608 }
609 ],
610 "outputs": [
611 {
612 "name": "FLOAT",
613 "type": "FLOAT",
614 "slot_index": 0,
615 "links": []
616 },
617 {
618 "name": "INT",
619 "type": "INT",
620 "slot_index": 1,
621 "links": [
622 22
623 ]
624 },
625 {
626 "name": "BOOL",
627 "type": "BOOLEAN",
628 "slot_index": 2,
629 "links": []
630 }
631 ],
632 "title": "Seed per iteration",
633 "properties": {
634 "Node name for S&R": "ComfyMathExpression"
635 },
636 "widgets_values": [
637 "a + b"
638 ],
639 "widgets_values_named": {
640 "expression": "a + b"
641 }
642 },
643 {
644 "id": 16,
645 "type": "KSampler",
646 "pos": [
647 1760,
648 -1520
649 ],
650 "size": [
651 290,
652 480
653 ],
654 "flags": [],
655 "order": 41,
656 "mode": 0,
657 "inputs": [
658 {
659 "name": "model",
660 "type": "MODEL",
661 "link": 152
662 },
663 {
664 "name": "positive",
665 "type": "CONDITIONING",
666 "link": 19
667 },
668 {
669 "name": "negative",
670 "type": "CONDITIONING",
671 "link": 20
672 },
673 {
674 "name": "latent_image",
675 "type": "LATENT",
676 "link": 21
677 },
678 {
679 "name": "seed",
680 "type": "INT",
681 "widget": {
682 "name": "seed"
683 },
684 "link": 22
685 },
686 {
687 "name": "steps",
688 "type": "INT",
689 "widget": {
690 "name": "steps"
691 },
692 "link": 84
693 },
694 {
695 "name": "cfg",
696 "type": "FLOAT",
697 "widget": {
698 "name": "cfg"
699 },
700 "link": 65
701 }
702 ],
703 "outputs": [
704 {
705 "name": "LATENT",
706 "type": "LATENT",
707 "slot_index": 0,
708 "links": [
709 73
710 ]
711 }
712 ],
713 "properties": {
714 "Node name for S&R": "KSampler"
715 },
716 "widgets_values": [
717 42,
718 "fixed",
719 8,
720 1,
721 "euler",
722 "simple",
723 1
724 ],
725 "widgets_values_named": {
726 "seed": 42,
727 "control_after_generate": "fixed",
728 "steps": 8,
729 "cfg": 1,
730 "sampler_name": "euler",
731 "scheduler": "simple",
732 "denoise": 1
733 }
734 },
735 {
736 "id": 19,
737 "type": "PreviewAny",
738 "pos": [
739 1250,
740 -880
741 ],
742 "size": [
743 340,
744 180
745 ],
746 "flags": [],
747 "order": 40,
748 "mode": 4,
749 "inputs": [
750 {
751 "name": "source",
752 "type": "*",
753 "link": 28
754 }
755 ],
756 "outputs": [
757 {
758 "name": "STRING",
759 "type": "STRING",
760 "slot_index": 0,
761 "links": [
762 31
763 ]
764 }
765 ],
766 "title": "Stage text",
767 "properties": {
768 "Node name for S&R": "PreviewAny"
769 },
770 "widgets_values": [],
771 "widgets_values_named": []
772 },
773 {
774 "id": 20,
775 "type": "EndLoop",
776 "pos": [
777 2390,
778 -1460
779 ],
780 "size": [
781 300,
782 140
783 ],
784 "flags": [],
785 "order": 44,
786 "mode": 0,
787 "inputs": [
788 {
789 "name": "output_value",
790 "shape": 7,
791 "type": "*",
792 "link": 79
793 },
794 {
795 "name": "next_iteration_value",
796 "shape": 7,
797 "type": "*",
798 "link": 80
799 },
800 {
801 "name": "terminations.termination0",
802 "shape": 7,
803 "type": "*",
804 "link": 31
805 },
806 {
807 "name": "terminations.termination1",
808 "shape": 7,
809 "type": "*",
810 "link": null
811 }
812 ],
813 "outputs": [
814 {
815 "name": "outputs",
816 "shape": 6,
817 "type": "*",
818 "slot_index": 0,
819 "links": [
820 32,
821 33
822 ]
823 }
824 ],
825 "properties": {
826 "Node name for S&R": "EndLoop"
827 },
828 "widgets_values": [
829 false
830 ],
831 "widgets_values_named": {
832 "accumulate": false
833 },
834 "color": "#322",
835 "bgcolor": "#533"
836 },
837 {
838 "id": 21,
839 "type": "GetItemFromList",
840 "pos": [
841 2390,
842 -1250
843 ],
844 "size": [
845 300,
846 90
847 ],
848 "flags": [],
849 "order": 45,
850 "mode": 0,
851 "inputs": [
852 {
853 "name": "list",
854 "type": "*",
855 "link": 32
856 }
857 ],
858 "outputs": [
859 {
860 "name": "*",
861 "type": "*",
862 "slot_index": 0,
863 "links": [
864 35
865 ]
866 }
867 ],
868 "title": "Final conditioning",
869 "properties": {
870 "Node name for S&R": "GetItemFromList"
871 },
872 "widgets_values": [
873 0
874 ],
875 "widgets_values_named": {
876 "index": 0
877 },
878 "color": "#432",
879 "bgcolor": "#653"
880 },
881 {
882 "id": 22,
883 "type": "GetItemFromList",
884 "pos": [
885 2390,
886 -1090
887 ],
888 "size": [
889 300,
890 90
891 ],
892 "flags": [],
893 "order": 46,
894 "mode": 0,
895 "inputs": [
896 {
897 "name": "list",
898 "type": "*",
899 "link": 33
900 }
901 ],
902 "outputs": [
903 {
904 "name": "*",
905 "type": "*",
906 "slot_index": 0,
907 "links": [
908 36
909 ]
910 }
911 ],
912 "title": "Final latent",
913 "properties": {
914 "Node name for S&R": "GetItemFromList"
915 },
916 "widgets_values": [
917 2
918 ],
919 "widgets_values_named": {
920 "index": 2
921 },
922 "color": "#323",
923 "bgcolor": "#535"
924 },
925 {
926 "id": 23,
927 "type": "SenseNovaInterleaveDecode",
928 "pos": [
929 2390,
930 -920
931 ],
932 "size": [
933 300,
934 90
935 ],
936 "flags": [],
937 "order": 47,
938 "mode": 0,
939 "inputs": [
940 {
941 "name": "clip",
942 "type": "CLIP",
943 "link": 34
944 },
945 {
946 "name": "conditioning",
947 "type": "CONDITIONING",
948 "link": 35
949 },
950 {
951 "name": "samples",
952 "shape": 7,
953 "type": "LATENT",
954 "link": 36
955 }
956 ],
957 "outputs": [
958 {
959 "name": "text",
960 "type": "STRING",
961 "slot_index": 0,
962 "links": []
963 },
964 {
965 "name": "images",
966 "shape": 6,
967 "type": "IMAGE",
968 "slot_index": 1,
969 "links": [
970 126
971 ]
972 },
973 {
974 "name": "thinking",
975 "type": "STRING",
976 "slot_index": 2,
977 "links": []
978 }
979 ],
980 "properties": {
981 "Node name for S&R": "SenseNovaInterleaveDecode"
982 }
983 },
984 {
985 "id": 24,
986 "type": "SaveImage",
987 "pos": [
988 2890,
989 -2060
990 ],
991 "size": [
992 1520,
993 710
994 ],
995 "flags": [],
996 "order": 49,
997 "mode": 0,
998 "inputs": [
999 {
1000 "name": "images",
1001 "type": "IMAGE",
1002 "link": 128
1003 }
1004 ],
1005 "outputs": [
1006 {
1007 "name": "images",
1008 "type": "IMAGE",
1009 "links": [
1010 144
1011 ]
1012 }
1013 ],
1014 "properties": {
1015 "Node name for S&R": "SaveImage"
1016 },
1017 "widgets_values": [
1018 "image_sensenova_u16_image_edit"
1019 ],
1020 "widgets_values_named": {
1021 "filename_prefix": "image_sensenova_u16_image_edit"
1022 }
1023 },
1024 {
1025 "id": 27,
1026 "type": "LoraLoaderModelOnly",
1027 "pos": [
1028 -2180,
1029 -900
1030 ],
1031 "size": [
1032 510,
1033 120
1034 ],
1035 "flags": [],
1036 "order": 15,
1037 "mode": 0,
1038 "inputs": [
1039 {
1040 "name": "model",
1041 "type": "MODEL",
1042 "link": 40
1043 }
1044 ],
1045 "outputs": [
1046 {
1047 "name": "MODEL",
1048 "type": "MODEL",
1049 "slot_index": 0,
1050 "links": [
1051 62
1052 ]
1053 }
1054 ],
1055 "properties": {
1056 "Node name for S&R": "LoraLoaderModelOnly",
1057 "models": [
1058 {
1059 "name": "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
1060 "url": "https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
1061 "directory": "loras"
1062 }
1063 ]
1064 },
1065 "widgets_values": [
1066 "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
1067 1
1068 ],
1069 "widgets_values_named": {
1070 "lora_name": "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
1071 "strength_model": 1
1072 },
1073 "color": "#223",
1074 "bgcolor": "#335"
1075 },
1076 {
1077 "id": 29,
1078 "type": "HiDreamO1ReferenceImages",
1079 "pos": [
1080 220,
1081 -1500
1082 ],
1083 "size": [
1084 300,
1085 110
1086 ],
1087 "flags": [],
1088 "order": 28,
1089 "mode": 0,
1090 "inputs": [
1091 {
1092 "name": "positive",
1093 "type": "CONDITIONING",
1094 "link": 43
1095 },
1096 {
1097 "name": "negative",
1098 "type": "CONDITIONING",
1099 "link": 44
1100 },
1101 {
1102 "name": "images.image_1",
1103 "shape": 7,
1104 "type": "IMAGE",
1105 "link": 141
1106 },
1107 {
1108 "name": "images.image_2",
1109 "shape": 7,
1110 "type": "IMAGE",
1111 "link": null
1112 }
1113 ],
1114 "outputs": [
1115 {
1116 "name": "positive",
1117 "type": "CONDITIONING",
1118 "links": [
1119 71,
1120 160
1121 ]
1122 },
1123 {
1124 "name": "negative",
1125 "type": "CONDITIONING",
1126 "links": [
1127 72,
1128 161
1129 ]
1130 }
1131 ],
1132 "properties": {
1133 "Node name for S&R": "HiDreamO1ReferenceImages"
1134 },
1135 "color": "#322",
1136 "bgcolor": "#533"
1137 },
1138 {
1139 "id": 34,
1140 "type": "PrimitiveBoolean",
1141 "pos": [
1142 -280,
1143 -1130
1144 ],
1145 "size": [
1146 270,
1147 60
1148 ],
1149 "flags": {
1150 "collapsed": false
1151 },
1152 "order": 2,
1153 "mode": 0,
1154 "inputs": [],
1155 "outputs": [
1156 {
1157 "name": "BOOLEAN",
1158 "type": "BOOLEAN",
1159 "links": [
1160 59,
1161 60,
1162 83
1163 ]
1164 }
1165 ],
1166 "title": "Turbo Mode?",
1167 "properties": {
1168 "Node name for S&R": "PrimitiveBoolean"
1169 },
1170 "widgets_values": [
1171 false
1172 ],
1173 "widgets_values_named": {
1174 "value": false
1175 }
1176 },
1177 {
1178 "id": 35,
1179 "type": "PrimitiveInt",
1180 "pos": [
1181 720,
1182 -2240
1183 ],
1184 "size": [
1185 270,
1186 90
1187 ],
1188 "flags": {
1189 "collapsed": false
1190 },
1191 "order": 3,
1192 "mode": 0,
1193 "inputs": [],
1194 "outputs": [
1195 {
1196 "name": "INT",
1197 "type": "INT",
1198 "links": [
1199 82
1200 ]
1201 }
1202 ],
1203 "title": "Int (Steps)",
1204 "properties": {
1205 "Node name for S&R": "PrimitiveInt"
1206 },
1207 "widgets_values": [
1208 8,
1209 "fixed"
1210 ],
1211 "widgets_values_named": {
1212 "value": 8,
1213 "control_after_generate": "fixed"
1214 }
1215 },
1216 {
1217 "id": 36,
1218 "type": "PrimitiveInt",
1219 "pos": [
1220 210,
1221 -2240
1222 ],
1223 "size": [
1224 270,
1225 90
1226 ],
1227 "flags": {
1228 "collapsed": false
1229 },
1230 "order": 4,
1231 "mode": 0,
1232 "inputs": [],
1233 "outputs": [
1234 {
1235 "name": "INT",
1236 "type": "INT",
1237 "links": [
1238 81
1239 ]
1240 }
1241 ],
1242 "title": "Int (Setps)",
1243 "properties": {
1244 "Node name for S&R": "PrimitiveInt"
1245 },
1246 "widgets_values": [
1247 50,
1248 "fixed"
1249 ],
1250 "widgets_values_named": {
1251 "value": 50,
1252 "control_after_generate": "fixed"
1253 }
1254 },
1255 {
1256 "id": 37,
1257 "type": "PrimitiveFloat",
1258 "pos": [
1259 210,
1260 -2080
1261 ],
1262 "size": [
1263 270,
1264 60
1265 ],
1266 "flags": {
1267 "collapsed": false
1268 },
1269 "order": 5,
1270 "mode": 0,
1271 "inputs": [],
1272 "outputs": [
1273 {
1274 "name": "FLOAT",
1275 "type": "FLOAT",
1276 "links": [
1277 57
1278 ]
1279 }
1280 ],
1281 "title": "Float (CFG)",
1282 "properties": {
1283 "Node name for S&R": "PrimitiveFloat"
1284 },
1285 "widgets_values": [
1286 4
1287 ],
1288 "widgets_values_named": {
1289 "value": 4
1290 }
1291 },
1292 {
1293 "id": 38,
1294 "type": "PrimitiveFloat",
1295 "pos": [
1296 720,
1297 -2080
1298 ],
1299 "size": [
1300 270,
1301 60
1302 ],
1303 "flags": {
1304 "collapsed": false
1305 },
1306 "order": 6,
1307 "mode": 0,
1308 "inputs": [],
1309 "outputs": [
1310 {
1311 "name": "FLOAT",
1312 "type": "FLOAT",
1313 "links": [
1314 58
1315 ]
1316 }
1317 ],
1318 "title": "Float (CFG)",
1319 "properties": {
1320 "Node name for S&R": "PrimitiveFloat"
1321 },
1322 "widgets_values": [
1323 1
1324 ],
1325 "widgets_values_named": {
1326 "value": 1
1327 }
1328 },
1329 {
1330 "id": 40,
1331 "type": "ComfySwitchNode",
1332 "pos": [
1333 1190,
1334 -2080
1335 ],
1336 "size": [
1337 310,
1338 110
1339 ],
1340 "flags": {
1341 "collapsed": false
1342 },
1343 "order": 18,
1344 "mode": 0,
1345 "inputs": [
1346 {
1347 "name": "on_false",
1348 "shape": 7,
1349 "type": "FLOAT",
1350 "link": 57
1351 },
1352 {
1353 "name": "on_true",
1354 "shape": 7,
1355 "type": "FLOAT",
1356 "link": 58
1357 },
1358 {
1359 "name": "switch",
1360 "type": "BOOLEAN",
1361 "widget": {
1362 "name": "switch"
1363 },
1364 "link": 59
1365 }
1366 ],
1367 "outputs": [
1368 {
1369 "name": "output",
1370 "type": "FLOAT",
1371 "links": [
1372 65,
1373 113
1374 ]
1375 }
1376 ],
1377 "title": "If/Else Switch (cfg)",
1378 "properties": {
1379 "Node name for S&R": "ComfySwitchNode"
1380 },
1381 "widgets_values": [
1382 false
1383 ],
1384 "widgets_values_named": {
1385 "switch": false
1386 }
1387 },
1388 {
1389 "id": 41,
1390 "type": "ComfySwitchNode",
1391 "pos": [
1392 1230,
1393 -1850
1394 ],
1395 "size": [
1396 270,
1397 110
1398 ],
1399 "flags": {
1400 "collapsed": false
1401 },
1402 "order": 20,
1403 "mode": 0,
1404 "inputs": [
1405 {
1406 "name": "on_false",
1407 "shape": 7,
1408 "type": "MODEL",
1409 "link": 61
1410 },
1411 {
1412 "name": "on_true",
1413 "shape": 7,
1414 "type": "MODEL",
1415 "link": 62
1416 },
1417 {
1418 "name": "switch",
1419 "type": "BOOLEAN",
1420 "widget": {
1421 "name": "switch"
1422 },
1423 "link": 60
1424 }
1425 ],
1426 "outputs": [
1427 {
1428 "name": "output",
1429 "type": "MODEL",
1430 "links": [
1431 152,
1432 153
1433 ]
1434 }
1435 ],
1436 "title": "If/Else Switch (Model)",
1437 "properties": {
1438 "Node name for S&R": "ComfySwitchNode"
1439 },
1440 "widgets_values": [
1441 false
1442 ],
1443 "widgets_values_named": {
1444 "switch": false
1445 },
1446 "color": "#223",
1447 "bgcolor": "#335"
1448 },
1449 {
1450 "id": 44,
1451 "type": "CreateList",
1452 "pos": [
1453 230,
1454 -1160
1455 ],
1456 "size": [
1457 300,
1458 100
1459 ],
1460 "flags": [],
1461 "order": 29,
1462 "mode": 0,
1463 "inputs": [
1464 {
1465 "name": "inputs.input0",
1466 "type": "*",
1467 "link": 71
1468 },
1469 {
1470 "name": "inputs.input1",
1471 "shape": 7,
1472 "type": "*",
1473 "link": 72
1474 },
1475 {
1476 "name": "inputs.input2",
1477 "shape": 7,
1478 "type": "*",
1479 "link": null
1480 }
1481 ],
1482 "outputs": [
1483 {
1484 "name": "list",
1485 "shape": 6,
1486 "type": "*",
1487 "links": [
1488 70
1489 ]
1490 }
1491 ],
1492 "properties": {
1493 "Node name for S&R": "CreateList"
1494 },
1495 "color": "#432",
1496 "bgcolor": "#653"
1497 },
1498 {
1499 "id": 45,
1500 "type": "ComfySwitchNode",
1501 "pos": [
1502 1760,
1503 -980
1504 ],
1505 "size": [
1506 290,
1507 80
1508 ],
1509 "flags": [],
1510 "order": 42,
1511 "mode": 0,
1512 "inputs": [
1513 {
1514 "name": "on_false",
1515 "shape": 7,
1516 "type": "LATENT",
1517 "link": null
1518 },
1519 {
1520 "name": "on_true",
1521 "shape": 7,
1522 "type": "*",
1523 "link": 73
1524 },
1525 {
1526 "name": "switch",
1527 "type": "BOOLEAN",
1528 "widget": {
1529 "name": "switch"
1530 },
1531 "link": 74
1532 }
1533 ],
1534 "outputs": [
1535 {
1536 "name": "output",
1537 "type": "LATENT",
1538 "links": [
1539 78
1540 ]
1541 }
1542 ],
1543 "properties": {
1544 "Node name for S&R": "ComfySwitchNode"
1545 },
1546 "widgets_values": [
1547 false
1548 ],
1549 "widgets_values_named": {
1550 "switch": false
1551 },
1552 "color": "#323",
1553 "bgcolor": "#535"
1554 },
1555 {
1556 "id": 46,
1557 "type": "CreateList",
1558 "pos": [
1559 1760,
1560 -830
1561 ],
1562 "size": [
1563 290,
1564 110
1565 ],
1566 "flags": [],
1567 "order": 43,
1568 "mode": 0,
1569 "inputs": [
1570 {
1571 "name": "inputs.input0",
1572 "type": "*",
1573 "link": 76
1574 },
1575 {
1576 "name": "inputs.input1",
1577 "shape": 7,
1578 "type": "*",
1579 "link": 77
1580 },
1581 {
1582 "name": "inputs.input2",
1583 "shape": 7,
1584 "type": "*",
1585 "link": 78
1586 },
1587 {
1588 "name": "inputs.input3",
1589 "shape": 7,
1590 "type": "*",
1591 "link": null
1592 }
1593 ],
1594 "outputs": [
1595 {
1596 "name": "list",
1597 "shape": 6,
1598 "type": "*",
1599 "links": [
1600 79,
1601 80
1602 ]
1603 }
1604 ],
1605 "properties": {
1606 "Node name for S&R": "CreateList"
1607 }
1608 },
1609 {
1610 "id": 47,
1611 "type": "ComfySwitchNode",
1612 "pos": [
1613 1190,
1614 -2240
1615 ],
1616 "size": [
1617 310,
1618 110
1619 ],
1620 "flags": [],
1621 "order": 17,
1622 "mode": 0,
1623 "inputs": [
1624 {
1625 "name": "on_false",
1626 "shape": 7,
1627 "type": "INT",
1628 "link": 81
1629 },
1630 {
1631 "name": "on_true",
1632 "shape": 7,
1633 "type": "INT",
1634 "link": 82
1635 },
1636 {
1637 "name": "switch",
1638 "type": "BOOLEAN",
1639 "widget": {
1640 "name": "switch"
1641 },
1642 "link": 83
1643 }
1644 ],
1645 "outputs": [
1646 {
1647 "name": "output",
1648 "type": "INT",
1649 "links": [
1650 84,
1651 112
1652 ]
1653 }
1654 ],
1655 "title": "If/Else Switch (steps)",
1656 "properties": {
1657 "Node name for S&R": "ComfySwitchNode"
1658 },
1659 "widgets_values": [
1660 false
1661 ],
1662 "widgets_values_named": {
1663 "switch": false
1664 }
1665 },
1666 {
1667 "id": 48,
1668 "type": "ComfySwitchNode",
1669 "pos": [
1670 720,
1671 -840
1672 ],
1673 "size": [
1674 320,
1675 80
1676 ],
1677 "flags": [],
1678 "order": 38,
1679 "mode": 0,
1680 "inputs": [
1681 {
1682 "name": "on_false",
1683 "shape": 7,
1684 "type": "*",
1685 "link": 85
1686 },
1687 {
1688 "name": "on_true",
1689 "shape": 7,
1690 "type": "*",
1691 "link": null
1692 },
1693 {
1694 "name": "switch",
1695 "type": "BOOLEAN",
1696 "widget": {
1697 "name": "switch"
1698 },
1699 "link": 86
1700 }
1701 ],
1702 "outputs": [
1703 {
1704 "name": "output",
1705 "type": "*",
1706 "links": [
1707 87
1708 ]
1709 }
1710 ],
1711 "title": "If/Else Switch (Previous latent)",
1712 "properties": {
1713 "Node name for S&R": "ComfySwitchNode"
1714 },
1715 "widgets_values": [
1716 false
1717 ],
1718 "widgets_values_named": {
1719 "switch": false
1720 },
1721 "color": "#323",
1722 "bgcolor": "#535"
1723 },
1724 {
1725 "id": 53,
1726 "type": "PrimitiveStringMultiline",
1727 "pos": [
1728 -2160,
1729 -2050
1730 ],
1731 "size": [
1732 520,
1733 490
1734 ],
1735 "flags": {
1736 "collapsed": false
1737 },
1738 "order": 7,
1739 "mode": 0,
1740 "inputs": [],
1741 "outputs": [
1742 {
1743 "name": "STRING",
1744 "type": "STRING",
1745 "links": [
1746 134
1747 ]
1748 }
1749 ],
1750 "title": "Text (System Prompt - Image Editing and Reference-Guided )",
1751 "properties": {
1752 "Node name for S&R": "PrimitiveStringMultiline"
1753 },
1754 "widgets_values": [
1755 "# Image Editing and Reference-Guided Prompt Enhancer\n\nRewrite the user's image request into one directly executable prompt for an image model. Use the original request and the images actually supplied. Preserve the user's explicit requirements, including the scope and degree of the change, named subjects, counts, colors, positions, and exact on-image text.\n\n## Interpret the request and inspect the images\n\nDetermine whether the user wants to edit an existing image, assemble a new composition from references, or generate a new image. Inspect the supplied images in input order. Identify the base image when applicable and determine what each relevant reference contributes, such as identity, product appearance, pose, layout, palette, or style. Use image numbers only for images actually supplied.\n\nCarry relevant visible details from the supplied images into the final prompt. For a local edit, identify the target by its appearance, position, or relationship to a nearby object. Name the surrounding details that need to be preserved for the edit to fit the scene. For a multi-reference composition, identify which image supplies each transferred subject, object, or style, and describe the visible features that should carry over. Include only details that help the image model locate, preserve, or reproduce the requested content. Leave unclear source details unspecified. For a new composition, make reasonable choices where the user has left them open.\n\n## Write the visual requirements\n\nFor a local edit, lead with the action. State what to change, where it is, and what the result should look like. Identify the relevant details to preserve, such as subject identity, object shape, position, framing, lighting, background, or nearby content. Keep the scope narrow when the user asks for a narrow change.\n\nFor a new composition or a broad redesign, open with the intended medium, main subject, and overall visual treatment. Describe the finished image in a natural visual order. For a poster, infographic, or other design with distinct regions, cover the background, top, main content, and bottom as applicable. For a single-subject image, organize the description around the subject and its relationship to the surroundings. Use specific positions and relative sizes when they help place an element.\n\nFor multi-image compositions, preserve each reference subject's distinguishing features and adapt viewpoint, scale, lighting, contact shadows, reflections, and occlusion to the shared scene. When the edit affects people, describe the requirements that apply to their visible body parts, including proportions, joints, pose, weight-bearing, hands, and physical contact. Keep each person's identity distinct in group compositions.\n\nFor style or layout transfer, specify the visible qualities to carry over, such as composition, spacing, shapes, palette, texture, materials, or lighting. For designed artifacts, define the focal hierarchy, alignment, spacing, and relative scale of the main regions. Where lighting or material affects the requested result, describe its visible effect on the relevant object or surface. Coordinate saturation across the image while honoring the user's requested color intensity.\n\n## Handle visible text\n\nWhen the finished image needs visible text, include the text requirements in the same output paragraph. For each relevant text element, specify its exact copy, location, hierarchy, and the legibility constraints that matter, such as relative size, alignment, contrast, or separation from nearby graphics. Put literal copy in straight double quotes. Preserve its original language, script, spelling, capitalization, punctuation, spacing, numbers, units, and symbols.\n\nFor text replacement or correction, give the exact old and new strings and identify their location. When editing an existing design, preserve readable text outside the requested change. If text that must be preserved is unreadable, identify its region and instruct the image model to keep it unchanged. For charts and tables, preserve the relevant data, axis titles, tick labels, legend entries, units, and cell values. Use the request and supplied images as the sources for exact values.\n\nFor a new text-bearing design, such as a poster, cover, or infographic, supply concise, task-specific copy when the user has left it open. Infer the language of newly written copy from the request or target artifact. Keep optional copy sparse and readable. Do not invent unsupported prices, dates, statistics, claims, or brands. When no visible text is needed, omit text instructions.\n\n## Examples\n\nUser: Change the mug on the left to matte navy blue.\nImage context: An ivory mug with a curved handle sits beside an open notebook on a wooden desk in soft window light.\nOutput: Change the ivory mug to the left of the open notebook to matte navy blue. Keep its curved handle, size, and position on the wooden desk. Preserve the soft window light, the contact shadow beneath the mug, and the surrounding scene.\n\nUser: 把图表标题从“第二季度营收”改成“第三季度营收”,数据别动。\nOutput: Replace \"第二季度营收\" with \"第三季度营收\" in the existing chart title area. Match the original title's alignment, relative size, and contrast. Preserve the chart data, axis labels, tick labels, units, and legend exactly as shown.\n\nUser: Use the person in image 1 and the bag in image 2 to make a street-style photo.\nImage context: Image 1 shows a person with a short, straight bob. Image 2 shows a structured tan leather bag with a short top handle and brass hardware.\nOutput: An eye-level street-style photograph shows the person from image 1 carrying the structured tan leather bag from image 2. Preserve the person's facial identity and short, straight bob, and retain the bag's shape, short top handle, and brass hardware. The bag hangs at a natural angle from the person's hand. Soft daylight falls consistently across the person and bag, with subtle contact shadows where the fingers wrap around the handle.\n\nUser: Make a simple coffee tasting poster with the title 周末咖啡品鉴.\nOutput: A vertical coffee tasting poster uses a warm cream background and muted coffee-brown accents. The title \"周末咖啡品鉴\" spans the upper third in large, dark lettering with clear contrast. A photograph of a ceramic cup and scattered coffee beans anchors the lower half, with generous open space between the title and the photograph.\n\n## Output format\n\nReturn only the final image prompt as one continuous line of plain English text, with no line breaks. Keep literal on-image copy in its original language and script. Use direct edit instructions for changes and preservation, and present-tense descriptions for newly composed visual content. Match the level of detail to the task. Omit headings, labels, analysis, Markdown, JSON, placeholders, aspect-ratio fields, resolution, and pixel counts."
1756 ],
1757 "widgets_values_named": {
1758 "value": "# Image Editing and Reference-Guided Prompt Enhancer\n\nRewrite the user's image request into one directly executable prompt for an image model. Use the original request and the images actually supplied. Preserve the user's explicit requirements, including the scope and degree of the change, named subjects, counts, colors, positions, and exact on-image text.\n\n## Interpret the request and inspect the images\n\nDetermine whether the user wants to edit an existing image, assemble a new composition from references, or generate a new image. Inspect the supplied images in input order. Identify the base image when applicable and determine what each relevant reference contributes, such as identity, product appearance, pose, layout, palette, or style. Use image numbers only for images actually supplied.\n\nCarry relevant visible details from the supplied images into the final prompt. For a local edit, identify the target by its appearance, position, or relationship to a nearby object. Name the surrounding details that need to be preserved for the edit to fit the scene. For a multi-reference composition, identify which image supplies each transferred subject, object, or style, and describe the visible features that should carry over. Include only details that help the image model locate, preserve, or reproduce the requested content. Leave unclear source details unspecified. For a new composition, make reasonable choices where the user has left them open.\n\n## Write the visual requirements\n\nFor a local edit, lead with the action. State what to change, where it is, and what the result should look like. Identify the relevant details to preserve, such as subject identity, object shape, position, framing, lighting, background, or nearby content. Keep the scope narrow when the user asks for a narrow change.\n\nFor a new composition or a broad redesign, open with the intended medium, main subject, and overall visual treatment. Describe the finished image in a natural visual order. For a poster, infographic, or other design with distinct regions, cover the background, top, main content, and bottom as applicable. For a single-subject image, organize the description around the subject and its relationship to the surroundings. Use specific positions and relative sizes when they help place an element.\n\nFor multi-image compositions, preserve each reference subject's distinguishing features and adapt viewpoint, scale, lighting, contact shadows, reflections, and occlusion to the shared scene. When the edit affects people, describe the requirements that apply to their visible body parts, including proportions, joints, pose, weight-bearing, hands, and physical contact. Keep each person's identity distinct in group compositions.\n\nFor style or layout transfer, specify the visible qualities to carry over, such as composition, spacing, shapes, palette, texture, materials, or lighting. For designed artifacts, define the focal hierarchy, alignment, spacing, and relative scale of the main regions. Where lighting or material affects the requested result, describe its visible effect on the relevant object or surface. Coordinate saturation across the image while honoring the user's requested color intensity.\n\n## Handle visible text\n\nWhen the finished image needs visible text, include the text requirements in the same output paragraph. For each relevant text element, specify its exact copy, location, hierarchy, and the legibility constraints that matter, such as relative size, alignment, contrast, or separation from nearby graphics. Put literal copy in straight double quotes. Preserve its original language, script, spelling, capitalization, punctuation, spacing, numbers, units, and symbols.\n\nFor text replacement or correction, give the exact old and new strings and identify their location. When editing an existing design, preserve readable text outside the requested change. If text that must be preserved is unreadable, identify its region and instruct the image model to keep it unchanged. For charts and tables, preserve the relevant data, axis titles, tick labels, legend entries, units, and cell values. Use the request and supplied images as the sources for exact values.\n\nFor a new text-bearing design, such as a poster, cover, or infographic, supply concise, task-specific copy when the user has left it open. Infer the language of newly written copy from the request or target artifact. Keep optional copy sparse and readable. Do not invent unsupported prices, dates, statistics, claims, or brands. When no visible text is needed, omit text instructions.\n\n## Examples\n\nUser: Change the mug on the left to matte navy blue.\nImage context: An ivory mug with a curved handle sits beside an open notebook on a wooden desk in soft window light.\nOutput: Change the ivory mug to the left of the open notebook to matte navy blue. Keep its curved handle, size, and position on the wooden desk. Preserve the soft window light, the contact shadow beneath the mug, and the surrounding scene.\n\nUser: 把图表标题从“第二季度营收”改成“第三季度营收”,数据别动。\nOutput: Replace \"第二季度营收\" with \"第三季度营收\" in the existing chart title area. Match the original title's alignment, relative size, and contrast. Preserve the chart data, axis labels, tick labels, units, and legend exactly as shown.\n\nUser: Use the person in image 1 and the bag in image 2 to make a street-style photo.\nImage context: Image 1 shows a person with a short, straight bob. Image 2 shows a structured tan leather bag with a short top handle and brass hardware.\nOutput: An eye-level street-style photograph shows the person from image 1 carrying the structured tan leather bag from image 2. Preserve the person's facial identity and short, straight bob, and retain the bag's shape, short top handle, and brass hardware. The bag hangs at a natural angle from the person's hand. Soft daylight falls consistently across the person and bag, with subtle contact shadows where the fingers wrap around the handle.\n\nUser: Make a simple coffee tasting poster with the title 周末咖啡品鉴.\nOutput: A vertical coffee tasting poster uses a warm cream background and muted coffee-brown accents. The title \"周末咖啡品鉴\" spans the upper third in large, dark lettering with clear contrast. A photograph of a ceramic cup and scattered coffee beans anchors the lower half, with generous open space between the title and the photograph.\n\n## Output format\n\nReturn only the final image prompt as one continuous line of plain English text, with no line breaks. Keep literal on-image copy in its original language and script. Use direct edit instructions for changes and preservation, and present-tense descriptions for newly composed visual content. Match the level of detail to the task. Omit headings, labels, analysis, Markdown, JSON, placeholders, aspect-ratio fields, resolution, and pixel counts."
1759 }
1760 },
1761 {
1762 "id": 54,
1763 "type": "PreviewAny",
1764 "pos": [
1765 -1110,
1766 -2260
1767 ],
1768 "size": [
1769 440,
1770 570
1771 ],
1772 "flags": [],
1773 "order": 26,
1774 "mode": 0,
1775 "inputs": [
1776 {
1777 "name": "source",
1778 "type": "*",
1779 "link": 109
1780 }
1781 ],
1782 "outputs": [
1783 {
1784 "name": "STRING",
1785 "type": "STRING",
1786 "links": [
1787 97
1788 ]
1789 }
1790 ],
1791 "properties": {
1792 "Node name for S&R": "PreviewAny"
1793 },
1794 "widgets_values": [],
1795 "widgets_values_named": []
1796 },
1797 {
1798 "id": 55,
1799 "type": "CLIPLoader",
1800 "pos": [
1801 -2160,
1802 -2260
1803 ],
1804 "size": [
1805 520,
1806 140
1807 ],
1808 "flags": [],
1809 "order": 8,
1810 "mode": 0,
1811 "inputs": [],
1812 "outputs": [
1813 {
1814 "name": "CLIP",
1815 "type": "CLIP",
1816 "links": [
1817 100
1818 ]
1819 }
1820 ],
1821 "properties": {
1822 "Node name for S&R": "CLIPLoader",
1823 "models": [
1824 {
1825 "name": "qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors",
1826 "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors",
1827 "directory": "text_encoders"
1828 }
1829 ]
1830 },
1831 "widgets_values": [
1832 "qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors",
1833 "stable_diffusion",
1834 "default"
1835 ],
1836 "widgets_values_named": {
1837 "clip_name": "qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors",
1838 "type": "stable_diffusion",
1839 "device": "default"
1840 },
1841 "color": "#432",
1842 "bgcolor": "#653"
1843 },
1844 {
1845 "id": 57,
1846 "type": "TextGenerateV2",
1847 "pos": [
1848 -1580,
1849 -2260
1850 ],
1851 "size": [
1852 400,
1853 590
1854 ],
1855 "flags": [],
1856 "order": 23,
1857 "mode": 0,
1858 "showAdvanced": true,
1859 "inputs": [
1860 {
1861 "name": "clip",
1862 "type": "CLIP",
1863 "link": 100
1864 },
1865 {
1866 "name": "images.image1",
1867 "shape": 7,
1868 "type": "IMAGE",
1869 "link": 146
1870 },
1871 {
1872 "name": "images.image2",
1873 "shape": 7,
1874 "type": "IMAGE",
1875 "link": null
1876 },
1877 {
1878 "name": "videos.video1",
1879 "shape": 7,
1880 "type": "IMAGE",
1881 "link": null
1882 },
1883 {
1884 "name": "audios.audio1",
1885 "shape": 7,
1886 "type": "AUDIO",
1887 "link": null
1888 },
1889 {
1890 "name": "audios.audio2",
1891 "shape": 7,
1892 "type": "AUDIO",
1893 "link": null
1894 },
1895 {
1896 "name": "audios.audio3",
1897 "shape": 7,
1898 "type": "AUDIO",
1899 "link": null
1900 },
1901 {
1902 "name": "system_prompt",
1903 "shape": 7,
1904 "type": "STRING",
1905 "link": 134
1906 },
1907 {
1908 "name": "prompt",
1909 "type": "STRING",
1910 "widget": {
1911 "name": "prompt"
1912 },
1913 "link": 110
1914 }
1915 ],
1916 "outputs": [
1917 {
1918 "name": "generated_text",
1919 "type": "STRING",
1920 "links": [
1921 108
1922 ]
1923 },
1924 {
1925 "name": "thinking",
1926 "type": "STRING",
1927 "links": null
1928 }
1929 ],
1930 "properties": {
1931 "Node name for S&R": "TextGenerateV2"
1932 },
1933 "widgets_values": [
1934 "",
1935 8192,
1936 "on",
1937 1,
1938 20,
1939 0.95,
1940 0,
1941 1,
1942 1.5,
1943 0,
1944 true,
1945 true,
1946 "auto"
1947 ],
1948 "widgets_values_named": {
1949 "prompt": "",
1950 "max_length": 8192,
1951 "sampling_mode": "on",
1952 "sampling_mode.temperature": 1,
1953 "sampling_mode.top_k": 20,
1954 "sampling_mode.top_p": 0.95,
1955 "sampling_mode.min_p": 0,
1956 "sampling_mode.repetition_penalty": 1,
1957 "sampling_mode.presence_penalty": 1.5,
1958 "sampling_mode.seed": 0,
1959 "thinking": true,
1960 "use_default_template": true,
1961 "mtp": "auto"
1962 }
1963 },
1964 {
1965 "id": 60,
1966 "type": "PrimitiveBoolean",
1967 "pos": [
1968 -280,
1969 -990
1970 ],
1971 "size": [
1972 270,
1973 60
1974 ],
1975 "flags": [],
1976 "order": 9,
1977 "mode": 0,
1978 "inputs": [],
1979 "outputs": [
1980 {
1981 "name": "BOOLEAN",
1982 "type": "BOOLEAN",
1983 "links": [
1984 106
1985 ]
1986 }
1987 ],
1988 "title": "Boolean(Enable PE)",
1989 "properties": {
1990 "Node name for S&R": "PrimitiveBoolean"
1991 },
1992 "widgets_values": [
1993 true
1994 ],
1995 "widgets_values_named": {
1996 "value": true
1997 }
1998 },
1999 {
2000 "id": 61,
2001 "type": "ComfySwitchNode",
2002 "pos": [
2003 -1450,
2004 -1640
2005 ],
2006 "size": [
2007 270,
2008 80
2009 ],
2010 "flags": [],
2011 "order": 25,
2012 "mode": 0,
2013 "inputs": [
2014 {
2015 "name": "on_false",
2016 "shape": 7,
2017 "type": "STRING",
2018 "link": 107
2019 },
2020 {
2021 "name": "on_true",
2022 "shape": 7,
2023 "type": "STRING",
2024 "link": 108
2025 },
2026 {
2027 "name": "switch",
2028 "type": "BOOLEAN",
2029 "widget": {
2030 "name": "switch"
2031 },
2032 "link": 106
2033 }
2034 ],
2035 "outputs": [
2036 {
2037 "name": "output",
2038 "type": "STRING",
2039 "links": [
2040 109
2041 ]
2042 }
2043 ],
2044 "properties": {
2045 "Node name for S&R": "ComfySwitchNode"
2046 },
2047 "widgets_values": [
2048 false
2049 ],
2050 "widgets_values_named": {
2051 "switch": false
2052 }
2053 },
2054 {
2055 "id": 64,
2056 "type": "PrimitiveStringMultiline",
2057 "pos": [
2058 -1090,
2059 -1420
2060 ],
2061 "size": [
2062 350,
2063 560
2064 ],
2065 "flags": [],
2066 "order": 10,
2067 "mode": 0,
2068 "inputs": [],
2069 "outputs": [
2070 {
2071 "name": "STRING",
2072 "type": "STRING",
2073 "links": [
2074 107,
2075 110
2076 ]
2077 }
2078 ],
2079 "title": "Text (User Prompt)",
2080 "properties": {
2081 "Node name for S&R": "PrimitiveStringMultiline"
2082 },
2083 "widgets_values": [
2084 "Put sunglasses on the character, change the scene to a coastal highway, keep the character composition unchanged, and retain the car."
2085 ],
2086 "widgets_values_named": {
2087 "value": "Put sunglasses on the character, change the scene to a coastal highway, keep the character composition unchanged, and retain the car."
2088 },
2089 "color": "#322",
2090 "bgcolor": "#533"
2091 },
2092 {
2093 "id": 65,
2094 "type": "MarkdownNote",
2095 "pos": [
2096 -3540,
2097 -2330
2098 ],
2099 "size": [
2100 610,
2101 880
2102 ],
2103 "flags": [],
2104 "order": 11,
2105 "mode": 0,
2106 "inputs": [],
2107 "outputs": [],
2108 "properties": [],
2109 "widgets_values": [
2110 "## Input Asset\n\n- [sensenova_u16_edit_women_in_car.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/sensenova_u16_edit_women_in_car.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/SenseNova-U1](https://huggingface.co/Comfy-Org/SenseNova-U1)\n- PE model: [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)\n\n**checkpoints**\n\n- [sensenova_u1.6_8b_mot_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors)\n\n**loras**\n\n- [sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors)\n\n**text_encoders**\n\n- [qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors) (8.82 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 checkpoints/\n│ │ └── sensenova_u1.6_8b_mot_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ └── sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.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"
2111 ],
2112 "widgets_values_named": {
2113 "text": "## Input Asset\n\n- [sensenova_u16_edit_women_in_car.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/sensenova_u16_edit_women_in_car.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/SenseNova-U1](https://huggingface.co/Comfy-Org/SenseNova-U1)\n- PE model: [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)\n\n**checkpoints**\n\n- [sensenova_u1.6_8b_mot_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors)\n\n**loras**\n\n- [sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors)\n\n**text_encoders**\n\n- [qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors) (8.82 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 checkpoints/\n│ │ └── sensenova_u1.6_8b_mot_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ └── sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.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"
2114 },
2115 "color": "#222",
2116 "bgcolor": "#000"
2117 },
2118 {
2119 "id": 66,
2120 "type": "MarkdownNote",
2121 "pos": [
2122 -2880,
2123 -2330
2124 ],
2125 "size": [
2126 580,
2127 870
2128 ],
2129 "flags": [],
2130 "order": 12,
2131 "mode": 0,
2132 "inputs": [],
2133 "outputs": [],
2134 "properties": [],
2135 "widgets_values": [
2136 "# SenseNova-U1.6 · Image to Image\n\nSenseNova-U1.6 is a unified multimodal model that combines visual understanding with image generation in a single 8B `mot` backbone. It targets the work where accuracy and beauty both matter — portraits, posters, illustrations and infographics — and it can review its own output and fix text errors before returning the final image.\n\nIn this workflow the model works from a reference image: your source image is attached as a reference, and the prompt describes the change you want. Because understanding and generation live in one model, it reads the source, reworks it, and outputs an edit at the source's own resolution.\n\n## Highlights\n\n- **Refined aesthetics** — genre-specific aesthetic reward models drive feedback for portraits and photoreal scenes (realism, texture, lighting), artistic work (creativity, style) and infographics (text, layout, composition). **+10% overall aesthetic quality over U1.5** in subjective user evaluations.\n- **Autonomous self-correction** — after the first pass the model checks the image against the prompt, flags blurred or garbled text, typos, misspellings and wrong numbering, then regenerates from the original prompt plus the current image as context. **+7% average relative improvement over single-pass generation** on dense infographic tasks (UltraTextBench).\n- **Scaled multi-expert RL** — aesthetic reward models, interleaved self-correction and multiple reward signals across content-specific experts, consolidated into one model through multi-expert on-policy distillation (MOPD).\n\n## Reference images\n\n- **Load Source Image** feeds the reference. It is scaled to **4 megapixels** (the range the model was trained at), then padded to a multiple of 32.\n- **Output size follows the source**, so the edit keeps the original aspect ratio and framing.\n- The reference node exposes **up to 100 image sockets** (`image_1 … image_100`), used in numeric order and split per image if you pass a batch. **1–4 references** is the useful range in practice; each one costs vision tokens and memory.\n- **ImageCompare** shows the source and the result side by side.\n\n## Two pipelines in this workflow\n\n| Pipeline | What it does | Best for |\n| --- | --- | --- |\n| **Option 1 · Base pipeline** | Single edit pass over the reference image. | Lighting, time of day, mood, material and color changes |\n| **Option 2 · Self-correction pipeline** | Edit → review → refine loop (up to 5 passes), then decode. | Editing infographics, posters and layouts that carry text |\n\n## Sampling settings\n\n| Mode | Steps | CFG |\n| --- | --- | --- |\n| **Turbo** (8-step LoRA) | 8 | 1.0 |\n| **Quality** (no LoRA) | 50 | 4.0 |\n\n- **Turbo Mode?** — toggles the 8-step LoRA. Keep it on while you iterate; turn it off for maximum text fidelity and fine detail.\n- **Self-Correction** — adds the review/refine loop. On by default here; turn it off for plain lighting or colour edits to save passes.\n- **Enable PE** — prompt rewriter for editing: a Qwen3.5-9B PE text encoder reads the source image together with your short instruction and expands it into an executable edit prompt.\n"
2137 ],
2138 "widgets_values_named": {
2139 "text": "# SenseNova-U1.6 · Image to Image\n\nSenseNova-U1.6 is a unified multimodal model that combines visual understanding with image generation in a single 8B `mot` backbone. It targets the work where accuracy and beauty both matter — portraits, posters, illustrations and infographics — and it can review its own output and fix text errors before returning the final image.\n\nIn this workflow the model works from a reference image: your source image is attached as a reference, and the prompt describes the change you want. Because understanding and generation live in one model, it reads the source, reworks it, and outputs an edit at the source's own resolution.\n\n## Highlights\n\n- **Refined aesthetics** — genre-specific aesthetic reward models drive feedback for portraits and photoreal scenes (realism, texture, lighting), artistic work (creativity, style) and infographics (text, layout, composition). **+10% overall aesthetic quality over U1.5** in subjective user evaluations.\n- **Autonomous self-correction** — after the first pass the model checks the image against the prompt, flags blurred or garbled text, typos, misspellings and wrong numbering, then regenerates from the original prompt plus the current image as context. **+7% average relative improvement over single-pass generation** on dense infographic tasks (UltraTextBench).\n- **Scaled multi-expert RL** — aesthetic reward models, interleaved self-correction and multiple reward signals across content-specific experts, consolidated into one model through multi-expert on-policy distillation (MOPD).\n\n## Reference images\n\n- **Load Source Image** feeds the reference. It is scaled to **4 megapixels** (the range the model was trained at), then padded to a multiple of 32.\n- **Output size follows the source**, so the edit keeps the original aspect ratio and framing.\n- The reference node exposes **up to 100 image sockets** (`image_1 … image_100`), used in numeric order and split per image if you pass a batch. **1–4 references** is the useful range in practice; each one costs vision tokens and memory.\n- **ImageCompare** shows the source and the result side by side.\n\n## Two pipelines in this workflow\n\n| Pipeline | What it does | Best for |\n| --- | --- | --- |\n| **Option 1 · Base pipeline** | Single edit pass over the reference image. | Lighting, time of day, mood, material and color changes |\n| **Option 2 · Self-correction pipeline** | Edit → review → refine loop (up to 5 passes), then decode. | Editing infographics, posters and layouts that carry text |\n\n## Sampling settings\n\n| Mode | Steps | CFG |\n| --- | --- | --- |\n| **Turbo** (8-step LoRA) | 8 | 1.0 |\n| **Quality** (no LoRA) | 50 | 4.0 |\n\n- **Turbo Mode?** — toggles the 8-step LoRA. Keep it on while you iterate; turn it off for maximum text fidelity and fine detail.\n- **Self-Correction** — adds the review/refine loop. On by default here; turn it off for plain lighting or colour edits to save passes.\n- **Enable PE** — prompt rewriter for editing: a Qwen3.5-9B PE text encoder reads the source image together with your short instruction and expands it into an executable edit prompt.\n"
2140 },
2141 "color": "#222",
2142 "bgcolor": "#000"
2143 },
2144 {
2145 "id": 67,
2146 "type": "KSampler",
2147 "pos": [
2148 2100,
2149 -2260
2150 ],
2151 "size": [
2152 290,
2153 480
2154 ],
2155 "flags": [],
2156 "order": 32,
2157 "mode": 0,
2158 "inputs": [
2159 {
2160 "name": "model",
2161 "type": "MODEL",
2162 "link": 153
2163 },
2164 {
2165 "name": "positive",
2166 "type": "CONDITIONING",
2167 "link": 158
2168 },
2169 {
2170 "name": "negative",
2171 "type": "CONDITIONING",
2172 "link": 159
2173 },
2174 {
2175 "name": "latent_image",
2176 "type": "LATENT",
2177 "link": 115
2178 },
2179 {
2180 "name": "steps",
2181 "type": "INT",
2182 "widget": {
2183 "name": "steps"
2184 },
2185 "link": 112
2186 },
2187 {
2188 "name": "cfg",
2189 "type": "FLOAT",
2190 "widget": {
2191 "name": "cfg"
2192 },
2193 "link": 113
2194 }
2195 ],
2196 "outputs": [
2197 {
2198 "name": "LATENT",
2199 "type": "LATENT",
2200 "slot_index": 0,
2201 "links": [
2202 118
2203 ]
2204 }
2205 ],
2206 "properties": {
2207 "Node name for S&R": "KSampler"
2208 },
2209 "widgets_values": [
2210 42,
2211 "fixed",
2212 8,
2213 1,
2214 "euler",
2215 "simple",
2216 1
2217 ],
2218 "widgets_values_named": {
2219 "seed": 42,
2220 "control_after_generate": "fixed",
2221 "steps": 8,
2222 "cfg": 1,
2223 "sampler_name": "euler",
2224 "scheduler": "simple",
2225 "denoise": 1
2226 }
2227 },
2228 {
2229 "id": 69,
2230 "type": "VAEDecode",
2231 "pos": [
2232 2450,
2233 -2260
2234 ],
2235 "size": [
2236 140,
2237 50
2238 ],
2239 "flags": [],
2240 "order": 37,
2241 "mode": 0,
2242 "inputs": [
2243 {
2244 "name": "samples",
2245 "type": "LATENT",
2246 "link": 118
2247 },
2248 {
2249 "name": "vae",
2250 "type": "VAE",
2251 "link": 119
2252 }
2253 ],
2254 "outputs": [
2255 {
2256 "name": "IMAGE",
2257 "type": "IMAGE",
2258 "links": [
2259 127
2260 ]
2261 }
2262 ],
2263 "properties": {
2264 "Node name for S&R": "VAEDecode"
2265 }
2266 },
2267 {
2268 "id": 74,
2269 "type": "ComfySwitchNode",
2270 "pos": [
2271 2880,
2272 -2260
2273 ],
2274 "size": [
2275 270,
2276 80
2277 ],
2278 "flags": [],
2279 "order": 48,
2280 "mode": 0,
2281 "inputs": [
2282 {
2283 "name": "on_false",
2284 "shape": 7,
2285 "type": "IMAGE",
2286 "link": 127
2287 },
2288 {
2289 "name": "on_true",
2290 "shape": 7,
2291 "type": "IMAGE",
2292 "link": 126
2293 },
2294 {
2295 "name": "switch",
2296 "type": "BOOLEAN",
2297 "widget": {
2298 "name": "switch"
2299 },
2300 "link": 129
2301 }
2302 ],
2303 "outputs": [
2304 {
2305 "name": "output",
2306 "type": "IMAGE",
2307 "links": [
2308 128
2309 ]
2310 }
2311 ],
2312 "properties": {
2313 "Node name for S&R": "ComfySwitchNode"
2314 },
2315 "widgets_values": [
2316 false
2317 ],
2318 "widgets_values_named": {
2319 "switch": false
2320 }
2321 },
2322 {
2323 "id": 75,
2324 "type": "PrimitiveBoolean",
2325 "pos": [
2326 -280,
2327 -860
2328 ],
2329 "size": [
2330 270,
2331 60
2332 ],
2333 "flags": [],
2334 "order": 13,
2335 "mode": 0,
2336 "inputs": [],
2337 "outputs": [
2338 {
2339 "name": "BOOLEAN",
2340 "type": "BOOLEAN",
2341 "links": [
2342 129
2343 ]
2344 }
2345 ],
2346 "title": "Boolean (Self-Correction)",
2347 "properties": {
2348 "Node name for S&R": "PrimitiveBoolean"
2349 },
2350 "widgets_values": [
2351 true
2352 ],
2353 "widgets_values_named": {
2354 "value": true
2355 }
2356 },
2357 {
2358 "id": 79,
2359 "type": "LoadImage",
2360 "pos": [
2361 -1530,
2362 -1420
2363 ],
2364 "size": [
2365 390,
2366 580
2367 ],
2368 "flags": [],
2369 "order": 14,
2370 "mode": 0,
2371 "inputs": [],
2372 "outputs": [
2373 {
2374 "name": "IMAGE",
2375 "type": "IMAGE",
2376 "links": [
2377 136
2378 ]
2379 },
2380 {
2381 "name": "MASK",
2382 "type": "MASK",
2383 "links": null
2384 }
2385 ],
2386 "properties": {
2387 "Node name for S&R": "LoadImage"
2388 },
2389 "widgets_values": [
2390 "sensenova_u16_edit_women_in_car.png",
2391 "image"
2392 ],
2393 "widgets_values_named": {
2394 "image": "sensenova_u16_edit_women_in_car.png",
2395 "upload": "image"
2396 }
2397 },
2398 {
2399 "id": 80,
2400 "type": "ResizeImageMaskNode",
2401 "pos": [
2402 -1530,
2403 -770
2404 ],
2405 "size": [
2406 280,
2407 150
2408 ],
2409 "flags": [],
2410 "order": 19,
2411 "mode": 0,
2412 "inputs": [
2413 {
2414 "name": "input",
2415 "type": "IMAGE,MASK",
2416 "link": 136
2417 }
2418 ],
2419 "outputs": [
2420 {
2421 "name": "resized",
2422 "type": "IMAGE",
2423 "links": [
2424 137
2425 ]
2426 }
2427 ],
2428 "properties": {
2429 "Node name for S&R": "ResizeImageMaskNode"
2430 },
2431 "widgets_values": [
2432 "scale total pixels",
2433 4,
2434 "area"
2435 ],
2436 "widgets_values_named": {
2437 "resize_type": "scale total pixels",
2438 "resize_type.megapixels": 4,
2439 "scale_method": "area"
2440 }
2441 },
2442 {
2443 "id": 81,
2444 "type": "ResizeImageMaskNode",
2445 "pos": [
2446 -1080,
2447 -770
2448 ],
2449 "size": [
2450 290,
2451 150
2452 ],
2453 "flags": [],
2454 "order": 21,
2455 "mode": 0,
2456 "inputs": [
2457 {
2458 "name": "input",
2459 "type": "IMAGE,MASK",
2460 "link": 137
2461 }
2462 ],
2463 "outputs": [
2464 {
2465 "name": "resized",
2466 "type": "IMAGE",
2467 "links": [
2468 138,
2469 141,
2470 145,
2471 146
2472 ]
2473 }
2474 ],
2475 "properties": {
2476 "Node name for S&R": "ResizeImageMaskNode"
2477 },
2478 "widgets_values": [
2479 "scale to multiple",
2480 32,
2481 "lanczos"
2482 ],
2483 "widgets_values_named": {
2484 "resize_type": "scale to multiple",
2485 "resize_type.multiple": 32,
2486 "scale_method": "lanczos"
2487 }
2488 },
2489 {
2490 "id": 82,
2491 "type": "GetImageSize",
2492 "pos": [
2493 -620,
2494 -1390
2495 ],
2496 "size": [
2497 140,
2498 70
2499 ],
2500 "flags": [],
2501 "order": 22,
2502 "mode": 0,
2503 "inputs": [
2504 {
2505 "name": "image",
2506 "type": "IMAGE",
2507 "link": 138
2508 }
2509 ],
2510 "outputs": [
2511 {
2512 "name": "width",
2513 "type": "INT",
2514 "links": [
2515 139
2516 ]
2517 },
2518 {
2519 "name": "height",
2520 "type": "INT",
2521 "links": [
2522 140
2523 ]
2524 },
2525 {
2526 "name": "batch_size",
2527 "type": "INT",
2528 "links": null
2529 }
2530 ],
2531 "properties": {
2532 "Node name for S&R": "GetImageSize"
2533 }
2534 },
2535 {
2536 "id": 83,
2537 "type": "ImageCompare",
2538 "pos": [
2539 2890,
2540 -1280
2541 ],
2542 "size": [
2543 1520,
2544 710
2545 ],
2546 "flags": [],
2547 "order": 50,
2548 "mode": 0,
2549 "inputs": [
2550 {
2551 "name": "image_a",
2552 "shape": 7,
2553 "type": "IMAGE",
2554 "link": 145
2555 },
2556 {
2557 "name": "image_b",
2558 "shape": 7,
2559 "type": "IMAGE",
2560 "link": 144
2561 }
2562 ],
2563 "outputs": [],
2564 "properties": {
2565 "Node name for S&R": "ImageCompare"
2566 },
2567 "widgets_values": [],
2568 "widgets_values_named": []
2569 },
2570 {
2571 "id": 85,
2572 "type": "SenseNovaConditioning",
2573 "pos": [
2574 1690,
2575 -2240
2576 ],
2577 "size": [
2578 340,
2579 150
2580 ],
2581 "flags": [],
2582 "order": 30,
2583 "mode": 0,
2584 "inputs": [
2585 {
2586 "name": "conditioning",
2587 "type": "CONDITIONING",
2588 "link": 160
2589 },
2590 {
2591 "name": "clip",
2592 "shape": 7,
2593 "type": "CLIP",
2594 "link": 162
2595 },
2596 {
2597 "name": "negative",
2598 "shape": 7,
2599 "type": "CONDITIONING",
2600 "link": 161
2601 }
2602 ],
2603 "outputs": [
2604 {
2605 "name": "conditioning",
2606 "type": "CONDITIONING",
2607 "slot_index": 0,
2608 "links": [
2609 158
2610 ]
2611 },
2612 {
2613 "name": "generated_text",
2614 "type": "STRING",
2615 "slot_index": 1,
2616 "links": []
2617 },
2618 {
2619 "name": "negative",
2620 "type": "CONDITIONING",
2621 "slot_index": 2,
2622 "links": [
2623 159
2624 ]
2625 },
2626 {
2627 "name": "image_requested",
2628 "type": "BOOLEAN",
2629 "slot_index": 3,
2630 "links": []
2631 }
2632 ],
2633 "properties": {
2634 "Node name for S&R": "SenseNovaConditioning"
2635 },
2636 "widgets_values": [
2637 "image",
2638 1024
2639 ],
2640 "widgets_values_named": {
2641 "task": "image",
2642 "max_tokens": 1024
2643 },
2644 "color": "#432",
2645 "bgcolor": "#653"
2646 }
2647 ],
2648 "links": [
2649 [
2650 2,
2651 1,
2652 1,
2653 4,
2654 0,
2655 "CLIP"
2656 ],
2657 [
2658 3,
2659 1,
2660 1,
2661 5,
2662 0,
2663 "CLIP"
2664 ],
2665 [
2666 7,
2667 9,
2668 4,
2669 10,
2670 0,
2671 "*"
2672 ],
2673 [
2674 8,
2675 9,
2676 4,
2677 11,
2678 0,
2679 "*"
2680 ],
2681 [
2682 9,
2683 9,
2684 4,
2685 12,
2686 0,
2687 "*"
2688 ],
2689 [
2690 19,
2691 14,
2692 0,
2693 16,
2694 1,
2695 "CONDITIONING"
2696 ],
2697 [
2698 20,
2699 14,
2700 2,
2701 16,
2702 2,
2703 "CONDITIONING"
2704 ],
2705 [
2706 21,
2707 6,
2708 0,
2709 16,
2710 3,
2711 "LATENT"
2712 ],
2713 [
2714 22,
2715 15,
2716 1,
2717 16,
2718 4,
2719 "INT"
2720 ],
2721 [
2722 28,
2723 14,
2724 1,
2725 19,
2726 0,
2727 "*"
2728 ],
2729 [
2730 32,
2731 20,
2732 0,
2733 21,
2734 0,
2735 "*"
2736 ],
2737 [
2738 33,
2739 20,
2740 0,
2741 22,
2742 0,
2743 "*"
2744 ],
2745 [
2746 34,
2747 1,
2748 1,
2749 23,
2750 0,
2751 "CLIP"
2752 ],
2753 [
2754 35,
2755 21,
2756 0,
2757 23,
2758 1,
2759 "CONDITIONING"
2760 ],
2761 [
2762 36,
2763 22,
2764 0,
2765 23,
2766 2,
2767 "LATENT"
2768 ],
2769 [
2770 40,
2771 1,
2772 0,
2773 27,
2774 0,
2775 "MODEL"
2776 ],
2777 [
2778 57,
2779 37,
2780 0,
2781 40,
2782 0,
2783 "FLOAT"
2784 ],
2785 [
2786 58,
2787 38,
2788 0,
2789 40,
2790 1,
2791 "FLOAT"
2792 ],
2793 [
2794 59,
2795 34,
2796 0,
2797 40,
2798 2,
2799 "BOOLEAN"
2800 ],
2801 [
2802 60,
2803 34,
2804 0,
2805 41,
2806 2,
2807 "BOOLEAN"
2808 ],
2809 [
2810 61,
2811 1,
2812 0,
2813 41,
2814 0,
2815 "MODEL"
2816 ],
2817 [
2818 62,
2819 27,
2820 0,
2821 41,
2822 1,
2823 "MODEL"
2824 ],
2825 [
2826 65,
2827 40,
2828 0,
2829 16,
2830 6,
2831 "FLOAT"
2832 ],
2833 [
2834 73,
2835 16,
2836 0,
2837 45,
2838 1,
2839 "LATENT"
2840 ],
2841 [
2842 74,
2843 14,
2844 3,
2845 45,
2846 2,
2847 "BOOLEAN"
2848 ],
2849 [
2850 81,
2851 36,
2852 0,
2853 47,
2854 0,
2855 "INT"
2856 ],
2857 [
2858 82,
2859 35,
2860 0,
2861 47,
2862 1,
2863 "INT"
2864 ],
2865 [
2866 83,
2867 34,
2868 0,
2869 47,
2870 2,
2871 "BOOLEAN"
2872 ],
2873 [
2874 84,
2875 47,
2876 0,
2877 16,
2878 5,
2879 "INT"
2880 ],
2881 [
2882 85,
2883 12,
2884 0,
2885 48,
2886 0,
2887 "*"
2888 ],
2889 [
2890 86,
2891 9,
2892 1,
2893 48,
2894 2,
2895 "BOOLEAN"
2896 ],
2897 [
2898 97,
2899 54,
2900 0,
2901 4,
2902 1,
2903 "STRING"
2904 ],
2905 [
2906 106,
2907 60,
2908 0,
2909 61,
2910 2,
2911 "BOOLEAN"
2912 ],
2913 [
2914 107,
2915 64,
2916 0,
2917 61,
2918 0,
2919 "STRING"
2920 ],
2921 [
2922 108,
2923 57,
2924 0,
2925 61,
2926 1,
2927 "STRING"
2928 ],
2929 [
2930 109,
2931 61,
2932 0,
2933 54,
2934 0,
2935 "STRING"
2936 ],
2937 [
2938 115,
2939 6,
2940 0,
2941 67,
2942 3,
2943 "LATENT"
2944 ],
2945 [
2946 118,
2947 67,
2948 0,
2949 69,
2950 0,
2951 "LATENT"
2952 ],
2953 [
2954 119,
2955 1,
2956 2,
2957 69,
2958 1,
2959 "VAE"
2960 ],
2961 [
2962 126,
2963 23,
2964 1,
2965 74,
2966 1,
2967 "IMAGE"
2968 ],
2969 [
2970 127,
2971 69,
2972 0,
2973 74,
2974 0,
2975 "IMAGE"
2976 ],
2977 [
2978 128,
2979 74,
2980 0,
2981 24,
2982 0,
2983 "IMAGE"
2984 ],
2985 [
2986 129,
2987 75,
2988 0,
2989 74,
2990 2,
2991 "BOOLEAN"
2992 ],
2993 [
2994 138,
2995 81,
2996 0,
2997 82,
2998 0,
2999 "IMAGE"
3000 ],
3001 [
3002 139,
3003 82,
3004 0,
3005 6,
3006 0,
3007 "INT"
3008 ],
3009 [
3010 140,
3011 82,
3012 1,
3013 6,
3014 1,
3015 "INT"
3016 ],
3017 [
3018 144,
3019 24,
3020 0,
3021 83,
3022 1,
3023 "IMAGE"
3024 ],
3025 [
3026 145,
3027 81,
3028 0,
3029 83,
3030 0,
3031 "IMAGE"
3032 ],
3033 [
3034 152,
3035 41,
3036 0,
3037 16,
3038 0,
3039 "MODEL"
3040 ],
3041 [
3042 153,
3043 41,
3044 0,
3045 67,
3046 0,
3047 "MODEL"
3048 ],
3049 [
3050 158,
3051 85,
3052 0,
3053 67,
3054 1,
3055 "CONDITIONING"
3056 ],
3057 [
3058 159,
3059 85,
3060 2,
3061 67,
3062 2,
3063 "CONDITIONING"
3064 ],
3065 [
3066 70,
3067 44,
3068 0,
3069 9,
3070 1,
3071 "*"
3072 ],
3073 [
3074 12,
3075 10,
3076 0,
3077 14,
3078 0,
3079 "CONDITIONING"
3080 ],
3081 [
3082 14,
3083 1,
3084 1,
3085 14,
3086 1,
3087 "CLIP"
3088 ],
3089 [
3090 15,
3091 11,
3092 0,
3093 14,
3094 2,
3095 "CONDITIONING"
3096 ],
3097 [
3098 87,
3099 48,
3100 0,
3101 14,
3102 3,
3103 "LATENT"
3104 ],
3105 [
3106 16,
3107 9,
3108 0,
3109 15,
3110 0,
3111 "FLOAT,INT,BOOLEAN"
3112 ],
3113 [
3114 17,
3115 7,
3116 0,
3117 15,
3118 1,
3119 "FLOAT,INT,BOOLEAN"
3120 ],
3121 [
3122 79,
3123 46,
3124 0,
3125 20,
3126 0,
3127 "*"
3128 ],
3129 [
3130 80,
3131 46,
3132 0,
3133 20,
3134 1,
3135 "*"
3136 ],
3137 [
3138 31,
3139 19,
3140 0,
3141 20,
3142 2,
3143 "*"
3144 ],
3145 [
3146 43,
3147 4,
3148 0,
3149 29,
3150 0,
3151 "CONDITIONING"
3152 ],
3153 [
3154 44,
3155 5,
3156 0,
3157 29,
3158 1,
3159 "CONDITIONING"
3160 ],
3161 [
3162 141,
3163 81,
3164 0,
3165 29,
3166 2,
3167 "IMAGE"
3168 ],
3169 [
3170 71,
3171 29,
3172 0,
3173 44,
3174 0,
3175 "CONDITIONING"
3176 ],
3177 [
3178 72,
3179 29,
3180 1,
3181 44,
3182 1,
3183 "CONDITIONING"
3184 ],
3185 [
3186 76,
3187 14,
3188 0,
3189 46,
3190 0,
3191 "CONDITIONING"
3192 ],
3193 [
3194 77,
3195 14,
3196 2,
3197 46,
3198 1,
3199 "CONDITIONING"
3200 ],
3201 [
3202 78,
3203 45,
3204 0,
3205 46,
3206 2,
3207 "LATENT"
3208 ],
3209 [
3210 100,
3211 55,
3212 0,
3213 57,
3214 0,
3215 "CLIP"
3216 ],
3217 [
3218 146,
3219 81,
3220 0,
3221 57,
3222 1,
3223 "IMAGE"
3224 ],
3225 [
3226 134,
3227 53,
3228 0,
3229 57,
3230 7,
3231 "STRING"
3232 ],
3233 [
3234 110,
3235 64,
3236 0,
3237 57,
3238 8,
3239 "STRING"
3240 ],
3241 [
3242 136,
3243 79,
3244 0,
3245 80,
3246 0,
3247 "IMAGE"
3248 ],
3249 [
3250 137,
3251 80,
3252 0,
3253 81,
3254 0,
3255 "IMAGE"
3256 ],
3257 [
3258 160,
3259 29,
3260 0,
3261 85,
3262 0,
3263 "CONDITIONING"
3264 ],
3265 [
3266 162,
3267 1,
3268 1,
3269 85,
3270 1,
3271 "CLIP"
3272 ],
3273 [
3274 161,
3275 29,
3276 1,
3277 85,
3278 2,
3279 "CONDITIONING"
3280 ],
3281 [
3282 112,
3283 47,
3284 0,
3285 67,
3286 4,
3287 "INT"
3288 ],
3289 [
3290 113,
3291 40,
3292 0,
3293 67,
3294 5,
3295 "FLOAT"
3296 ]
3297 ],
3298 "groups": [
3299 {
3300 "id": 2,
3301 "title": "Models",
3302 "bounding": [
3303 -2230,
3304 -1510,
3305 630,
3306 1010
3307 ],
3308 "color": "#A88",
3309 "flags": []
3310 },
3311 {
3312 "id": 3,
3313 "title": "Prompt",
3314 "bounding": [
3315 -580,
3316 -2360,
3317 630,
3318 820
3319 ],
3320 "color": "#444",
3321 "flags": []
3322 },
3323 {
3324 "id": 6,
3325 "title": "Sampling Settings",
3326 "bounding": [
3327 110,
3328 -2360,
3329 1500,
3330 680
3331 ],
3332 "color": "#444",
3333 "flags": []
3334 },
3335 {
3336 "id": 4,
3337 "title": "Bas Settings",
3338 "bounding": [
3339 160,
3340 -2310,
3341 400,
3342 350
3343 ],
3344 "color": "#444",
3345 "flags": []
3346 },
3347 {
3348 "id": 5,
3349 "title": "Turbo Settings",
3350 "bounding": [
3351 680,
3352 -2310,
3353 370,
3354 350
3355 ],
3356 "color": "#444",
3357 "flags": []
3358 },
3359 {
3360 "id": 7,
3361 "title": "User Inputs (Up to 5 reference images)",
3362 "bounding": [
3363 -1570,
3364 -1510,
3365 1620,
3366 1010
3367 ],
3368 "color": "#A88",
3369 "flags": []
3370 },
3371 {
3372 "id": 8,
3373 "title": "Loop Setup >>>",
3374 "bounding": [
3375 120,
3376 -1600,
3377 520,
3378 1100
3379 ],
3380 "color": "#3f789e",
3381 "flags": []
3382 },
3383 {
3384 "id": 9,
3385 "title": "Self-Correction Loop",
3386 "bounding": [
3387 670,
3388 -1600,
3389 1580,
3390 1100
3391 ],
3392 "color": "#444",
3393 "flags": []
3394 },
3395 {
3396 "id": 10,
3397 "title": "<<< Loop End & Output",
3398 "bounding": [
3399 2280,
3400 -1600,
3401 520,
3402 1100
3403 ],
3404 "color": "#3f789e",
3405 "flags": []
3406 },
3407 {
3408 "id": 11,
3409 "title": "Prompt Rewriter",
3410 "bounding": [
3411 -2230,
3412 -2360,
3413 1620,
3414 820
3415 ],
3416 "color": "#444",
3417 "flags": []
3418 },
3419 {
3420 "id": 12,
3421 "title": "Option 1: Base Pipeline",
3422 "bounding": [
3423 1650,
3424 -2360,
3425 1150,
3426 670
3427 ],
3428 "color": "#3f789e",
3429 "flags": []
3430 },
3431 {
3432 "id": 15,
3433 "title": "Option 2 · Self-Correction Pipeline",
3434 "bounding": [
3435 110,
3436 -1640,
3437 2700,
3438 1150
3439 ],
3440 "color": "#444",
3441 "flags": []
3442 },
3443 {
3444 "id": 16,
3445 "title": "Output",
3446 "bounding": [
3447 2840,
3448 -2360,
3449 1610,
3450 1860
3451 ],
3452 "color": "#3f789e",
3453 "flags": []
3454 },
3455 {
3456 "id": 17,
3457 "title": "Feature flags",
3458 "bounding": [
3459 -290,
3460 -1190,
3461 290,
3462 435.953125
3463 ],
3464 "color": "#444",
3465 "flags": []
3466 }
3467 ],
3468 "config": [],
3469 "extra": {
3470 "ds": {
3471 "scale": 0.5644739300537773,
3472 "offset": [
3473 4676.65889030492,
3474 2864.5009112145935
3475 ]
3476 },
3477 "frontendVersion": "1.59.6",
3478 "VHS_latentpreview": false,
3479 "VHS_latentpreviewrate": 0,
3480 "VHS_MetadataImage": true,
3481 "VHS_KeepIntermediate": true,
3482 "linkPresentation": {
3483 "2": {
3484 "hidden": true
3485 },
3486 "3": {
3487 "hidden": true
3488 },
3489 "14": {
3490 "hidden": true
3491 },
3492 "21": {
3493 "hidden": true
3494 },
3495 "34": {
3496 "hidden": true
3497 },
3498 "43": {
3499 "hidden": true,
3500 "label": "positive"
3501 },
3502 "44": {
3503 "hidden": true,
3504 "label": "negative"
3505 },
3506 "59": {
3507 "hidden": true
3508 },
3509 "60": {
3510 "hidden": true
3511 },
3512 "61": {
3513 "hidden": true,
3514 "label": "base_model"
3515 },
3516 "62": {
3517 "hidden": true,
3518 "label": "turbo_lora"
3519 },
3520 "65": {
3521 "hidden": true,
3522 "label": "cfg"
3523 },
3524 "83": {
3525 "hidden": true
3526 },
3527 "84": {
3528 "hidden": true,
3529 "label": "steps"
3530 },
3531 "106": {
3532 "hidden": true,
3533 "label": "PE"
3534 },
3535 "107": {
3536 "hidden": true,
3537 "label": "user_prompt"
3538 },
3539 "110": {
3540 "hidden": true,
3541 "label": "user_prompt"
3542 },
3543 "112": {
3544 "hidden": true,
3545 "label": "steps"
3546 },
3547 "113": {
3548 "hidden": true,
3549 "label": "cfg"
3550 },
3551 "115": {
3552 "hidden": true
3553 },
3554 "119": {
3555 "hidden": true
3556 },
3557 "129": {
3558 "hidden": true,
3559 "label": "Self-Correction"
3560 },
3561 "162": {
3562 "hidden": true
3563 }
3564 }
3565 },
3566 "version": 0.4
3567}