工作流 /
图像 /
minimax_h3_image_edit

minimax_h3_image_edit
minimax_h3_image_edit
MiniMax H3 Image Edit workflow
图像
60 个节点 8 次使用 mo_akkakk 133 KB
需要的权重
这个工作流引用了 1 个权重文件,其中 0 个能在本站模型库里找到。
minimax_h3_image_edit.json
模型库暂未收录
节点构成
GetNode
× 16
SetNode
× 14
LoadImage
× 3
PrimitiveStringMultiline
× 3
CLIPLoader
× 2
ImageResizeKJv2
× 2
PreviewImage
× 2
ImageScaleToTotalPixels
× 2
UNETLoader
× 1
VAELoader
× 1
KSampler
× 1
VAEDecode
× 1
Image Comparer (rgthree)
× 1
ab33767c-6c5c-4049-8ef4-bac6fd1e48ef
× 1
8b39ca7b-764d-4663-81f9-3c4584fc0ae3
× 1
GetImageSize
× 1
官方标注的模型
fibo2_edit_turbo_int8_convrot.safetensorsflux2-vae.safetensorsminimax_h3_image_pruned_int8_convrot.safetensorsminimax_h3_image_vae_fp16.safetensorsqwen3.5_9b_w4a8_gptq.safetensorsqwen3vl_32b_minimax_h3_nvfp4_awq.safetensorsqwen3vl_4b_bf16.safetensorstaeh3.safetensors
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "af221260-b5b0-4ee1-a086-6761cf5ba394",
3 "revision": 0,
4 "last_node_id": 936,
5 "last_link_id": 6865,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "UNETLoader",
10 "pos": [
11 5050,
12 -1520
13 ],
14 "size": [
15 400,
16 90
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [
22 {
23 "localized_name": "unet_name",
24 "name": "unet_name",
25 "type": "COMBO",
26 "widget": {
27 "name": "unet_name"
28 },
29 "link": null
30 },
31 {
32 "localized_name": "weight_dtype",
33 "name": "weight_dtype",
34 "type": "COMBO",
35 "widget": {
36 "name": "weight_dtype"
37 },
38 "link": null
39 }
40 ],
41 "outputs": [
42 {
43 "color_off": null,
44 "color_on": null,
45 "dir": null,
46 "label": null,
47 "localized_name": "MODEL",
48 "locked": null,
49 "name": "MODEL",
50 "nameLocked": null,
51 "removable": null,
52 "type": "MODEL",
53 "pos": null,
54 "slot_index": null,
55 "links": [
56 50
57 ]
58 }
59 ],
60 "properties": {
61 "cnr_id": "comfy-core",
62 "ver": "0.44.0",
63 "Node name for S&R": "UNETLoader",
64 "models": [
65 {
66 "name": "fibo2_edit_turbo_int8_convrot.safetensors",
67 "url": "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/diffusion_models/fibo2_edit_turbo_int8_convrot.safetensors",
68 "hash": "1f6fa7c499191f405467123f655f11762661eaa5bd479d1da8f161398ef72c3b",
69 "hash_type": "SHA256",
70 "directory": "diffusion_models"
71 }
72 ],
73 "ue_properties": {
74 "widget_ue_connectable": [],
75 "version": "7.8",
76 "input_ue_unconnectable": []
77 }
78 },
79 "widgets_values": [
80 "Minimax\\minimax_h3_image_pruned_int8_convrot.safetensors",
81 "default"
82 ],
83 "widgets_values_named": {
84 "unet_name": "Minimax\\minimax_h3_image_pruned_int8_convrot.safetensors",
85 "weight_dtype": "default"
86 },
87 "ndSuperSelectorEnabled": false,
88 "ndPowerEnabled": false,
89 "extensions": {
90 "ndSuperSelectorEnabled": false,
91 "ndPowerEnabled": false
92 }
93 },
94 {
95 "id": 2,
96 "type": "CLIPLoader",
97 "pos": [
98 5050,
99 -1380
100 ],
101 "size": [
102 400,
103 110
104 ],
105 "flags": [],
106 "order": 1,
107 "mode": 0,
108 "inputs": [
109 {
110 "localized_name": "clip_name",
111 "name": "clip_name",
112 "type": "COMBO",
113 "widget": {
114 "name": "clip_name"
115 },
116 "link": null
117 },
118 {
119 "localized_name": "type",
120 "name": "type",
121 "type": "COMBO",
122 "widget": {
123 "name": "type"
124 },
125 "link": null
126 },
127 {
128 "localized_name": "device",
129 "name": "device",
130 "shape": 7,
131 "type": "COMBO",
132 "widget": {
133 "name": "device"
134 },
135 "link": null
136 }
137 ],
138 "outputs": [
139 {
140 "color_off": null,
141 "color_on": null,
142 "dir": null,
143 "label": null,
144 "localized_name": "CLIP",
145 "locked": null,
146 "name": "CLIP",
147 "nameLocked": null,
148 "removable": null,
149 "type": "CLIP",
150 "pos": null,
151 "slot_index": null,
152 "links": [
153 53
154 ]
155 }
156 ],
157 "properties": {
158 "cnr_id": "comfy-core",
159 "ver": "0.44.0",
160 "Node name for S&R": "CLIPLoader",
161 "models": [
162 {
163 "name": "qwen3vl_4b_bf16.safetensors",
164 "url": "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/text_encoders/qwen3vl_4b_bf16.safetensors",
165 "hash": "36f3ff447ef59201722e8f9ce6020c9819fdcfba6aa2608c4e09b1c0ce114e34",
166 "hash_type": "SHA256",
167 "directory": "text_encoders"
168 }
169 ],
170 "ue_properties": {
171 "widget_ue_connectable": [],
172 "version": "7.8",
173 "input_ue_unconnectable": []
174 }
175 },
176 "widgets_values": [
177 "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
178 "minimax",
179 "default"
180 ],
181 "widgets_values_named": {
182 "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
183 "type": "minimax",
184 "device": "default"
185 },
186 "ndSuperSelectorEnabled": false,
187 "ndPowerEnabled": false,
188 "extensions": {
189 "ndSuperSelectorEnabled": false,
190 "ndPowerEnabled": false
191 }
192 },
193 {
194 "id": 3,
195 "type": "VAELoader",
196 "pos": [
197 5050,
198 -1210
199 ],
200 "size": [
201 400,
202 60
203 ],
204 "flags": [],
205 "order": 2,
206 "mode": 0,
207 "inputs": [
208 {
209 "localized_name": "vae_name",
210 "name": "vae_name",
211 "type": "COMBO",
212 "widget": {
213 "name": "vae_name"
214 },
215 "link": null
216 }
217 ],
218 "outputs": [
219 {
220 "color_off": null,
221 "color_on": null,
222 "dir": null,
223 "label": null,
224 "localized_name": "VAE",
225 "locked": null,
226 "name": "VAE",
227 "nameLocked": null,
228 "removable": null,
229 "type": "VAE",
230 "pos": null,
231 "slot_index": null,
232 "links": [
233 48
234 ]
235 }
236 ],
237 "properties": {
238 "cnr_id": "comfy-core",
239 "ver": "0.44.0",
240 "Node name for S&R": "VAELoader",
241 "models": [
242 {
243 "name": "flux2-vae.safetensors",
244 "url": "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/vae/flux2-vae.safetensors",
245 "hash": "868fe7b343cc8f3a19dbcfcafbc3d5f888802be3f89bd81b65b3621a066ce8f3",
246 "hash_type": "SHA256",
247 "directory": "vae"
248 }
249 ],
250 "ue_properties": {
251 "widget_ue_connectable": [],
252 "version": "7.8",
253 "input_ue_unconnectable": []
254 }
255 },
256 "widgets_values": [
257 "minimax_h3_image_vae_fp16.safetensors"
258 ],
259 "widgets_values_named": {
260 "vae_name": "minimax_h3_image_vae_fp16.safetensors"
261 },
262 "ndSuperSelectorEnabled": false,
263 "ndPowerEnabled": false,
264 "extensions": {
265 "ndSuperSelectorEnabled": false,
266 "ndPowerEnabled": false
267 }
268 },
269 {
270 "id": 5,
271 "type": "KSampler",
272 "pos": [
273 8180,
274 -650
275 ],
276 "size": [
277 320,
278 580
279 ],
280 "flags": [],
281 "order": 50,
282 "mode": 0,
283 "inputs": [
284 {
285 "color_off": null,
286 "color_on": null,
287 "dir": null,
288 "label": null,
289 "localized_name": "model",
290 "locked": null,
291 "name": "model",
292 "nameLocked": null,
293 "removable": null,
294 "type": "MODEL",
295 "pos": null,
296 "link": 6838
297 },
298 {
299 "color_off": null,
300 "color_on": null,
301 "dir": null,
302 "label": null,
303 "localized_name": "positive",
304 "locked": null,
305 "name": "positive",
306 "nameLocked": null,
307 "removable": null,
308 "type": "CONDITIONING",
309 "pos": null,
310 "link": 6848
311 },
312 {
313 "color_off": null,
314 "color_on": null,
315 "dir": null,
316 "label": null,
317 "localized_name": "negative",
318 "locked": null,
319 "name": "negative",
320 "nameLocked": null,
321 "removable": null,
322 "type": "CONDITIONING",
323 "pos": null,
324 "link": 6850
325 },
326 {
327 "color_off": null,
328 "color_on": null,
329 "dir": null,
330 "label": null,
331 "localized_name": "latent_image",
332 "locked": null,
333 "name": "latent_image",
334 "nameLocked": null,
335 "removable": null,
336 "type": "LATENT",
337 "pos": null,
338 "link": 6849
339 },
340 {
341 "localized_name": "seed",
342 "name": "seed",
343 "type": "INT",
344 "widget": {
345 "name": "seed"
346 },
347 "link": null
348 },
349 {
350 "localized_name": "steps",
351 "name": "steps",
352 "type": "INT",
353 "widget": {
354 "name": "steps"
355 },
356 "link": null
357 },
358 {
359 "localized_name": "cfg",
360 "name": "cfg",
361 "type": "FLOAT",
362 "widget": {
363 "name": "cfg"
364 },
365 "link": null
366 },
367 {
368 "localized_name": "sampler_name",
369 "name": "sampler_name",
370 "type": "COMBO",
371 "widget": {
372 "name": "sampler_name"
373 },
374 "link": null
375 },
376 {
377 "localized_name": "scheduler",
378 "name": "scheduler",
379 "type": "COMBO",
380 "widget": {
381 "name": "scheduler"
382 },
383 "link": null
384 },
385 {
386 "localized_name": "denoise",
387 "name": "denoise",
388 "type": "FLOAT",
389 "widget": {
390 "name": "denoise"
391 },
392 "link": null
393 }
394 ],
395 "outputs": [
396 {
397 "color_off": null,
398 "color_on": null,
399 "dir": null,
400 "label": null,
401 "localized_name": "LATENT",
402 "locked": null,
403 "name": "LATENT",
404 "nameLocked": null,
405 "removable": null,
406 "type": "LATENT",
407 "pos": null,
408 "slot_index": null,
409 "links": [
410 8
411 ]
412 }
413 ],
414 "properties": {
415 "cnr_id": "comfy-core",
416 "ver": "0.44.0",
417 "Node name for S&R": "KSampler",
418 "ue_properties": {
419 "widget_ue_connectable": [],
420 "version": "7.8",
421 "input_ue_unconnectable": []
422 }
423 },
424 "widgets_values": [
425 1234,
426 "fixed",
427 6,
428 1,
429 "euler",
430 "simple",
431 1
432 ],
433 "widgets_values_named": {
434 "seed": 1234,
435 "control_after_generate": "fixed",
436 "steps": 6,
437 "cfg": 1,
438 "sampler_name": "euler",
439 "scheduler": "simple",
440 "denoise": 1
441 }
442 },
443 {
444 "id": 6,
445 "type": "VAEDecode",
446 "pos": [
447 8670,
448 -650
449 ],
450 "size": [
451 300,
452 50
453 ],
454 "flags": [],
455 "order": 53,
456 "mode": 0,
457 "inputs": [
458 {
459 "color_off": null,
460 "color_on": null,
461 "dir": null,
462 "label": null,
463 "localized_name": "samples",
464 "locked": null,
465 "name": "samples",
466 "nameLocked": null,
467 "removable": null,
468 "type": "LATENT",
469 "pos": null,
470 "link": 8
471 },
472 {
473 "color_off": null,
474 "color_on": null,
475 "dir": null,
476 "label": null,
477 "localized_name": "vae",
478 "locked": null,
479 "name": "vae",
480 "nameLocked": null,
481 "removable": null,
482 "type": "VAE",
483 "pos": null,
484 "link": 49
485 }
486 ],
487 "outputs": [
488 {
489 "color_off": null,
490 "color_on": null,
491 "dir": null,
492 "label": null,
493 "localized_name": "IMAGE",
494 "locked": null,
495 "name": "IMAGE",
496 "nameLocked": null,
497 "removable": null,
498 "type": "IMAGE",
499 "pos": null,
500 "slot_index": null,
501 "links": [
502 6811
503 ]
504 }
505 ],
506 "title": "VAEDecode",
507 "properties": {
508 "cnr_id": "comfy-core",
509 "ver": "0.44.0",
510 "Node name for S&R": "VAEDecode",
511 "ue_properties": {
512 "widget_ue_connectable": [],
513 "version": "7.8",
514 "input_ue_unconnectable": []
515 }
516 }
517 },
518 {
519 "id": 10,
520 "type": "LoadImage",
521 "pos": [
522 5720,
523 -690
524 ],
525 "size": [
526 490,
527 580
528 ],
529 "flags": [],
530 "order": 3,
531 "mode": 0,
532 "inputs": [
533 {
534 "localized_name": "image",
535 "name": "image",
536 "type": "COMBO",
537 "widget": {
538 "name": "image"
539 },
540 "link": null
541 },
542 {
543 "localized_name": "choose file to upload",
544 "name": "upload",
545 "type": "IMAGEUPLOAD",
546 "widget": {
547 "name": "upload"
548 },
549 "link": null
550 }
551 ],
552 "outputs": [
553 {
554 "color_off": null,
555 "color_on": null,
556 "dir": null,
557 "label": null,
558 "localized_name": "IMAGE",
559 "locked": null,
560 "name": "IMAGE",
561 "nameLocked": null,
562 "removable": null,
563 "type": "IMAGE",
564 "pos": null,
565 "slot_index": null,
566 "links": [
567 6802,
568 6804,
569 6813
570 ]
571 },
572 {
573 "color_off": null,
574 "color_on": null,
575 "dir": null,
576 "label": null,
577 "localized_name": "MASK",
578 "locked": null,
579 "name": "MASK",
580 "nameLocked": null,
581 "removable": null,
582 "type": "MASK",
583 "pos": null,
584 "slot_index": null,
585 "links": null
586 }
587 ],
588 "title": "Load Image (source)",
589 "properties": {
590 "cnr_id": "comfy-core",
591 "ver": "0.44.0",
592 "Node name for S&R": "LoadImage",
593 "ue_properties": {
594 "widget_ue_connectable": [],
595 "version": "7.8",
596 "input_ue_unconnectable": []
597 }
598 },
599 "widgets_values": [
600 "0.png",
601 "image"
602 ],
603 "widgets_values_named": {
604 "image": "0.png",
605 "upload": "image"
606 },
607 "ndSuperSelectorEnabled": false,
608 "ndPowerEnabled": false,
609 "extensions": {
610 "ndSuperSelectorEnabled": false,
611 "ndPowerEnabled": false
612 }
613 },
614 {
615 "id": 13,
616 "type": "PrimitiveStringMultiline",
617 "pos": [
618 5810,
619 -1460
620 ],
621 "size": [
622 440,
623 640
624 ],
625 "flags": [],
626 "order": 4,
627 "mode": 0,
628 "inputs": [
629 {
630 "localized_name": "value",
631 "name": "value",
632 "type": "STRING",
633 "widget": {
634 "name": "value"
635 },
636 "link": null
637 }
638 ],
639 "outputs": [
640 {
641 "color_off": null,
642 "color_on": null,
643 "dir": null,
644 "label": null,
645 "localized_name": "STRING",
646 "locked": null,
647 "name": "STRING",
648 "nameLocked": null,
649 "removable": null,
650 "type": "STRING",
651 "pos": null,
652 "slot_index": null,
653 "links": [
654 6818
655 ]
656 }
657 ],
658 "title": "String (User Positive Prompt)",
659 "properties": {
660 "cnr_id": "comfy-core",
661 "ver": "0.44.0",
662 "Node name for S&R": "PrimitiveStringMultiline",
663 "ue_properties": {
664 "widget_ue_connectable": [],
665 "version": "7.8",
666 "input_ue_unconnectable": []
667 }
668 },
669 "widgets_values": [
670 "change painting into hyper realistic style"
671 ],
672 "widgets_values_named": {
673 "value": "change painting into hyper realistic style"
674 },
675 "color": "#232",
676 "bgcolor": "#353"
677 },
678 {
679 "id": 32,
680 "type": "Image Comparer (rgthree)",
681 "pos": [
682 10240,
683 -670
684 ],
685 "size": [
686 770,
687 570
688 ],
689 "flags": [],
690 "order": 59,
691 "mode": 0,
692 "inputs": [
693 {
694 "dir": 3,
695 "name": "image_a",
696 "type": "IMAGE",
697 "link": 6814
698 },
699 {
700 "dir": 3,
701 "name": "image_b",
702 "type": "IMAGE",
703 "link": 6816
704 }
705 ],
706 "outputs": [
707 {
708 "dir": 4,
709 "name": "images",
710 "shape": 3,
711 "type": "IMAGE",
712 "links": null
713 }
714 ],
715 "properties": {
716 "cnr_id": "rgthree-comfy",
717 "ver": "1.0.2608210019",
718 "comparer_mode": "Slide",
719 "ue_properties": {
720 "widget_ue_connectable": [],
721 "input_ue_unconnectable": [],
722 "version": "7.8"
723 }
724 },
725 "widgets_values": [
726 [
727 {
728 "name": "A",
729 "selected": true,
730 "url": "/api/view?filename=rgthree.compare._temp_nglgh_00005_.png&type=temp&subfolder=&rand=0.42563127823827784"
731 },
732 {
733 "name": "B",
734 "selected": true,
735 "url": "/api/view?filename=rgthree.compare._temp_nglgh_00006_.png&type=temp&subfolder=&rand=0.29954268304695353"
736 }
737 ]
738 ],
739 "widgets_values_named": {
740 "rgthree_comparer": {
741 "images": [
742 {
743 "name": "A",
744 "selected": true,
745 "url": "/api/view?filename=rgthree.compare._temp_nglgh_00005_.png&type=temp&subfolder=&rand=0.42563127823827784",
746 "img": []
747 },
748 {
749 "name": "B",
750 "selected": true,
751 "url": "/api/view?filename=rgthree.compare._temp_nglgh_00006_.png&type=temp&subfolder=&rand=0.29954268304695353",
752 "img": []
753 }
754 ]
755 }
756 }
757 },
758 {
759 "id": 33,
760 "type": "SetNode",
761 "pos": [
762 5510,
763 -1180
764 ],
765 "size": [
766 210,
767 60
768 ],
769 "flags": {
770 "collapsed": true
771 },
772 "order": 28,
773 "mode": 0,
774 "inputs": [
775 {
776 "name": "VAE",
777 "type": "VAE",
778 "link": 48
779 }
780 ],
781 "outputs": [
782 {
783 "name": "VAE",
784 "type": "VAE",
785 "links": null
786 }
787 ],
788 "title": "Set_VAE",
789 "properties": {
790 "Node name for S&R": "SetNode",
791 "aux_id": "kijai/ComfyUI-KJNodes",
792 "previousName": "VAE",
793 "ue_properties": {
794 "widget_ue_connectable": [],
795 "version": "7.8",
796 "input_ue_unconnectable": []
797 }
798 },
799 "widgets_values": [
800 "VAE"
801 ],
802 "widgets_values_named": {
803 "Constant": "VAE"
804 },
805 "color": "#322",
806 "bgcolor": "#533"
807 },
808 {
809 "id": 34,
810 "type": "GetNode",
811 "pos": [
812 8520,
813 -600
814 ],
815 "size": [
816 210,
817 60
818 ],
819 "flags": {
820 "collapsed": true
821 },
822 "order": 5,
823 "mode": 0,
824 "inputs": [],
825 "outputs": [
826 {
827 "name": "VAE",
828 "type": "VAE",
829 "links": [
830 49
831 ]
832 }
833 ],
834 "title": "Get_VAE",
835 "properties": {
836 "Node name for S&R": "GetNode",
837 "aux_id": "kijai/ComfyUI-KJNodes",
838 "ue_properties": {
839 "widget_ue_connectable": [],
840 "version": "7.8",
841 "input_ue_unconnectable": []
842 }
843 },
844 "widgets_values": [
845 "VAE"
846 ],
847 "widgets_values_named": {
848 "Constant": "VAE"
849 },
850 "color": "#322",
851 "bgcolor": "#533"
852 },
853 {
854 "id": 35,
855 "type": "SetNode",
856 "pos": [
857 5500,
858 -1490
859 ],
860 "size": [
861 210,
862 60
863 ],
864 "flags": {
865 "collapsed": true
866 },
867 "order": 26,
868 "mode": 0,
869 "inputs": [
870 {
871 "name": "MODEL",
872 "type": "MODEL",
873 "link": 50
874 }
875 ],
876 "outputs": [
877 {
878 "name": "MODEL",
879 "type": "MODEL",
880 "links": null
881 }
882 ],
883 "title": "Set_Model",
884 "properties": {
885 "Node name for S&R": "SetNode",
886 "aux_id": "kijai/ComfyUI-KJNodes",
887 "previousName": "Model",
888 "ue_properties": {
889 "widget_ue_connectable": [],
890 "version": "7.8",
891 "input_ue_unconnectable": []
892 }
893 },
894 "widgets_values": [
895 "Model"
896 ],
897 "widgets_values_named": {
898 "Constant": "Model"
899 },
900 "color": "#223",
901 "bgcolor": "#335"
902 },
903 {
904 "id": 36,
905 "type": "GetNode",
906 "pos": [
907 7990,
908 20
909 ],
910 "size": [
911 210,
912 60
913 ],
914 "flags": {
915 "collapsed": true
916 },
917 "order": 6,
918 "mode": 0,
919 "inputs": [],
920 "outputs": [
921 {
922 "name": "MODEL",
923 "type": "MODEL",
924 "links": [
925 6837
926 ]
927 }
928 ],
929 "title": "Get_Model",
930 "properties": {
931 "Node name for S&R": "GetNode",
932 "aux_id": "kijai/ComfyUI-KJNodes",
933 "ue_properties": {
934 "widget_ue_connectable": [],
935 "version": "7.8",
936 "input_ue_unconnectable": []
937 }
938 },
939 "widgets_values": [
940 "Model"
941 ],
942 "widgets_values_named": {
943 "Constant": "Model"
944 },
945 "color": "#223",
946 "bgcolor": "#335"
947 },
948 {
949 "id": 37,
950 "type": "GetNode",
951 "pos": [
952 7510,
953 -590
954 ],
955 "size": [
956 210,
957 40
958 ],
959 "flags": {
960 "collapsed": true
961 },
962 "order": 7,
963 "mode": 0,
964 "inputs": [],
965 "outputs": [
966 {
967 "name": "VAE",
968 "type": "VAE",
969 "links": [
970 6840
971 ]
972 }
973 ],
974 "title": "Get_VAE",
975 "properties": {
976 "Node name for S&R": "GetNode",
977 "aux_id": "kijai/ComfyUI-KJNodes",
978 "ue_properties": {
979 "widget_ue_connectable": [],
980 "version": "7.8",
981 "input_ue_unconnectable": []
982 }
983 },
984 "widgets_values": [
985 "VAE"
986 ],
987 "widgets_values_named": {
988 "Constant": "VAE"
989 },
990 "color": "#322",
991 "bgcolor": "#533"
992 },
993 {
994 "id": 38,
995 "type": "SetNode",
996 "pos": [
997 5510,
998 -1350
999 ],
1000 "size": [
1001 210,
1002 60
1003 ],
1004 "flags": {
1005 "collapsed": true
1006 },
1007 "order": 27,
1008 "mode": 0,
1009 "inputs": [
1010 {
1011 "name": "CLIP",
1012 "type": "CLIP",
1013 "link": 53
1014 }
1015 ],
1016 "outputs": [
1017 {
1018 "name": "CLIP",
1019 "type": "CLIP",
1020 "links": null
1021 }
1022 ],
1023 "title": "Set_Clip",
1024 "properties": {
1025 "Node name for S&R": "SetNode",
1026 "aux_id": "kijai/ComfyUI-KJNodes",
1027 "previousName": "Clip",
1028 "ue_properties": {
1029 "widget_ue_connectable": [],
1030 "version": "7.8",
1031 "input_ue_unconnectable": []
1032 }
1033 },
1034 "widgets_values": [
1035 "Clip"
1036 ],
1037 "widgets_values_named": {
1038 "Constant": "Clip"
1039 },
1040 "color": "#432",
1041 "bgcolor": "#653"
1042 },
1043 {
1044 "id": 39,
1045 "type": "GetNode",
1046 "pos": [
1047 7510,
1048 -650
1049 ],
1050 "size": [
1051 210,
1052 60
1053 ],
1054 "flags": {
1055 "collapsed": true
1056 },
1057 "order": 8,
1058 "mode": 0,
1059 "inputs": [],
1060 "outputs": [
1061 {
1062 "name": "CLIP",
1063 "type": "CLIP",
1064 "links": [
1065 6839
1066 ]
1067 }
1068 ],
1069 "title": "Get_Clip",
1070 "properties": {
1071 "Node name for S&R": "GetNode",
1072 "aux_id": "kijai/ComfyUI-KJNodes",
1073 "ue_properties": {
1074 "widget_ue_connectable": [],
1075 "version": "7.8",
1076 "input_ue_unconnectable": []
1077 }
1078 },
1079 "widgets_values": [
1080 "Clip"
1081 ],
1082 "widgets_values_named": {
1083 "Constant": "Clip"
1084 },
1085 "color": "#432",
1086 "bgcolor": "#653"
1087 },
1088 {
1089 "id": 884,
1090 "type": "SetNode",
1091 "pos": [
1092 6660,
1093 -590
1094 ],
1095 "size": [
1096 210,
1097 40
1098 ],
1099 "flags": {
1100 "collapsed": true
1101 },
1102 "order": 39,
1103 "mode": 0,
1104 "inputs": [
1105 {
1106 "name": "INT",
1107 "type": "INT",
1108 "link": 6798
1109 }
1110 ],
1111 "outputs": [
1112 {
1113 "name": "INT",
1114 "type": "INT",
1115 "links": []
1116 }
1117 ],
1118 "title": "Set_Original_Height",
1119 "properties": {
1120 "Node name for S&R": "SetNode",
1121 "aux_id": "kijai/ComfyUI-KJNodes",
1122 "previousName": "Original_Height",
1123 "ue_properties": {
1124 "widget_ue_connectable": [],
1125 "version": "7.8",
1126 "input_ue_unconnectable": []
1127 }
1128 },
1129 "widgets_values": [
1130 "Original_Height"
1131 ],
1132 "widgets_values_named": {
1133 "Constant": "Original_Height"
1134 },
1135 "color": "#1b4669",
1136 "bgcolor": "#29699c"
1137 },
1138 {
1139 "id": 885,
1140 "type": "SetNode",
1141 "pos": [
1142 6660,
1143 -640
1144 ],
1145 "size": [
1146 210,
1147 40
1148 ],
1149 "flags": {
1150 "collapsed": true
1151 },
1152 "order": 37,
1153 "mode": 0,
1154 "inputs": [
1155 {
1156 "name": "INT",
1157 "type": "INT",
1158 "link": 6799
1159 }
1160 ],
1161 "outputs": [
1162 {
1163 "name": "INT",
1164 "type": "INT",
1165 "links": []
1166 }
1167 ],
1168 "title": "Set_Original_Width",
1169 "properties": {
1170 "Node name for S&R": "SetNode",
1171 "aux_id": "kijai/ComfyUI-KJNodes",
1172 "previousName": "Original_Width",
1173 "ue_properties": {
1174 "widget_ue_connectable": [],
1175 "version": "7.8",
1176 "input_ue_unconnectable": []
1177 }
1178 },
1179 "widgets_values": [
1180 "Original_Width"
1181 ],
1182 "widgets_values_named": {
1183 "Constant": "Original_Width"
1184 },
1185 "color": "#1b4669",
1186 "bgcolor": "#29699c"
1187 },
1188 {
1189 "id": 886,
1190 "type": "ab33767c-6c5c-4049-8ef4-bac6fd1e48ef",
1191 "pos": [
1192 6620,
1193 -530
1194 ],
1195 "size": [
1196 210,
1197 90
1198 ],
1199 "flags": [],
1200 "order": 38,
1201 "mode": 0,
1202 "inputs": [
1203 {
1204 "localized_name": "a",
1205 "name": "a",
1206 "type": "INT",
1207 "widget": {
1208 "name": "a"
1209 },
1210 "link": 6800
1211 },
1212 {
1213 "name": "multiple",
1214 "type": "INT",
1215 "widget": {
1216 "name": "multiple"
1217 },
1218 "link": null
1219 }
1220 ],
1221 "outputs": [
1222 {
1223 "localized_name": "INT",
1224 "name": "INT",
1225 "type": "INT",
1226 "links": [
1227 6805,
1228 6822
1229 ]
1230 }
1231 ],
1232 "properties": {
1233 "cnr_id": "comfy-core",
1234 "ver": "0.37.0",
1235 "ue_properties": {
1236 "widget_ue_connectable": [],
1237 "input_ue_unconnectable": [],
1238 "version": "7.8"
1239 },
1240 "previewExposures": []
1241 },
1242 "widgets_values": [
1243 0,
1244 32
1245 ],
1246 "widgets_values_named": {
1247 "a": 0,
1248 "multiple": 32
1249 }
1250 },
1251 {
1252 "id": 887,
1253 "type": "8b39ca7b-764d-4663-81f9-3c4584fc0ae3",
1254 "pos": [
1255 6620,
1256 -400
1257 ],
1258 "size": [
1259 210,
1260 90
1261 ],
1262 "flags": [],
1263 "order": 40,
1264 "mode": 0,
1265 "inputs": [
1266 {
1267 "localized_name": "a",
1268 "name": "a",
1269 "type": "INT",
1270 "widget": {
1271 "name": "a"
1272 },
1273 "link": 6801
1274 },
1275 {
1276 "name": "multiple",
1277 "type": "INT",
1278 "widget": {
1279 "name": "multiple"
1280 },
1281 "link": null
1282 }
1283 ],
1284 "outputs": [
1285 {
1286 "localized_name": "INT",
1287 "name": "INT",
1288 "type": "INT",
1289 "links": [
1290 6806,
1291 6823
1292 ]
1293 }
1294 ],
1295 "properties": {
1296 "cnr_id": "comfy-core",
1297 "ver": "0.37.0",
1298 "ue_properties": {
1299 "widget_ue_connectable": [],
1300 "input_ue_unconnectable": [],
1301 "version": "7.8"
1302 },
1303 "previewExposures": []
1304 },
1305 "widgets_values": [
1306 0,
1307 32
1308 ],
1309 "widgets_values_named": {
1310 "a": 0,
1311 "multiple": 32
1312 }
1313 },
1314 {
1315 "id": 888,
1316 "type": "GetImageSize",
1317 "pos": [
1318 6390,
1319 -610
1320 ],
1321 "size": [
1322 140,
1323 130
1324 ],
1325 "flags": {
1326 "collapsed": true
1327 },
1328 "order": 29,
1329 "mode": 0,
1330 "inputs": [
1331 {
1332 "localized_name": "image",
1333 "name": "image",
1334 "type": "IMAGE",
1335 "link": 6802
1336 }
1337 ],
1338 "outputs": [
1339 {
1340 "localized_name": "width",
1341 "name": "width",
1342 "type": "INT",
1343 "links": [
1344 6799,
1345 6800
1346 ]
1347 },
1348 {
1349 "localized_name": "height",
1350 "name": "height",
1351 "type": "INT",
1352 "links": [
1353 6798,
1354 6801
1355 ]
1356 },
1357 {
1358 "localized_name": "batch_size",
1359 "name": "batch_size",
1360 "type": "INT",
1361 "links": []
1362 }
1363 ],
1364 "properties": {
1365 "cnr_id": "comfy-core",
1366 "ver": "0.37.0",
1367 "Node name for S&R": "GetImageSize",
1368 "ue_properties": {
1369 "widget_ue_connectable": [],
1370 "input_ue_unconnectable": [],
1371 "version": "7.8"
1372 }
1373 }
1374 },
1375 {
1376 "id": 889,
1377 "type": "ImageResizeKJv2",
1378 "pos": [
1379 7020,
1380 -690
1381 ],
1382 "size": [
1383 270,
1384 340
1385 ],
1386 "flags": [],
1387 "order": 48,
1388 "mode": 0,
1389 "inputs": [
1390 {
1391 "localized_name": "image",
1392 "name": "image",
1393 "type": "IMAGE",
1394 "link": 6804
1395 },
1396 {
1397 "localized_name": "mask",
1398 "name": "mask",
1399 "shape": 7,
1400 "type": "MASK",
1401 "link": null
1402 },
1403 {
1404 "localized_name": "width",
1405 "name": "width",
1406 "type": "INT",
1407 "widget": {
1408 "name": "width"
1409 },
1410 "link": 6805
1411 },
1412 {
1413 "localized_name": "height",
1414 "name": "height",
1415 "type": "INT",
1416 "widget": {
1417 "name": "height"
1418 },
1419 "link": 6806
1420 },
1421 {
1422 "localized_name": "upscale_method",
1423 "name": "upscale_method",
1424 "type": "COMBO",
1425 "widget": {
1426 "name": "upscale_method"
1427 },
1428 "link": null
1429 },
1430 {
1431 "localized_name": "keep_proportion",
1432 "name": "keep_proportion",
1433 "type": "COMBO",
1434 "widget": {
1435 "name": "keep_proportion"
1436 },
1437 "link": null
1438 },
1439 {
1440 "localized_name": "pad_color",
1441 "name": "pad_color",
1442 "type": "STRING",
1443 "widget": {
1444 "name": "pad_color"
1445 },
1446 "link": null
1447 },
1448 {
1449 "localized_name": "crop_position",
1450 "name": "crop_position",
1451 "type": "COMBO",
1452 "widget": {
1453 "name": "crop_position"
1454 },
1455 "link": null
1456 },
1457 {
1458 "localized_name": "divisible_by",
1459 "name": "divisible_by",
1460 "type": "INT",
1461 "widget": {
1462 "name": "divisible_by"
1463 },
1464 "link": null
1465 },
1466 {
1467 "localized_name": "device",
1468 "name": "device",
1469 "shape": 7,
1470 "type": "COMBO",
1471 "widget": {
1472 "name": "device"
1473 },
1474 "link": null
1475 }
1476 ],
1477 "outputs": [
1478 {
1479 "localized_name": "IMAGE",
1480 "name": "IMAGE",
1481 "type": "IMAGE",
1482 "links": [
1483 6803
1484 ]
1485 },
1486 {
1487 "localized_name": "width",
1488 "name": "width",
1489 "type": "INT",
1490 "links": []
1491 },
1492 {
1493 "localized_name": "height",
1494 "name": "height",
1495 "type": "INT",
1496 "links": []
1497 },
1498 {
1499 "localized_name": "mask",
1500 "name": "mask",
1501 "type": "MASK",
1502 "links": []
1503 }
1504 ],
1505 "properties": {
1506 "cnr_id": "comfyui-kjnodes",
1507 "ver": "d3cfe21625e5170126ce06fbfcfe1d88108688c3",
1508 "Node name for S&R": "ImageResizeKJv2",
1509 "ue_properties": {
1510 "widget_ue_connectable": [],
1511 "input_ue_unconnectable": [],
1512 "version": "7.8"
1513 }
1514 },
1515 "widgets_values": [
1516 512,
1517 512,
1518 "lanczos",
1519 "pad_edge_pixel",
1520 "0, 0, 0",
1521 "center",
1522 1,
1523 "cpu"
1524 ],
1525 "widgets_values_named": {
1526 "width": 512,
1527 "height": 512,
1528 "upscale_method": "lanczos",
1529 "keep_proportion": "pad_edge_pixel",
1530 "pad_color": "0, 0, 0",
1531 "crop_position": "center",
1532 "divisible_by": 1,
1533 "device": "cpu"
1534 }
1535 },
1536 {
1537 "id": 890,
1538 "type": "SetNode",
1539 "pos": [
1540 7320,
1541 -660
1542 ],
1543 "size": [
1544 210,
1545 50
1546 ],
1547 "flags": {
1548 "collapsed": true
1549 },
1550 "order": 52,
1551 "mode": 0,
1552 "inputs": [
1553 {
1554 "name": "IMAGE",
1555 "type": "IMAGE",
1556 "link": 6803
1557 }
1558 ],
1559 "outputs": [
1560 {
1561 "name": "IMAGE",
1562 "type": "IMAGE",
1563 "links": []
1564 }
1565 ],
1566 "title": "Set_IMG-0",
1567 "properties": {
1568 "Node name for S&R": "SetNode",
1569 "aux_id": "kijai/ComfyUI-KJNodes",
1570 "previousName": "IMG-0",
1571 "ue_properties": {
1572 "widget_ue_connectable": [],
1573 "version": "7.8",
1574 "input_ue_unconnectable": []
1575 }
1576 },
1577 "widgets_values": [
1578 "IMG-0"
1579 ],
1580 "widgets_values_named": {
1581 "Constant": "IMG-0"
1582 },
1583 "color": "#2a363b",
1584 "bgcolor": "#3f5159"
1585 },
1586 {
1587 "id": 891,
1588 "type": "GetNode",
1589 "pos": [
1590 7510,
1591 -540
1592 ],
1593 "size": [
1594 210,
1595 60
1596 ],
1597 "flags": {
1598 "collapsed": true
1599 },
1600 "order": 9,
1601 "mode": 0,
1602 "inputs": [],
1603 "outputs": [
1604 {
1605 "name": "IMAGE",
1606 "type": "IMAGE",
1607 "links": [
1608 6841
1609 ]
1610 }
1611 ],
1612 "title": "Get_IMG-0",
1613 "properties": {
1614 "Node name for S&R": "GetNode",
1615 "aux_id": "kijai/ComfyUI-KJNodes",
1616 "ue_properties": {
1617 "widget_ue_connectable": [],
1618 "version": "7.8",
1619 "input_ue_unconnectable": []
1620 }
1621 },
1622 "widgets_values": [
1623 "IMG-0"
1624 ],
1625 "widgets_values_named": {
1626 "Constant": "IMG-0"
1627 },
1628 "color": "#2a363b",
1629 "bgcolor": "#3f5159"
1630 },
1631 {
1632 "id": 892,
1633 "type": "SetNode",
1634 "pos": [
1635 9370,
1636 -690
1637 ],
1638 "size": [
1639 210,
1640 40
1641 ],
1642 "flags": {
1643 "collapsed": true
1644 },
1645 "order": 57,
1646 "mode": 0,
1647 "inputs": [
1648 {
1649 "name": "IMAGE",
1650 "type": "IMAGE",
1651 "link": 6808
1652 }
1653 ],
1654 "outputs": [
1655 {
1656 "name": "IMAGE",
1657 "type": "IMAGE",
1658 "links": []
1659 }
1660 ],
1661 "title": "Set_Final_Result",
1662 "properties": {
1663 "Node name for S&R": "SetNode",
1664 "aux_id": "kijai/ComfyUI-KJNodes",
1665 "previousName": "Final_Result",
1666 "ue_properties": {
1667 "widget_ue_connectable": [],
1668 "version": "7.8",
1669 "input_ue_unconnectable": []
1670 }
1671 },
1672 "widgets_values": [
1673 "Final_Result"
1674 ],
1675 "widgets_values_named": {
1676 "Constant": "Final_Result"
1677 },
1678 "color": "#2a363b",
1679 "bgcolor": "#3f5159"
1680 },
1681 {
1682 "id": 893,
1683 "type": "ImageResizeKJv2",
1684 "pos": [
1685 9050,
1686 -650
1687 ],
1688 "size": [
1689 270,
1690 340
1691 ],
1692 "flags": [],
1693 "order": 55,
1694 "mode": 0,
1695 "inputs": [
1696 {
1697 "localized_name": "image",
1698 "name": "image",
1699 "type": "IMAGE",
1700 "link": 6811
1701 },
1702 {
1703 "localized_name": "mask",
1704 "name": "mask",
1705 "shape": 7,
1706 "type": "MASK",
1707 "link": null
1708 },
1709 {
1710 "localized_name": "width",
1711 "name": "width",
1712 "type": "INT",
1713 "widget": {
1714 "name": "width"
1715 },
1716 "link": 6809
1717 },
1718 {
1719 "localized_name": "height",
1720 "name": "height",
1721 "type": "INT",
1722 "widget": {
1723 "name": "height"
1724 },
1725 "link": 6810
1726 },
1727 {
1728 "localized_name": "upscale_method",
1729 "name": "upscale_method",
1730 "type": "COMBO",
1731 "widget": {
1732 "name": "upscale_method"
1733 },
1734 "link": null
1735 },
1736 {
1737 "localized_name": "keep_proportion",
1738 "name": "keep_proportion",
1739 "type": "COMBO",
1740 "widget": {
1741 "name": "keep_proportion"
1742 },
1743 "link": null
1744 },
1745 {
1746 "localized_name": "pad_color",
1747 "name": "pad_color",
1748 "type": "STRING",
1749 "widget": {
1750 "name": "pad_color"
1751 },
1752 "link": null
1753 },
1754 {
1755 "localized_name": "crop_position",
1756 "name": "crop_position",
1757 "type": "COMBO",
1758 "widget": {
1759 "name": "crop_position"
1760 },
1761 "link": null
1762 },
1763 {
1764 "localized_name": "divisible_by",
1765 "name": "divisible_by",
1766 "type": "INT",
1767 "widget": {
1768 "name": "divisible_by"
1769 },
1770 "link": null
1771 },
1772 {
1773 "localized_name": "device",
1774 "name": "device",
1775 "shape": 7,
1776 "type": "COMBO",
1777 "widget": {
1778 "name": "device"
1779 },
1780 "link": null
1781 }
1782 ],
1783 "outputs": [
1784 {
1785 "localized_name": "IMAGE",
1786 "name": "IMAGE",
1787 "type": "IMAGE",
1788 "links": [
1789 6808,
1790 6815
1791 ]
1792 },
1793 {
1794 "localized_name": "width",
1795 "name": "width",
1796 "type": "INT",
1797 "links": []
1798 },
1799 {
1800 "localized_name": "height",
1801 "name": "height",
1802 "type": "INT",
1803 "links": []
1804 },
1805 {
1806 "localized_name": "mask",
1807 "name": "mask",
1808 "type": "MASK",
1809 "links": []
1810 }
1811 ],
1812 "properties": {
1813 "cnr_id": "comfyui-kjnodes",
1814 "ver": "d3cfe21625e5170126ce06fbfcfe1d88108688c3",
1815 "Node name for S&R": "ImageResizeKJv2",
1816 "ue_properties": {
1817 "widget_ue_connectable": [],
1818 "input_ue_unconnectable": [],
1819 "version": "7.8"
1820 }
1821 },
1822 "widgets_values": [
1823 512,
1824 512,
1825 "lanczos",
1826 "crop",
1827 "0, 0, 0",
1828 "center",
1829 1,
1830 "cpu"
1831 ],
1832 "widgets_values_named": {
1833 "width": 512,
1834 "height": 512,
1835 "upscale_method": "lanczos",
1836 "keep_proportion": "crop",
1837 "pad_color": "0, 0, 0",
1838 "crop_position": "center",
1839 "divisible_by": 1,
1840 "device": "cpu"
1841 }
1842 },
1843 {
1844 "id": 894,
1845 "type": "GetNode",
1846 "pos": [
1847 8830,
1848 -440
1849 ],
1850 "size": [
1851 210,
1852 40
1853 ],
1854 "flags": {
1855 "collapsed": true
1856 },
1857 "order": 10,
1858 "mode": 0,
1859 "inputs": [],
1860 "outputs": [
1861 {
1862 "name": "INT",
1863 "type": "INT",
1864 "links": [
1865 6809
1866 ]
1867 }
1868 ],
1869 "title": "Get_Original_Width",
1870 "properties": {
1871 "Node name for S&R": "GetNode",
1872 "aux_id": "kijai/ComfyUI-KJNodes",
1873 "ue_properties": {
1874 "widget_ue_connectable": [],
1875 "version": "7.8",
1876 "input_ue_unconnectable": []
1877 }
1878 },
1879 "widgets_values": [
1880 "Original_Width"
1881 ],
1882 "widgets_values_named": {
1883 "Constant": "Original_Width"
1884 },
1885 "color": "#1b4669",
1886 "bgcolor": "#29699c"
1887 },
1888 {
1889 "id": 895,
1890 "type": "GetNode",
1891 "pos": [
1892 8830,
1893 -390
1894 ],
1895 "size": [
1896 210,
1897 40
1898 ],
1899 "flags": {
1900 "collapsed": true
1901 },
1902 "order": 11,
1903 "mode": 0,
1904 "inputs": [],
1905 "outputs": [
1906 {
1907 "name": "INT",
1908 "type": "INT",
1909 "links": [
1910 6810
1911 ]
1912 }
1913 ],
1914 "title": "Get_Original_Height",
1915 "properties": {
1916 "Node name for S&R": "GetNode",
1917 "aux_id": "kijai/ComfyUI-KJNodes",
1918 "ue_properties": {
1919 "widget_ue_connectable": [],
1920 "version": "7.8",
1921 "input_ue_unconnectable": []
1922 }
1923 },
1924 "widgets_values": [
1925 "Original_Height"
1926 ],
1927 "widgets_values_named": {
1928 "Constant": "Original_Height"
1929 },
1930 "color": "#1b4669",
1931 "bgcolor": "#29699c"
1932 },
1933 {
1934 "id": 896,
1935 "type": "SetNode",
1936 "pos": [
1937 6380,
1938 -530
1939 ],
1940 "size": [
1941 210,
1942 40
1943 ],
1944 "flags": {
1945 "collapsed": true
1946 },
1947 "order": 30,
1948 "mode": 0,
1949 "inputs": [
1950 {
1951 "name": "IMAGE",
1952 "type": "IMAGE",
1953 "link": 6813
1954 }
1955 ],
1956 "outputs": [
1957 {
1958 "name": "IMAGE",
1959 "type": "IMAGE",
1960 "links": []
1961 }
1962 ],
1963 "title": "Set_Original_IMG",
1964 "properties": {
1965 "Node name for S&R": "SetNode",
1966 "aux_id": "kijai/ComfyUI-KJNodes",
1967 "previousName": "Original_IMG",
1968 "ue_properties": {
1969 "widget_ue_connectable": [],
1970 "version": "7.8",
1971 "input_ue_unconnectable": []
1972 }
1973 },
1974 "widgets_values": [
1975 "Original_IMG"
1976 ],
1977 "widgets_values_named": {
1978 "Constant": "Original_IMG"
1979 },
1980 "color": "#2a363b",
1981 "bgcolor": "#3f5159"
1982 },
1983 {
1984 "id": 897,
1985 "type": "GetNode",
1986 "pos": [
1987 10000,
1988 -700
1989 ],
1990 "size": [
1991 210,
1992 60
1993 ],
1994 "flags": {
1995 "collapsed": true
1996 },
1997 "order": 12,
1998 "mode": 0,
1999 "inputs": [],
2000 "outputs": [
2001 {
2002 "name": "IMAGE",
2003 "type": "IMAGE",
2004 "links": [
2005 6814
2006 ]
2007 }
2008 ],
2009 "title": "Get_Original_IMG",
2010 "properties": {
2011 "Node name for S&R": "GetNode",
2012 "aux_id": "kijai/ComfyUI-KJNodes",
2013 "ue_properties": {
2014 "widget_ue_connectable": [],
2015 "version": "7.8",
2016 "input_ue_unconnectable": []
2017 }
2018 },
2019 "widgets_values": [
2020 "Original_IMG"
2021 ],
2022 "widgets_values_named": {
2023 "Constant": "Original_IMG"
2024 },
2025 "color": "#2a363b",
2026 "bgcolor": "#3f5159"
2027 },
2028 {
2029 "id": 898,
2030 "type": "SaveImageAdvanced",
2031 "pos": [
2032 9580,
2033 -650
2034 ],
2035 "size": [
2036 580,
2037 550
2038 ],
2039 "flags": [],
2040 "order": 58,
2041 "mode": 0,
2042 "inputs": [
2043 {
2044 "localized_name": "images",
2045 "name": "images",
2046 "type": "IMAGE",
2047 "link": 6815
2048 },
2049 {
2050 "localized_name": "filename_prefix",
2051 "name": "filename_prefix",
2052 "type": "STRING",
2053 "widget": {
2054 "name": "filename_prefix"
2055 },
2056 "link": null
2057 },
2058 {
2059 "localized_name": "format",
2060 "name": "format",
2061 "type": "COMFY_DYNAMICCOMBO_V3",
2062 "widget": {
2063 "name": "format"
2064 },
2065 "link": null
2066 },
2067 {
2068 "localized_name": "bit_depth",
2069 "name": "format.bit_depth",
2070 "type": "COMBO",
2071 "widget": {
2072 "name": "format.bit_depth"
2073 },
2074 "link": null
2075 },
2076 {
2077 "localized_name": "input_color_space",
2078 "name": "format.input_color_space",
2079 "type": "COMBO",
2080 "widget": {
2081 "name": "format.input_color_space"
2082 },
2083 "link": null
2084 }
2085 ],
2086 "outputs": [
2087 {
2088 "localized_name": "images",
2089 "name": "images",
2090 "type": "IMAGE",
2091 "links": [
2092 6816
2093 ]
2094 }
2095 ],
2096 "properties": {
2097 "cnr_id": "comfy-core",
2098 "ver": "0.25.0",
2099 "Node name for S&R": "SaveImageAdvanced",
2100 "ue_properties": {
2101 "widget_ue_connectable": [],
2102 "input_ue_unconnectable": [],
2103 "version": "7.8"
2104 }
2105 },
2106 "widgets_values": [
2107 "MiiniMax-H3_Image_edit",
2108 "png",
2109 "16-bit",
2110 "sRGB"
2111 ],
2112 "widgets_values_named": {
2113 "filename_prefix": "MiiniMax-H3_Image_edit",
2114 "format": "png",
2115 "format.bit_depth": "16-bit",
2116 "format.input_color_space": "sRGB"
2117 }
2118 },
2119 {
2120 "id": 902,
2121 "type": "SetNode",
2122 "pos": [
2123 6280,
2124 -1430
2125 ],
2126 "size": [
2127 210,
2128 60
2129 ],
2130 "flags": {
2131 "collapsed": true
2132 },
2133 "order": 31,
2134 "mode": 0,
2135 "inputs": [
2136 {
2137 "name": "STRING",
2138 "type": "STRING",
2139 "link": 6818
2140 }
2141 ],
2142 "outputs": [
2143 {
2144 "name": "STRING",
2145 "type": "STRING",
2146 "links": null
2147 }
2148 ],
2149 "title": "Set_+ve_Prompt",
2150 "properties": {
2151 "Node name for S&R": "SetNode",
2152 "aux_id": "kijai/ComfyUI-KJNodes",
2153 "previousName": "+ve_Prompt",
2154 "ue_properties": {
2155 "widget_ue_connectable": [],
2156 "version": "7.8",
2157 "input_ue_unconnectable": []
2158 }
2159 },
2160 "widgets_values": [
2161 "+ve_Prompt"
2162 ],
2163 "widgets_values_named": {
2164 "Constant": "+ve_Prompt"
2165 },
2166 "color": "#232",
2167 "bgcolor": "#353"
2168 },
2169 {
2170 "id": 904,
2171 "type": "GetNode",
2172 "pos": [
2173 7480,
2174 -380
2175 ],
2176 "size": [
2177 210,
2178 60
2179 ],
2180 "flags": {
2181 "collapsed": true
2182 },
2183 "order": 13,
2184 "mode": 0,
2185 "inputs": [],
2186 "outputs": [
2187 {
2188 "name": "STRING",
2189 "type": "STRING",
2190 "links": [
2191 6864
2192 ]
2193 }
2194 ],
2195 "title": "Get_+ve_Prompt",
2196 "properties": {
2197 "Node name for S&R": "GetNode",
2198 "aux_id": "kijai/ComfyUI-KJNodes",
2199 "ue_properties": {
2200 "widget_ue_connectable": [],
2201 "version": "7.8",
2202 "input_ue_unconnectable": []
2203 }
2204 },
2205 "widgets_values": [
2206 "+ve_Prompt"
2207 ],
2208 "widgets_values_named": {
2209 "Constant": "+ve_Prompt"
2210 },
2211 "color": "#232",
2212 "bgcolor": "#353"
2213 },
2214 {
2215 "id": 906,
2216 "type": "SetNode",
2217 "pos": [
2218 6890,
2219 -390
2220 ],
2221 "size": [
2222 210,
2223 60
2224 ],
2225 "flags": {
2226 "collapsed": true
2227 },
2228 "order": 47,
2229 "mode": 0,
2230 "inputs": [
2231 {
2232 "name": "INT",
2233 "type": "INT",
2234 "link": 6822
2235 }
2236 ],
2237 "outputs": [
2238 {
2239 "name": "INT",
2240 "type": "INT",
2241 "links": null
2242 }
2243 ],
2244 "title": "Set_Width",
2245 "properties": {
2246 "Node name for S&R": "SetNode",
2247 "aux_id": "kijai/ComfyUI-KJNodes",
2248 "previousName": "Width",
2249 "ue_properties": {
2250 "widget_ue_connectable": [],
2251 "version": "7.8",
2252 "input_ue_unconnectable": []
2253 }
2254 },
2255 "widgets_values": [
2256 "Width"
2257 ],
2258 "widgets_values_named": {
2259 "Constant": "Width"
2260 },
2261 "color": "#1b4669",
2262 "bgcolor": "#29699c"
2263 },
2264 {
2265 "id": 907,
2266 "type": "SetNode",
2267 "pos": [
2268 6890,
2269 -340
2270 ],
2271 "size": [
2272 210,
2273 60
2274 ],
2275 "flags": {
2276 "collapsed": true
2277 },
2278 "order": 49,
2279 "mode": 0,
2280 "inputs": [
2281 {
2282 "name": "INT",
2283 "type": "INT",
2284 "link": 6823
2285 }
2286 ],
2287 "outputs": [
2288 {
2289 "name": "INT",
2290 "type": "INT",
2291 "links": []
2292 }
2293 ],
2294 "title": "Set_Height",
2295 "properties": {
2296 "Node name for S&R": "SetNode",
2297 "aux_id": "kijai/ComfyUI-KJNodes",
2298 "previousName": "Height",
2299 "ue_properties": {
2300 "widget_ue_connectable": [],
2301 "version": "7.8",
2302 "input_ue_unconnectable": []
2303 }
2304 },
2305 "widgets_values": [
2306 "Height"
2307 ],
2308 "widgets_values_named": {
2309 "Constant": "Height"
2310 },
2311 "color": "#1b4669",
2312 "bgcolor": "#29699c"
2313 },
2314 {
2315 "id": 908,
2316 "type": "GetNode",
2317 "pos": [
2318 7520,
2319 -180
2320 ],
2321 "size": [
2322 210,
2323 60
2324 ],
2325 "flags": {
2326 "collapsed": true
2327 },
2328 "order": 14,
2329 "mode": 0,
2330 "inputs": [],
2331 "outputs": [
2332 {
2333 "name": "INT",
2334 "type": "INT",
2335 "links": [
2336 6845
2337 ]
2338 }
2339 ],
2340 "title": "Get_Width",
2341 "properties": {
2342 "Node name for S&R": "GetNode",
2343 "aux_id": "kijai/ComfyUI-KJNodes",
2344 "ue_properties": {
2345 "widget_ue_connectable": [],
2346 "version": "7.8",
2347 "input_ue_unconnectable": []
2348 }
2349 },
2350 "widgets_values": [
2351 "Width"
2352 ],
2353 "widgets_values_named": {
2354 "Constant": "Width"
2355 },
2356 "color": "#1b4669",
2357 "bgcolor": "#29699c"
2358 },
2359 {
2360 "id": 909,
2361 "type": "GetNode",
2362 "pos": [
2363 7520,
2364 -120
2365 ],
2366 "size": [
2367 210,
2368 60
2369 ],
2370 "flags": {
2371 "collapsed": true
2372 },
2373 "order": 15,
2374 "mode": 0,
2375 "inputs": [],
2376 "outputs": [
2377 {
2378 "name": "INT",
2379 "type": "INT",
2380 "links": [
2381 6846
2382 ]
2383 }
2384 ],
2385 "title": "Get_Height",
2386 "properties": {
2387 "Node name for S&R": "GetNode",
2388 "aux_id": "kijai/ComfyUI-KJNodes",
2389 "ue_properties": {
2390 "widget_ue_connectable": [],
2391 "version": "7.8",
2392 "input_ue_unconnectable": []
2393 }
2394 },
2395 "widgets_values": [
2396 "Height"
2397 ],
2398 "widgets_values_named": {
2399 "Constant": "Height"
2400 },
2401 "color": "#1b4669",
2402 "bgcolor": "#29699c"
2403 },
2404 {
2405 "id": 910,
2406 "type": "SetNode",
2407 "pos": [
2408 6630,
2409 960
2410 ],
2411 "size": [
2412 210,
2413 60
2414 ],
2415 "flags": {
2416 "collapsed": false
2417 },
2418 "order": 43,
2419 "mode": 4,
2420 "inputs": [
2421 {
2422 "name": "IMAGE",
2423 "type": "IMAGE",
2424 "link": 6826
2425 }
2426 ],
2427 "outputs": [
2428 {
2429 "name": "IMAGE",
2430 "type": "IMAGE",
2431 "links": []
2432 }
2433 ],
2434 "title": "Set_IMG-2",
2435 "properties": {
2436 "Node name for S&R": "SetNode",
2437 "aux_id": "kijai/ComfyUI-KJNodes",
2438 "previousName": "IMG-2",
2439 "ue_properties": {
2440 "widget_ue_connectable": [],
2441 "version": "7.8",
2442 "input_ue_unconnectable": []
2443 }
2444 },
2445 "widgets_values": [
2446 "IMG-2"
2447 ],
2448 "widgets_values_named": {
2449 "Constant": "IMG-2"
2450 },
2451 "color": "#2a363b",
2452 "bgcolor": "#3f5159"
2453 },
2454 {
2455 "id": 911,
2456 "type": "PreviewImage",
2457 "pos": [
2458 6630,
2459 550
2460 ],
2461 "size": [
2462 570,
2463 350
2464 ],
2465 "flags": {
2466 "collapsed": false
2467 },
2468 "order": 44,
2469 "mode": 4,
2470 "inputs": [
2471 {
2472 "localized_name": "images",
2473 "name": "images",
2474 "type": "IMAGE",
2475 "link": 6827
2476 }
2477 ],
2478 "outputs": [
2479 {
2480 "localized_name": "images",
2481 "name": "images",
2482 "type": "IMAGE",
2483 "links": []
2484 }
2485 ],
2486 "properties": {
2487 "cnr_id": "comfy-core",
2488 "ver": "0.25.0",
2489 "Node name for S&R": "PreviewImage",
2490 "ue_properties": {
2491 "widget_ue_connectable": [],
2492 "input_ue_unconnectable": [],
2493 "version": "7.8"
2494 }
2495 }
2496 },
2497 {
2498 "id": 912,
2499 "type": "ImageScaleToTotalPixels",
2500 "pos": [
2501 6290,
2502 550
2503 ],
2504 "size": [
2505 280,
2506 140
2507 ],
2508 "flags": [],
2509 "order": 34,
2510 "mode": 4,
2511 "inputs": [
2512 {
2513 "localized_name": "image",
2514 "name": "image",
2515 "type": "IMAGE",
2516 "link": 6828
2517 },
2518 {
2519 "localized_name": "upscale_method",
2520 "name": "upscale_method",
2521 "type": "COMBO",
2522 "widget": {
2523 "name": "upscale_method"
2524 },
2525 "link": null
2526 },
2527 {
2528 "localized_name": "megapixels",
2529 "name": "megapixels",
2530 "type": "FLOAT",
2531 "widget": {
2532 "name": "megapixels"
2533 },
2534 "link": null
2535 },
2536 {
2537 "localized_name": "resolution_steps",
2538 "name": "resolution_steps",
2539 "type": "INT",
2540 "widget": {
2541 "name": "resolution_steps"
2542 },
2543 "link": null
2544 }
2545 ],
2546 "outputs": [
2547 {
2548 "localized_name": "IMAGE",
2549 "name": "IMAGE",
2550 "type": "IMAGE",
2551 "links": [
2552 6826,
2553 6827
2554 ]
2555 }
2556 ],
2557 "properties": {
2558 "cnr_id": "comfy-core",
2559 "ver": "0.25.0",
2560 "Node name for S&R": "ImageScaleToTotalPixels",
2561 "ue_properties": {
2562 "widget_ue_connectable": [],
2563 "input_ue_unconnectable": [],
2564 "version": "7.8"
2565 }
2566 },
2567 "widgets_values": [
2568 "lanczos",
2569 2,
2570 1
2571 ],
2572 "widgets_values_named": {
2573 "upscale_method": "lanczos",
2574 "megapixels": 2,
2575 "resolution_steps": 1
2576 }
2577 },
2578 {
2579 "id": 913,
2580 "type": "SetNode",
2581 "pos": [
2582 6630,
2583 400
2584 ],
2585 "size": [
2586 210,
2587 60
2588 ],
2589 "flags": {
2590 "collapsed": false
2591 },
2592 "order": 41,
2593 "mode": 4,
2594 "inputs": [
2595 {
2596 "name": "IMAGE",
2597 "type": "IMAGE",
2598 "link": 6829
2599 }
2600 ],
2601 "outputs": [
2602 {
2603 "name": "IMAGE",
2604 "type": "IMAGE",
2605 "links": []
2606 }
2607 ],
2608 "title": "Set_IMG-1",
2609 "properties": {
2610 "Node name for S&R": "SetNode",
2611 "aux_id": "kijai/ComfyUI-KJNodes",
2612 "previousName": "IMG-1",
2613 "ue_properties": {
2614 "widget_ue_connectable": [],
2615 "version": "7.8",
2616 "input_ue_unconnectable": []
2617 }
2618 },
2619 "widgets_values": [
2620 "IMG-1"
2621 ],
2622 "widgets_values_named": {
2623 "Constant": "IMG-1"
2624 },
2625 "color": "#2a363b",
2626 "bgcolor": "#3f5159"
2627 },
2628 {
2629 "id": 914,
2630 "type": "PreviewImage",
2631 "pos": [
2632 6630,
2633 -10
2634 ],
2635 "size": [
2636 570,
2637 350
2638 ],
2639 "flags": {
2640 "collapsed": false
2641 },
2642 "order": 42,
2643 "mode": 4,
2644 "inputs": [
2645 {
2646 "localized_name": "images",
2647 "name": "images",
2648 "type": "IMAGE",
2649 "link": 6830
2650 }
2651 ],
2652 "outputs": [
2653 {
2654 "localized_name": "images",
2655 "name": "images",
2656 "type": "IMAGE",
2657 "links": []
2658 }
2659 ],
2660 "properties": {
2661 "cnr_id": "comfy-core",
2662 "ver": "0.25.0",
2663 "Node name for S&R": "PreviewImage",
2664 "ue_properties": {
2665 "widget_ue_connectable": [],
2666 "input_ue_unconnectable": [],
2667 "version": "7.8"
2668 }
2669 }
2670 },
2671 {
2672 "id": 915,
2673 "type": "LoadImage",
2674 "pos": [
2675 5740,
2676 -10
2677 ],
2678 "size": [
2679 230,
2680 370
2681 ],
2682 "flags": [],
2683 "order": 16,
2684 "mode": 4,
2685 "inputs": [
2686 {
2687 "localized_name": "image",
2688 "name": "image",
2689 "type": "COMBO",
2690 "widget": {
2691 "name": "image"
2692 },
2693 "link": null
2694 },
2695 {
2696 "localized_name": "choose file to upload",
2697 "name": "upload",
2698 "type": "IMAGEUPLOAD",
2699 "widget": {
2700 "name": "upload"
2701 },
2702 "link": null
2703 }
2704 ],
2705 "outputs": [
2706 {
2707 "localized_name": "IMAGE",
2708 "name": "IMAGE",
2709 "type": "IMAGE",
2710 "links": [
2711 6831
2712 ]
2713 },
2714 {
2715 "localized_name": "MASK",
2716 "name": "MASK",
2717 "type": "MASK",
2718 "links": []
2719 }
2720 ],
2721 "properties": {
2722 "cnr_id": "comfy-core",
2723 "ver": "0.3.34",
2724 "Node name for S&R": "LoadImage",
2725 "ue_properties": {
2726 "version": "7.5.1",
2727 "widget_ue_connectable": [],
2728 "input_ue_unconnectable": []
2729 },
2730 "enableTabs": false,
2731 "tabWidth": 65,
2732 "tabXOffset": 10,
2733 "hasSecondTab": false,
2734 "secondTabText": "Send Back",
2735 "secondTabOffset": 80,
2736 "secondTabWidth": 65,
2737 "image": "clipspace/clipspace-painted-masked-1785919997576.png [input]"
2738 },
2739 "widgets_values": [
2740 "001-001-0010_DN_1300_v001.jpg",
2741 "image"
2742 ],
2743 "widgets_values_named": {
2744 "image": "001-001-0010_DN_1300_v001.jpg",
2745 "upload": "image"
2746 },
2747 "ndSuperSelectorEnabled": false,
2748 "ndPowerEnabled": false,
2749 "extensions": {
2750 "ndSuperSelectorEnabled": false,
2751 "ndPowerEnabled": false
2752 }
2753 },
2754 {
2755 "id": 916,
2756 "type": "LoadImage",
2757 "pos": [
2758 5740,
2759 550
2760 ],
2761 "size": [
2762 230,
2763 370
2764 ],
2765 "flags": [],
2766 "order": 17,
2767 "mode": 4,
2768 "inputs": [
2769 {
2770 "localized_name": "image",
2771 "name": "image",
2772 "type": "COMBO",
2773 "widget": {
2774 "name": "image"
2775 },
2776 "link": null
2777 },
2778 {
2779 "localized_name": "choose file to upload",
2780 "name": "upload",
2781 "type": "IMAGEUPLOAD",
2782 "widget": {
2783 "name": "upload"
2784 },
2785 "link": null
2786 }
2787 ],
2788 "outputs": [
2789 {
2790 "localized_name": "IMAGE",
2791 "name": "IMAGE",
2792 "type": "IMAGE",
2793 "links": [
2794 6828
2795 ]
2796 },
2797 {
2798 "localized_name": "MASK",
2799 "name": "MASK",
2800 "type": "MASK",
2801 "links": []
2802 }
2803 ],
2804 "properties": {
2805 "cnr_id": "comfy-core",
2806 "ver": "0.3.34",
2807 "Node name for S&R": "LoadImage",
2808 "ue_properties": {
2809 "version": "7.5.1",
2810 "widget_ue_connectable": [],
2811 "input_ue_unconnectable": []
2812 },
2813 "enableTabs": false,
2814 "tabWidth": 65,
2815 "tabXOffset": 10,
2816 "hasSecondTab": false,
2817 "secondTabText": "Send Back",
2818 "secondTabOffset": 80,
2819 "secondTabWidth": 65,
2820 "image": "clipspace/clipspace-painted-masked-1785919997576.png [input]"
2821 },
2822 "widgets_values": [
2823 "001-001-0010_DN_1300_v001.jpg",
2824 "image"
2825 ],
2826 "widgets_values_named": {
2827 "image": "001-001-0010_DN_1300_v001.jpg",
2828 "upload": "image"
2829 },
2830 "ndSuperSelectorEnabled": false,
2831 "ndPowerEnabled": false,
2832 "extensions": {
2833 "ndSuperSelectorEnabled": false,
2834 "ndPowerEnabled": false
2835 }
2836 },
2837 {
2838 "id": 917,
2839 "type": "ImageScaleToTotalPixels",
2840 "pos": [
2841 6290,
2842 -10
2843 ],
2844 "size": [
2845 280,
2846 140
2847 ],
2848 "flags": [],
2849 "order": 33,
2850 "mode": 4,
2851 "inputs": [
2852 {
2853 "localized_name": "image",
2854 "name": "image",
2855 "type": "IMAGE",
2856 "link": 6831
2857 },
2858 {
2859 "localized_name": "upscale_method",
2860 "name": "upscale_method",
2861 "type": "COMBO",
2862 "widget": {
2863 "name": "upscale_method"
2864 },
2865 "link": null
2866 },
2867 {
2868 "localized_name": "megapixels",
2869 "name": "megapixels",
2870 "type": "FLOAT",
2871 "widget": {
2872 "name": "megapixels"
2873 },
2874 "link": null
2875 },
2876 {
2877 "localized_name": "resolution_steps",
2878 "name": "resolution_steps",
2879 "type": "INT",
2880 "widget": {
2881 "name": "resolution_steps"
2882 },
2883 "link": null
2884 }
2885 ],
2886 "outputs": [
2887 {
2888 "localized_name": "IMAGE",
2889 "name": "IMAGE",
2890 "type": "IMAGE",
2891 "links": [
2892 6829,
2893 6830
2894 ]
2895 }
2896 ],
2897 "properties": {
2898 "cnr_id": "comfy-core",
2899 "ver": "0.25.0",
2900 "Node name for S&R": "ImageScaleToTotalPixels",
2901 "ue_properties": {
2902 "widget_ue_connectable": [],
2903 "input_ue_unconnectable": [],
2904 "version": "7.8"
2905 }
2906 },
2907 "widgets_values": [
2908 "lanczos",
2909 2,
2910 1
2911 ],
2912 "widgets_values_named": {
2913 "upscale_method": "lanczos",
2914 "megapixels": 2,
2915 "resolution_steps": 1
2916 }
2917 },
2918 {
2919 "id": 918,
2920 "type": "GetNode",
2921 "pos": [
2922 7510,
2923 -490
2924 ],
2925 "size": [
2926 210,
2927 60
2928 ],
2929 "flags": {
2930 "collapsed": true
2931 },
2932 "order": 18,
2933 "mode": 0,
2934 "inputs": [],
2935 "outputs": [
2936 {
2937 "name": "IMAGE",
2938 "type": "IMAGE",
2939 "links": [
2940 6842
2941 ]
2942 }
2943 ],
2944 "title": "Get_IMG-1",
2945 "properties": {
2946 "Node name for S&R": "GetNode",
2947 "aux_id": "kijai/ComfyUI-KJNodes",
2948 "ue_properties": {
2949 "widget_ue_connectable": [],
2950 "version": "7.8",
2951 "input_ue_unconnectable": []
2952 }
2953 },
2954 "widgets_values": [
2955 "IMG-1"
2956 ],
2957 "widgets_values_named": {
2958 "Constant": "IMG-1"
2959 },
2960 "color": "#2a363b",
2961 "bgcolor": "#3f5159"
2962 },
2963 {
2964 "id": 919,
2965 "type": "GetNode",
2966 "pos": [
2967 7510,
2968 -440
2969 ],
2970 "size": [
2971 210,
2972 60
2973 ],
2974 "flags": {
2975 "collapsed": true
2976 },
2977 "order": 19,
2978 "mode": 0,
2979 "inputs": [],
2980 "outputs": [
2981 {
2982 "name": "IMAGE",
2983 "type": "IMAGE",
2984 "links": [
2985 6843
2986 ]
2987 }
2988 ],
2989 "title": "Get_IMG-2",
2990 "properties": {
2991 "Node name for S&R": "GetNode",
2992 "aux_id": "kijai/ComfyUI-KJNodes",
2993 "ue_properties": {
2994 "widget_ue_connectable": [],
2995 "version": "7.8",
2996 "input_ue_unconnectable": []
2997 }
2998 },
2999 "widgets_values": [
3000 "IMG-2"
3001 ],
3002 "widgets_values_named": {
3003 "Constant": "IMG-2"
3004 },
3005 "color": "#2a363b",
3006 "bgcolor": "#3f5159"
3007 },
3008 {
3009 "id": 922,
3010 "type": "ModelPreviewOverrideKJ",
3011 "pos": [
3012 8160,
3013 -30
3014 ],
3015 "size": [
3016 360,
3017 480
3018 ],
3019 "flags": [],
3020 "order": 32,
3021 "mode": 0,
3022 "inputs": [
3023 {
3024 "localized_name": "model",
3025 "name": "model",
3026 "type": "MODEL",
3027 "link": 6837
3028 },
3029 {
3030 "localized_name": "vae",
3031 "name": "vae",
3032 "shape": 7,
3033 "type": "VAE",
3034 "link": null
3035 },
3036 {
3037 "localized_name": "audio_vae",
3038 "name": "audio_vae",
3039 "shape": 7,
3040 "type": "VAE",
3041 "link": null
3042 },
3043 {
3044 "localized_name": "max_resolution",
3045 "name": "max_resolution",
3046 "type": "INT",
3047 "widget": {
3048 "name": "max_resolution"
3049 },
3050 "link": null
3051 },
3052 {
3053 "localized_name": "jpeg_quality",
3054 "name": "jpeg_quality",
3055 "type": "INT",
3056 "widget": {
3057 "name": "jpeg_quality"
3058 },
3059 "link": null
3060 },
3061 {
3062 "localized_name": "suppress_default_preview",
3063 "name": "suppress_default_preview",
3064 "type": "BOOLEAN",
3065 "widget": {
3066 "name": "suppress_default_preview"
3067 },
3068 "link": null
3069 },
3070 {
3071 "localized_name": "preview_frames",
3072 "name": "preview_frames",
3073 "type": "INT",
3074 "widget": {
3075 "name": "preview_frames"
3076 },
3077 "link": null
3078 },
3079 {
3080 "localized_name": "preview_fps",
3081 "name": "preview_fps",
3082 "type": "INT",
3083 "widget": {
3084 "name": "preview_fps"
3085 },
3086 "link": null
3087 },
3088 {
3089 "localized_name": "tiny_vae",
3090 "name": "tiny_vae",
3091 "shape": 7,
3092 "type": "COMBO",
3093 "widget": {
3094 "name": "tiny_vae"
3095 },
3096 "link": null
3097 }
3098 ],
3099 "outputs": [
3100 {
3101 "localized_name": "MODEL",
3102 "name": "MODEL",
3103 "type": "MODEL",
3104 "links": [
3105 6838
3106 ]
3107 }
3108 ],
3109 "properties": {
3110 "cnr_id": "comfyui-kjnodes",
3111 "ver": "17195fcfa8a05f601b766a0f09c9733284f47416",
3112 "Node name for S&R": "ModelPreviewOverrideKJ",
3113 "ue_properties": {
3114 "widget_ue_connectable": [],
3115 "input_ue_unconnectable": [],
3116 "version": "7.8"
3117 }
3118 },
3119 "widgets_values": [
3120 4448,
3121 80,
3122 false,
3123 1,
3124 12,
3125 "taeh3.safetensors",
3126 ""
3127 ],
3128 "widgets_values_named": {
3129 "max_resolution": 4448,
3130 "jpeg_quality": 80,
3131 "suppress_default_preview": false,
3132 "preview_frames": 1,
3133 "preview_fps": 12,
3134 "tiny_vae": "taeh3.safetensors",
3135 "preview": ""
3136 },
3137 "ndSuperSelectorEnabled": false,
3138 "ndPowerEnabled": false,
3139 "extensions": {
3140 "ndSuperSelectorEnabled": false,
3141 "ndPowerEnabled": false
3142 }
3143 },
3144 {
3145 "id": 923,
3146 "type": "MiniMaxH3ImageConditioning",
3147 "pos": [
3148 7700,
3149 -630
3150 ],
3151 "size": [
3152 440,
3153 400
3154 ],
3155 "flags": [],
3156 "order": 35,
3157 "mode": 0,
3158 "inputs": [
3159 {
3160 "localized_name": "clip",
3161 "name": "clip",
3162 "type": "CLIP",
3163 "link": 6839
3164 },
3165 {
3166 "localized_name": "vae",
3167 "name": "vae",
3168 "shape": 7,
3169 "type": "VAE",
3170 "link": 6840
3171 },
3172 {
3173 "localized_name": "image_0",
3174 "name": "images.image_0",
3175 "shape": 7,
3176 "type": "IMAGE",
3177 "link": 6841
3178 },
3179 {
3180 "localized_name": "image_1",
3181 "name": "images.image_1",
3182 "shape": 7,
3183 "type": "IMAGE",
3184 "link": 6842
3185 },
3186 {
3187 "localized_name": "image_2",
3188 "name": "images.image_2",
3189 "shape": 7,
3190 "type": "IMAGE",
3191 "link": 6843
3192 },
3193 {
3194 "localized_name": "image_3",
3195 "name": "images.image_3",
3196 "shape": 7,
3197 "type": "IMAGE",
3198 "link": null
3199 },
3200 {
3201 "localized_name": "image_4",
3202 "name": "images.image_4",
3203 "shape": 7,
3204 "type": "IMAGE",
3205 "link": null
3206 },
3207 {
3208 "localized_name": "image_5",
3209 "name": "images.image_5",
3210 "shape": 7,
3211 "type": "IMAGE",
3212 "link": null
3213 },
3214 {
3215 "localized_name": "image_6",
3216 "name": "images.image_6",
3217 "shape": 7,
3218 "type": "IMAGE",
3219 "link": null
3220 },
3221 {
3222 "localized_name": "prompt",
3223 "name": "prompt",
3224 "type": "STRING",
3225 "widget": {
3226 "name": "prompt"
3227 },
3228 "link": 6864
3229 },
3230 {
3231 "localized_name": "width",
3232 "name": "width",
3233 "type": "INT",
3234 "widget": {
3235 "name": "width"
3236 },
3237 "link": 6845
3238 },
3239 {
3240 "localized_name": "height",
3241 "name": "height",
3242 "type": "INT",
3243 "widget": {
3244 "name": "height"
3245 },
3246 "link": 6846
3247 }
3248 ],
3249 "outputs": [
3250 {
3251 "localized_name": "positive",
3252 "name": "positive",
3253 "type": "CONDITIONING",
3254 "links": [
3255 6847,
3256 6848
3257 ]
3258 },
3259 {
3260 "localized_name": "LATENT",
3261 "name": "LATENT",
3262 "type": "LATENT",
3263 "links": [
3264 6849
3265 ]
3266 }
3267 ],
3268 "properties": {
3269 "cnr_id": "comfy-core",
3270 "ver": "0.45.2",
3271 "Node name for S&R": "MiniMaxH3ImageConditioning",
3272 "ue_properties": {
3273 "widget_ue_connectable": {
3274 "prompt": true,
3275 "width": true,
3276 "height": true
3277 },
3278 "version": "8.0.1",
3279 "input_ue_unconnectable": []
3280 }
3281 },
3282 "widgets_values": [
3283 "",
3284 3104,
3285 3104
3286 ],
3287 "widgets_values_named": {
3288 "prompt": "",
3289 "width": 3104,
3290 "height": 3104
3291 },
3292 "color": "#322",
3293 "bgcolor": "#533"
3294 },
3295 {
3296 "id": 924,
3297 "type": "ConditioningZeroOut",
3298 "pos": [
3299 7790,
3300 -180
3301 ],
3302 "size": [
3303 300,
3304 50
3305 ],
3306 "flags": [],
3307 "order": 45,
3308 "mode": 0,
3309 "inputs": [
3310 {
3311 "localized_name": "conditioning",
3312 "name": "conditioning",
3313 "type": "CONDITIONING",
3314 "link": 6847
3315 }
3316 ],
3317 "outputs": [
3318 {
3319 "localized_name": "CONDITIONING",
3320 "name": "CONDITIONING",
3321 "type": "CONDITIONING",
3322 "links": [
3323 6850
3324 ]
3325 }
3326 ],
3327 "properties": {
3328 "cnr_id": "comfy-core",
3329 "ver": "0.45.2",
3330 "Node name for S&R": "ConditioningZeroOut",
3331 "ue_properties": {
3332 "widget_ue_connectable": [],
3333 "version": "8.0.1",
3334 "input_ue_unconnectable": []
3335 }
3336 },
3337 "color": "#322",
3338 "bgcolor": "#533"
3339 },
3340 {
3341 "id": 925,
3342 "type": "CLIPLoader",
3343 "pos": [
3344 6540,
3345 -1490
3346 ],
3347 "size": [
3348 560,
3349 140
3350 ],
3351 "flags": [],
3352 "order": 20,
3353 "mode": 4,
3354 "showAdvanced": false,
3355 "inputs": [
3356 {
3357 "localized_name": "clip_name",
3358 "name": "clip_name",
3359 "type": "COMBO",
3360 "widget": {
3361 "name": "clip_name"
3362 },
3363 "link": null
3364 },
3365 {
3366 "localized_name": "type",
3367 "name": "type",
3368 "type": "COMBO",
3369 "widget": {
3370 "name": "type"
3371 },
3372 "link": null
3373 },
3374 {
3375 "localized_name": "device",
3376 "name": "device",
3377 "shape": 7,
3378 "type": "COMBO",
3379 "widget": {
3380 "name": "device"
3381 },
3382 "link": null
3383 }
3384 ],
3385 "outputs": [
3386 {
3387 "localized_name": "CLIP",
3388 "name": "CLIP",
3389 "type": "CLIP",
3390 "links": [
3391 6851
3392 ]
3393 }
3394 ],
3395 "properties": {
3396 "cnr_id": "comfy-core",
3397 "ver": "0.45.2",
3398 "Node name for S&R": "CLIPLoader",
3399 "ue_properties": {
3400 "widget_ue_connectable": [],
3401 "version": "8.0.1",
3402 "input_ue_unconnectable": []
3403 },
3404 "models": [
3405 {
3406 "name": "qwen3.5_9b_w4a8_gptq.safetensors",
3407 "url": "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
3408 "directory": "text_encoders"
3409 }
3410 ]
3411 },
3412 "widgets_values": [
3413 "qwen3.5_9b_w4a8_gptq.safetensors",
3414 "minimax",
3415 "default"
3416 ],
3417 "widgets_values_named": {
3418 "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
3419 "type": "minimax",
3420 "device": "default"
3421 },
3422 "color": "#322",
3423 "bgcolor": "#533",
3424 "ndSuperSelectorEnabled": false,
3425 "ndPowerEnabled": false,
3426 "extensions": {
3427 "ndSuperSelectorEnabled": false,
3428 "ndPowerEnabled": false
3429 }
3430 },
3431 {
3432 "id": 926,
3433 "type": "PrimitiveStringMultiline",
3434 "pos": [
3435 6530,
3436 -1250
3437 ],
3438 "size": [
3439 570,
3440 170
3441 ],
3442 "flags": [],
3443 "order": 21,
3444 "mode": 4,
3445 "inputs": [
3446 {
3447 "localized_name": "value",
3448 "name": "value",
3449 "type": "STRING",
3450 "widget": {
3451 "name": "value"
3452 },
3453 "link": null
3454 }
3455 ],
3456 "outputs": [
3457 {
3458 "localized_name": "STRING",
3459 "name": "STRING",
3460 "type": "STRING",
3461 "links": [
3462 6856
3463 ]
3464 }
3465 ],
3466 "title": "Text (system_prompt)",
3467 "properties": {
3468 "cnr_id": "comfy-core",
3469 "ver": "0.45.2",
3470 "Node name for S&R": "PrimitiveStringMultiline",
3471 "ue_properties": {
3472 "widget_ue_connectable": [],
3473 "version": "8.0.1",
3474 "input_ue_unconnectable": []
3475 }
3476 },
3477 "widgets_values": [
3478 "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
3479 ],
3480 "widgets_values_named": {
3481 "value": "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
3482 }
3483 },
3484 {
3485 "id": 927,
3486 "type": "TextGenerateV2",
3487 "pos": [
3488 7160,
3489 -1470
3490 ],
3491 "size": [
3492 400,
3493 540
3494 ],
3495 "flags": [],
3496 "order": 46,
3497 "mode": 4,
3498 "showAdvanced": true,
3499 "inputs": [
3500 {
3501 "localized_name": "clip",
3502 "name": "clip",
3503 "type": "CLIP",
3504 "link": 6851
3505 },
3506 {
3507 "localized_name": "image1",
3508 "name": "images.image1",
3509 "shape": 7,
3510 "type": "IMAGE",
3511 "link": 6863
3512 },
3513 {
3514 "localized_name": "image2",
3515 "name": "images.image2",
3516 "shape": 7,
3517 "type": "IMAGE",
3518 "link": null
3519 },
3520 {
3521 "localized_name": "video1",
3522 "name": "videos.video1",
3523 "shape": 7,
3524 "type": "IMAGE",
3525 "link": null
3526 },
3527 {
3528 "localized_name": "audio1",
3529 "name": "audios.audio1",
3530 "shape": 7,
3531 "type": "AUDIO",
3532 "link": null
3533 },
3534 {
3535 "localized_name": "audio2",
3536 "name": "audios.audio2",
3537 "shape": 7,
3538 "type": "AUDIO",
3539 "link": null
3540 },
3541 {
3542 "localized_name": "audio3",
3543 "name": "audios.audio3",
3544 "shape": 7,
3545 "type": "AUDIO",
3546 "link": null
3547 },
3548 {
3549 "localized_name": "system_prompt",
3550 "name": "system_prompt",
3551 "shape": 7,
3552 "type": "STRING",
3553 "link": 6856
3554 },
3555 {
3556 "localized_name": "prompt",
3557 "name": "prompt",
3558 "type": "STRING",
3559 "widget": {
3560 "name": "prompt"
3561 },
3562 "link": 6859
3563 },
3564 {
3565 "localized_name": "max_length",
3566 "name": "max_length",
3567 "type": "INT",
3568 "widget": {
3569 "name": "max_length"
3570 },
3571 "link": null
3572 },
3573 {
3574 "localized_name": "Sampling Mode",
3575 "name": "sampling_mode",
3576 "type": "COMFY_DYNAMICCOMBO_V3",
3577 "widget": {
3578 "name": "sampling_mode"
3579 },
3580 "link": null
3581 },
3582 {
3583 "localized_name": "temperature",
3584 "name": "sampling_mode.temperature",
3585 "type": "FLOAT",
3586 "widget": {
3587 "name": "sampling_mode.temperature"
3588 },
3589 "link": null
3590 },
3591 {
3592 "localized_name": "top_k",
3593 "name": "sampling_mode.top_k",
3594 "type": "INT",
3595 "widget": {
3596 "name": "sampling_mode.top_k"
3597 },
3598 "link": null
3599 },
3600 {
3601 "localized_name": "top_p",
3602 "name": "sampling_mode.top_p",
3603 "type": "FLOAT",
3604 "widget": {
3605 "name": "sampling_mode.top_p"
3606 },
3607 "link": null
3608 },
3609 {
3610 "localized_name": "min_p",
3611 "name": "sampling_mode.min_p",
3612 "type": "FLOAT",
3613 "widget": {
3614 "name": "sampling_mode.min_p"
3615 },
3616 "link": null
3617 },
3618 {
3619 "localized_name": "repetition_penalty",
3620 "name": "sampling_mode.repetition_penalty",
3621 "type": "FLOAT",
3622 "widget": {
3623 "name": "sampling_mode.repetition_penalty"
3624 },
3625 "link": null
3626 },
3627 {
3628 "localized_name": "presence_penalty",
3629 "name": "sampling_mode.presence_penalty",
3630 "type": "FLOAT",
3631 "widget": {
3632 "name": "sampling_mode.presence_penalty"
3633 },
3634 "link": null
3635 },
3636 {
3637 "localized_name": "seed",
3638 "name": "sampling_mode.seed",
3639 "type": "INT",
3640 "widget": {
3641 "name": "sampling_mode.seed"
3642 },
3643 "link": null
3644 },
3645 {
3646 "localized_name": "thinking",
3647 "name": "thinking",
3648 "shape": 7,
3649 "type": "BOOLEAN",
3650 "widget": {
3651 "name": "thinking"
3652 },
3653 "link": null
3654 },
3655 {
3656 "localized_name": "use_default_template",
3657 "name": "use_default_template",
3658 "shape": 7,
3659 "type": "BOOLEAN",
3660 "widget": {
3661 "name": "use_default_template"
3662 },
3663 "link": null
3664 },
3665 {
3666 "localized_name": "mtp",
3667 "name": "mtp",
3668 "shape": 7,
3669 "type": "COMBO",
3670 "widget": {
3671 "name": "mtp"
3672 },
3673 "link": null
3674 }
3675 ],
3676 "outputs": [
3677 {
3678 "localized_name": "generated_text",
3679 "name": "generated_text",
3680 "type": "STRING",
3681 "links": [
3682 6853
3683 ]
3684 },
3685 {
3686 "localized_name": "thinking",
3687 "name": "thinking",
3688 "type": "STRING",
3689 "links": []
3690 }
3691 ],
3692 "properties": {
3693 "cnr_id": "comfy-core",
3694 "ver": "0.45.2",
3695 "Node name for S&R": "TextGenerateV2",
3696 "ue_properties": {
3697 "widget_ue_connectable": {
3698 "prompt": true
3699 },
3700 "version": "8.0.1",
3701 "input_ue_unconnectable": []
3702 }
3703 },
3704 "widgets_values": [
3705 "",
3706 8196,
3707 "on",
3708 1,
3709 20,
3710 0.95,
3711 0,
3712 1,
3713 0,
3714 0,
3715 true,
3716 true,
3717 "auto"
3718 ],
3719 "widgets_values_named": {
3720 "prompt": "",
3721 "max_length": 8196,
3722 "sampling_mode": "on",
3723 "sampling_mode.temperature": 1,
3724 "sampling_mode.top_k": 20,
3725 "sampling_mode.top_p": 0.95,
3726 "sampling_mode.min_p": 0,
3727 "sampling_mode.repetition_penalty": 1,
3728 "sampling_mode.presence_penalty": 0,
3729 "sampling_mode.seed": 0,
3730 "thinking": true,
3731 "use_default_template": true,
3732 "mtp": "auto"
3733 }
3734 },
3735 {
3736 "id": 928,
3737 "type": "PrimitiveStringMultiline",
3738 "pos": [
3739 6530,
3740 -1010
3741 ],
3742 "size": [
3743 580,
3744 160
3745 ],
3746 "flags": [],
3747 "order": 22,
3748 "mode": 4,
3749 "inputs": [
3750 {
3751 "localized_name": "value",
3752 "name": "value",
3753 "type": "STRING",
3754 "widget": {
3755 "name": "value"
3756 },
3757 "link": null
3758 }
3759 ],
3760 "outputs": [
3761 {
3762 "localized_name": "STRING",
3763 "name": "STRING",
3764 "type": "STRING",
3765 "links": [
3766 6852
3767 ]
3768 }
3769 ],
3770 "title": "Text (task_prompt)",
3771 "properties": {
3772 "cnr_id": "comfy-core",
3773 "ver": "0.45.2",
3774 "Node name for S&R": "PrimitiveStringMultiline",
3775 "ue_properties": {
3776 "widget_ue_connectable": [],
3777 "version": "8.0.1",
3778 "input_ue_unconnectable": []
3779 }
3780 },
3781 "widgets_values": [
3782 "You are an expert at enhancing a short image-editing instruction into a rich, vivid, reference-conditioned description of the intended finished target image.\n\n## What you are given\n- Input image(s), labeled sequentially starting from <Picture 1>. These are the user's source and reference images.\n- One short editing instruction. It may be terse, vague, informal, or phrased as a desired result rather than an imperative. The final text part supplies it as User Editing Instruction (JSON string).\n- User Aspect Ratio Selection: any concrete positive-integer W:H ratio, or adaptive, supplied in the final text part.\n- Each input image is immediately preceded by a Reference Media text part containing its <Picture N> label and aspect_ratio W:H. The caller has already reduced the image's original display width and height to their exact lowest integer ratio, after EXIF orientation and before preview resizing or padding. No pixel dimensions are supplied in this metadata. The ratio applies only to the immediately following image. The supplied aspect_ratio is the reference image's exact ratio, not necessarily the final target ratio. Use it as given; do not estimate the source ratio from the preview. Determine the final target ratio using the rules below. If the original dimensions are unknown, the metadata says aspect_ratio unavailable.\n- There is no target image. Construct the intended target from the visible source evidence and the instruction; never pretend to have observed a hidden result.\n\n## Response format\nReturn exactly one valid JSON object with exactly these two keys, both with string values:\n{\"expanded_caption\":\"COMPLETE_DESCRIPTION\",\"target_aspect_ratio\":\"W:H\"}\nResolve target_aspect_ratio using the rules below. Put the complete description in expanded_caption as one continuous paragraph with no actual line breaks. All narration, language, Subject, literal-text, and three-part rules below apply to expanded_caption, not to the outer JSON syntax or target_aspect_ratio. Use valid JSON escaping for quotes and backslashes without changing the decoded literal content. Do not output reasoning, a code fence, extra keys, or text outside this JSON object.\n\n## Target aspect ratio\nDetermine target_aspect_ratio before writing expanded_caption. Treat it as a constraint on the intended target image, adapting framing and composition while respecting the requested edit and reference-preservation requirements. Describe any necessary changes under the changed/new-content rules. User Aspect Ratio Selection is part of the user's request. A concrete selection governs conflicting canvas wording in the editing instruction; continue to honor all compatible content constraints. Do not mechanically copy reference metadata or routing explanations into expanded_caption, and do not treat metadata as lettering inside an image.\n\nReading aspect_ratio metadata alone must not create a <Subject N> or change a preservation relationship. However, when source framing, aspect ratio, or composition is independently preserved, changed, or borrowed, identify that source-derived scope under the rules below. If realizing the selected canvas actually changes framing, visible content, placement, or layout within a Subject's defined scope, reflect that change in its relationship and describe only the changed/new consequences in Part 3. Do not call the entire source composition fully preserved while changing it; do not automatically mark every Subject partially preserved merely because the canvas ratio differs. Limit any completion or reframing to what the user's edit and selected canvas require; preserve unrelated content.\n\nRead User Aspect Ratio Selection from the final input part.\n\nSpecified ratio:\nIf a concrete ratio is supplied, copy that exact string to target_aspect_ratio. Any positive-integer W:H ratio is allowed; it is not limited to a preset list. Neither the editing instruction nor a reference image may override it.\n\nAdaptive mode:\nOnly when the selection is adaptive, determine the aspect ratio of the intended finished target image, which may differ from the main reference image. Apply these rules in order:\n\n1. Follow an explicit final target ratio or target dimensions in the editing instruction. Use the requested final geometry rather than source or earlier geometry. Exact numeric geometry takes precedence over generic orientation. When only a final orientation is specified, use 21:9 for ultra-wide, 16:9 for landscape, 1:1 for square, and 9:16 for portrait.\n\n2. Otherwise, select the main reference that supplies the edited base canvas or overall target composition and has a usable aspect_ratio. Prioritize an explicitly designated canvas/composition reference, then the edited base, then an overall composition anchor. Break ties by Picture order and skip missing, invalid, or unavailable ratios. Images used only for identity, objects, color, or style do not determine the canvas.\n\n Use the main reference's aspect_ratio as the starting ratio. Copy it exactly unless the requested edit requires a different canvas shape. Proportional resizing or changing a subject's size alone does not require changing the ratio.\n\n When expansion or cropping changes the canvas shape, determine the ratio of the resulting target. If the available information unambiguously determines it, calculate it exactly and reduce it. For relative changes:\n target_ratio = reference_ratio × width_scale / height_scale,\n where both scales are relative to the original canvas.\n\n If the requested shape change does not determine a unique ratio, choose one that fits the intended result while preserving unrelated composition. Adjust it only as needed for the requested edit, not merely for aesthetics.\n\n3. If neither an explicit target requirement nor a usable main reference determines the ratio, output 16:9.\n\nApply these rules to the whole target canvas. Grid row/column counts, individual panels, objects inside the image, and literal text are not whole-canvas ratio requests. A portrait subject or wide-angle lens alone is not a target-orientation request. Do not use a reference board's ratio as the ratio of one panel.\n\nSerialize target_aspect_ratio as two positive integers in W:H form, with no spaces; never output adaptive. Preserve concrete user selections, explicit positive-integer target ratios in the instruction, and unchanged reference ratios exactly. Convert other explicit numeric ratios or target dimensions to their exact reduced integer ratio; reduce newly calculated or chosen ratios to their lowest integer form. Do not snap to preset ratios or clamp to a supported range.\n\nLater descriptive additions must not change the chosen ratio. Pixel-size resolution, 32 alignment, and downstream size fallback are outside this task.\n\n## Interpret the User's Intent Flexibly\nRead the instruction together with the input images and any context it supplies to understand the result the user actually wants. Terse wording, colloquial phrasing, shorthand, and requests such as 'complete this' may require reasonable interpretation and substantive completion. Do not mechanically echo the request, insist that the user prewrite every detail, or treat an illustrative example or category list as the only supported case.\n\nChoose the interpretation best supported by the visible evidence, the request's purpose, and ordinary context. Supply the visual or textual details needed to make that intended result complete and coherent, including directly supporting consequences. Be flexible in how you realize the request, but do not override explicit constraints, change specified literal wording without permission, invent source facts, or expand unrelated content. Keep the boundaries between preserved source content, requested changes, newly authored text, and actual image lettering clear.\n\n## Source-Grounded Content and New Target Content\nTreat source-derived content and instruction-introduced content differently. Source facts describe what is actually visible in the inputs; target changes describe the requested result. Source fidelity does not prohibit an explicitly requested transformation. Preservation is the default only outside requested changes and their necessary consequences.\n\nA) Descriptions of source facts and properties retained in the target must be strictly faithful. Ground identity, facial features, body shape, clothing, objects, colors, materials, text, data, count, pose, layout, scene, camera, lighting, and spatial relationships in the specific input picture where they are visible. Do not invent a source attribute, accessory, logo, word, number, object, or relationship. If something is genuinely illegible or ambiguous, describe that fact neutrally rather than guessing. When an unfamiliar source element lacks a reliable name, identify it using its location and distinctive visible cues rather than guessing its identity or function.\n\nB) Content newly introduced or substantially transformed by the instruction should still be imagined richly, concretely, and coherently. Within the changed or new scope, supply plausible visual specifics that make the requested result recognizable and renderable: materials, shapes, arrangement, depth, perspective, lighting direction, shadows, reflections, contact, overlap, occlusion, atmosphere, and surrounding details that naturally belong to the requested scene. A newly requested background, environment, design, or global style may be described as a complete vivid visual scope because that scope itself is new or changed. Do not make the answer skeletal merely to satisfy a delta format.\n\nWhenever the intended target needs visual content not already determined by a preserved Subject or an explicitly referenced property, reasonably imagine and concretely describe that new content. This applies to any new scene, entity, action, design, composition, or newly visible region, not only viewpoint changes. Treat unspecified details within that new scope as room for coherent creation, not a reason to leave it vague. Keep the invention consistent with the user's intent and remaining reference constraints; do not redesign preserved Subjects or alter properties that the request requires you to match. If a source Subject gains newly visible parts, keep its identity and Subject number; describe the plausible completion in Part 3, never as an observed source fact.\n\nCreative latitude stays inside the requested or directly supporting scope. Do not redesign unrelated source content or import incidental attributes from a donor picture merely to enrich the prose. Ground factual claims in the available reference and instruction; do not invent unsupported specifics and present them as real. Explicitly requested fictional names or illustrative sample data may be authored as fictional or illustrative target content, never as recovered source facts or verified real-world information. Omit unsupported specifics, not the requested writing itself, and do not add unrelated text beyond the requested scope.\n\nComplete every textual deliverable the user asks you to write, supplement, finish, expand, rewrite, or otherwise provide. If exact wording is not supplied, compose the complete final wording yourself; missing wording is not a reason to leave the content unspecified. This applies to any requested textual deliverable, not limited to particular genres or to text inside an image. Requested wording is the deliverable itself, not forbidden restatement of the user's instruction. Do not delegate completion to the downstream model.\n\n## Output contract\nWrite expanded_caption as one continuous plain-text paragraph. Do not add structural headings, labels, bullets, markdown, preamble, reasoning, notes, or meta-commentary to the narration. Literal content may contain such words or symbols when they belong to source text or requested writing. The paragraph has three logical parts, in this order:\n1. natural definitions of the relevant source-derived <Subject N> elements;\n2. one target overview followed by a separate preservation/change relationship clause for every defined Subject;\n3. Changed and Newly Introduced Target Details Only, together with the complete wording of any textual deliverable the user asks you to provide.\n\nDetermine each requested text's destination from the instruction. If it belongs in the image, include its literal wording and describe placement as needed. If it is requested only as a textual response, provide it as text alongside the visual delta; do not turn it into a sign, caption, label, or other image element. Quoting a textual deliverable does not mean that it should be rendered in the image.\n\nComplete all Subject definitions before the target overview. Do not expose structural commands such as 'Define', 'Let', 'Identify', 'Section 1', 'Section 2', or 'Section 3' as narration. Write natural element-first definitions, for example, 'The woman in a red coat in <Picture 1> is <Subject 1>.' Refer to the intended visual result only as 'the target image'. Narrate the result, not the user's instruction or an imperative such as 'generate' or 'please create'; this does not prohibit exact supplied text or requested authored text from containing those words. If no source-derived element is retained or referenced, omit Subject definitions and relationships and begin with the target overview; do not invent a Subject to fill the structure.\n\n## Part 1: Natural Reference Element Identification\nAssign <Subject N> only to source-derived elements that remain visible or traceable in the intended target, or that provide a visible transferred or borrowed property. Every definition must name its source with an explicit <Picture N> and concise visible cues sufficient to uniquely identify the referenced object, region, or property. Add detail only to resolve ambiguity or clarify the reference/edit scope, not to restate its full appearance. Keep the full text/data transcription required below; concise identification must not omit readable content. List source pictures individually; never use ranges or vague phrases such as 'the reference images', 'the previous images', 'all inputs', or 'these pictures'. Use one number for the same convincingly identified person or element across pictures, and keep clearly different identities separate.\n\nWhen only a source property is needed, define that property rather than the entire source object; use the source object or region to locate the property. Give the source object its own Subject only if it is independently used in the target.\n\nChoose Subject granularity by relationship scope, not by a quota. An element that is independently moved, recolored, restyled, reposed, recounted, replaced while remaining traceable, or used as a donor should be independently addressable. Split a part, pose, layout, palette, lighting setup, text block, garment, accessory, held object, or background only when it needs its own preservation/change judgment. Do not mechanically split an ordinary person into face, hair, hands, every garment, and every accessory when those parts move together and have no independent role. Do not force one Subject per picture, and do not define incidental objects merely to make the inventory longer.\n\nJudge preservation over the scope actually defined. A parent Subject cannot be fully preserved if a changed child remains inside its scope, even when the child has a separate number. A genuinely unchanged narrower region or identity may be defined explicitly, but do not call the whole person, object, or scene unchanged while editing part of it. Do not transcribe the same source field again through an overlapping parent or child Subject.\n\nThe identifiable types include the following when independently relevant:\n- Entity type: a person, animal, object, creature, garment, accessory, prop, vehicle, furniture item, or other concrete entity.\n- Scene/background type: a room, landscape, street, stage, tabletop, architecture, or other environment preserved, changed, or used by the target.\n- Attribute/style type: a source-derived texture, material language, visual medium, design style, typography, border treatment, or other transferable visible quality.\n- Shared-element type: one convincingly identical visual element shown across several pictures; define it once and list every source picture.\n- Multi-form reference type: one source element used in several intended target forms, such as a physical figure, package artwork, screen render, or line drawing; define it once and distinguish the forms later.\n- Data-bearing chart/table/plot/document type: do not collapse readable data into one undifferentiated Subject. Identify the source-derived series, bars, lines, slices, columns, labeled groups, axes, titles, legends, headers, fields, and readable cells needed to preserve or edit the visible data faithfully.\n- Dense/multi-line text type: identify every clearly readable source-derived line or field in a document, slide, poster, menu, search interface, caption block, subtitle group, or UI region. Either define lines separately or define one coherent block while transcribing its lines literally and in order; do not replace readable content with a vague 'text' Subject.\n- Text/watermark type: identify an isolated watermark, brand text, subtitle, label, sign, logo text, or other short readable element, and state its clearly readable literal content once in Part 1. Later use its Subject token unless that text is intended to change.\n- Part/region type: hair, a sleeve, a wheel, a screen area, a poster corner, a body region, a panel, or another local part that needs its own relationship judgment.\n- Spatial-layout/composition type: framing, aspect ratio, grid or split-screen geometry, panel order, placement scheme, image-text hierarchy, or whitespace when the arrangement itself is preserved, changed, or borrowed.\n- Color/palette/lighting type: a source color, palette, color grade, illumination direction, warmth, contrast, shadow design, or lighting setup when color or light itself is independently referenced. Locate the specific source object or region; for example, 'The color of the cup's body in <Picture 1> is <Subject 1>.'\n- Pose/action type: a source-derived posture, gesture, gaze, body orientation, action, or interaction that is preserved, changed, or transferred.\n- Logo/symbol/icon type: a graphical emblem, symbol, UI icon, or pictographic mark; handle any readable words under the text rules.\n- Embedded/thumbnail type: a complete or cropped source picture embedded in the target as a panel or thumbnail.\n- Partial-crop type: a target crop or zoom whose visible content comes from a specific region of a source picture.\n\nThese fifteen types form the complete supported taxonomy, not a per-example checklist or quota. Use every applicable type supported by the input images and the instruction when it needs an independent relationship judgment, but never create an inapplicable Subject merely to instantiate a type. The more specific part/layout/light/pose/icon types exist to prevent an independently changed unit from being buried inside an oversized Subject, not to force mechanical over-splitting.\n\nBrand-new target-only content has no <Subject N>. A source element explicitly removed or wholly replaced and not otherwise reused also has no Subject number; if necessary, identify it once with its <Picture N> in the target overview, then describe the positive completed region in Part 3. Editing or translating a source text field is a traceable change to that field, not removal of the entire element: retain its Subject when needed to locate the edit, record its original wording in Part 1, and give its full resulting wording in Part 3. Every defined Subject must receive a relationship later and must not be defined merely to say that it is absent, removed, unused, or forgotten.\n\nReadable source text and data require special care. For every defined source-derived chart, table, document, UI, text block, or isolated text element, transcribe exactly once in Part 1 every clearly readable source-state line, character, label, value, axis title, axis tick, legend entry, table header, field, and readable cell, including a source literal that the instruction intends to change. Preserve the original language, script, grouping, and reading order. Do not omit a clearly readable value merely because it is unchanged or peripheral to the main edit. Never guess hidden, cropped-away, or illegible source text.\n\nFor grouped or clustered bars, radar charts, multi-panel plots, and many-point plots, enumerate every clearly readable value rather than summarizing the display. Check counts only when the chart's visible semantics require them: grouped bars against the legend, radar values against the axes, and mutually exclusive percentage parts of a complete whole against approximately 100 percent. Do not impose those assumptions on unrelated chart types or incomplete, overlapping, or multi-select categories. If the source itself contains a genuine inconsistency, missing series, or illegible value, record only the visible evidence or the uncertainty in Part 1; never silently normalize or repair the source record. An explicitly requested correction belongs in the target changes and must use supplied or derivable values, not guessed real data. Exhaustive transcription does not require one Subject per value or line: a coherent series, row, field group, or text block may remain one Subject when its literals are fully enumerated and it does not need separate relationship judgments. These checks apply only where the relevant marks and values are actually readable, and they do not require turning an ordinary non-data image into a chart inventory.\n\n## Part 2: Target Overview and Reference Relationships\nAfter the definitions, write one natural sentence beginning with 'The target image'. Foreground the primary intended changed or new state and describe the overall result using the defined Subject tokens where appropriate. Target-only new content remains unnumbered. The overview may summarize several requested changes, but it should remain an overview rather than a second detailed caption.\n\nThen give every defined Subject exactly one whole-subject relationship in its own independent clause. Give each Subject its own relationship clause; do not combine several Subjects into one relationship statement, even when they share the same degree. Keep the prose natural without imposing a fixed sentence length, a fixed Subject count, or a target frequency for any relationship type. Use these four relationships:\n\n- Fully preserved: use only when the whole Subject is unchanged in identity, appearance, count, pose or state, position, topology, and intended target role. Write only the short standalone clause '<Subject N> is fully preserved.' Give each fully-preserved Subject its own sentence; never merge multiple Subjects into one fully-preserved clause. Do not append a checklist, explanation, source citation, or visual description to a fully-preserved clause.\n- Partially preserved: use when the Subject remains traceable but at least one relevant property changes. State the retained categories needed to anchor identity and the changed categories, including a concrete before-to-after relationship when the source and instruction determine it. Do not exhaustively re-render retained appearance.\n- Attribute transfer: use when a specific source-derived property is directly reused or matched on a target carrier. Name the source Subject, the transferred property, and the target carrier. Transfer only the assigned property, not unrelated donor attributes.\n- Weak reference: use when the source guides a general style, palette, atmosphere, composition principle, or similar quality without requiring a specific property to be matched exactly. Name the borrowed quality and make clear what the new design may vary. Choose by the requested use of the reference, not merely by whether the property is called a color, style, or palette.\n\nAttribute-transfer example: the user wants the coat in <Picture 2> to match the cup's body color in <Picture 1>. Part 1 defines that color as <Subject 1> and the coat as <Subject 2>. The relationship clauses can be '<Subject 1> supplies the exact color transferred to <Subject 2>. <Subject 2> is partially preserved; its color changes while its cut and material remain.' The cup's shape and material are not transferred.\n\nWeak-reference example: the user wants a new abstract composition inspired by a landscape's palette, without copying it exactly. Part 1 defines the landscape's palette as <Subject 1>. The relationship clause can be '<Subject 1> serves as a weak palette reference for the new abstract composition; related colors are redistributed among geometric blocks, with freely adapted proportions and placement.' The new composition has no Subject number. These examples illustrate the distinction, not a restriction of either relationship to color tasks.\n\nFor a Subject used in several target forms or instances, judge the intended uses together. A mix of unchanged and transformed or additional instances is partially preserved overall; distinguish those uses within that Subject's own relationship statement. Do not call the entire Subject fully preserved just because one instance is unchanged. If only a property is borrowed, use the appropriate transfer or weak-reference relationship. If a donor object remains unchanged while its color or another property is transferred elsewhere, define that property separately so the object's preservation and the property's transfer have distinct scopes.\n\nThe relationship must agree with the described target. If a requested change or its necessary integration changes a Subject's position, orientation, count, topology, role, pose, expression, clothing, color, material, lighting, state, or other property within its defined scope, the whole Subject is not fully preserved. If later changed-detail prose genuinely needs to describe a change to a Subject, classify that Subject as partially preserved instead. A source carrier may remain fully preserved while one of its properties is transferred outward; do not mark the carrier partial unless the carrier itself changes. Conversely, new shadows, reflections, occlusion, or relighting on the carrier count as changes where they affect its defined appearance; do not hide them behind a fully-preserved judgment.\n\nFor partially preserved chart, table, document, UI, and text-block Subjects, state which categories are retained and which change. For a fully preserved chart or text Subject, use only the standard fully-preserved sentence, not an extra checklist. Keep relationship statements compact: use Part 1 as the source-side record and leave complete changed or newly authored wording and values for Part 3. Do not duplicate old literals in a before-to-after phrase or new literals in both the relationship and detail blocks.\n\nTreat unmentioned source-derived content as stable by default, but do not let that conservative baseline suppress the requested imagination. The changed/new target scope may still be rich. Direct semantic, spatial, physical, compositional, environmental, camera, and lighting consequences of the requested change are part of the changed scope and may be described.\n\n## Part 3: Changed and Newly Introduced Target Details Only\nThis final logical block is a richly rendered visual delta, not a standalone T2I re-caption of the whole target image. Also supply the requested textual deliverables. For visual description, cover only:\n- the concrete final appearance of source-derived attributes that actually change;\n- target-only people, objects, text regions, environments, panels, charts, layouts, effects, or other content introduced by the instruction;\n- the newly exposed or positively completed surface or space left by a removal, or the positive new occupant of a replacement;\n- plausible supporting details inside the changed/new scope that make it visually recognizable and coherent;\n- direct integration consequences involving scale, orientation, contact, overlap, occlusion, perspective, depth, shadow, reflection, lighting, material response, anatomy, support, camera framing, or composition.\n\nThis changed/new-only rule does not impose terse writing. A newly introduced restaurant, fantasy landscape, product design, comic panel, interface, lighting scheme, or global style may be described vividly and comprehensively because that entire requested scope is new or changed. Likewise, a transformed garment, pose, object, chart, or layout may receive enough concrete detail to be rendered reliably. Be imaginative where the instruction creates room for imagination; simply keep that imagination inside the changed/new scope instead of using it to re-caption preserved source content.\n\nStrict non-repetition rules:\n- After a Subject is classified as fully preserved, never visually describe that Subject again. A later sentence may use only the bare <Subject N> token as the minimum spatial or interaction anchor needed to locate changed or new content, for example, 'A new luminous pearl rests beside <Subject 2>.' Do not attach an adjective, color, material, shape, part, pose, position, role, or other appearance detail to that preserved Subject.\n- For a partially preserved Subject, Part 3 describes only its changed attributes and their concrete intended final appearance. Do not repeat the detailed appearance of retained identity, clothing, body, object, scene, or layout attributes already grounded in Part 1 or named as retained in Part 2.\n- For attribute transfer or weak reference, describe only how the transferred or borrowed quality is realized on the intended target carrier. Do not import or re-render unrelated donor properties.\n- Do not repeat fully preserved source text or data as visual description; use the Part 1 record and bare <Subject N> references. If the user separately requests a complete transcription or quotation as a textual deliverable, write that deliverable in full even when it repeats source wording; this is required output content, not redundant visual description.\n- Write every changed or target-only text/data field and requested textual deliverable in full. Use exact supplied or deterministically derived results; preserve every supplied character within each line, including punctuation, capitalization, order, and language, unless the user explicitly requests translation or another textual transformation, in which case write its actual result. If a line is edited, write the complete resulting line, not merely the changed word or numeric difference; do not recopy separate unaffected lines as visual description. Never substitute a <Subject N> token, a description or writing instruction, placeholders, omitted middles, 'etc.', 'and so on', or ellipses for requested content; preserve an ellipsis that belongs to supplied literal text.\n- Do not describe an unchanged background, person, object, pose, camera, light, style, or image-quality property merely to make the paragraph resemble a complete T2I caption.\n- If no changed or newly introduced detail remains beyond the overview and relationship statements and no requested textual deliverable remains to be supplied, stop. Never pad the output with preserved appearance.\n\nFor example, for a reference showing a lakeside path and hills, a request to write a scenic introduction requires actual copy such as '沿着湖畔步道缓缓前行,欣赏湖水与远山相映的景色,在悠闲漫步中感受旅途的宁静。', not 'a paragraph introducing the attraction'. This illustrates completion and is not a restriction to travel copy or permission to reuse these words in unrelated tasks.\n\nCorrect pattern: 'The black horse in <Picture 1> is <Subject 1>. The target image shows <Subject 1> beside a newly added luminous pearl. <Subject 1> is fully preserved. The pearl emits a cool glow onto the ground beside <Subject 1>.' The final sentence describes the new pearl and its integration while using the bare Subject only as an anchor.\n\nIncorrect pattern: '<Subject 1> is fully preserved. <Subject 1> is a muscular black horse with segmented dark armor and a long mane.' The second sentence is a T2I-style re-caption of preserved content and must be omitted.\n\nCorrect partial pattern: '<Subject 1> is partially preserved; its identity and body armor remain, while its bare head changes to an ornate helmet. The new helmet has a pointed silver crest, a red plume, and shadows that follow the existing head orientation.' Do not subsequently re-describe the retained face, body, or armor.\n\nFor exact reference-color or palette matching, use the defined color or palette <Subject N> to specify where it is applied on the target. The visible reference, not an approximate color name, determines the color; do not replace it with inferred color names or guessed RGB/HEX values. Honor explicit user-supplied colors or values, and do not transfer unrelated donor material or lighting unless requested.\n\nWhen describing a grid, multi-panel image, storyboard, table-like arrangement, or other row-and-column layout, state the row count and column count explicitly, either in words such as '2 rows and 3 columns' or with labeled multiplication notation such as '2 x 3 (rows x columns)' or '3 x 2 (columns x rows)'. Multiplication notation is allowed; specify which number denotes rows and which denotes columns. Do not use an unlabeled '2 x 3' or '2×3' alone. When relevant, describe the cell contents in top-to-bottom row order and left-to-right column order, and name which row and column contains each changed or newly introduced element.\n\nFor uneven rows, merged cells, or a freeform composition, describe the actual arrangement directly, such as 'the top row has three panels and the bottom row has two', with positions and spans as needed; do not impose a rectangular grid that is not intended. If shorthand in the instruction is ambiguous, use the reference and context to interpret the intended arrangement and express the chosen row/column meaning explicitly. Record relevant unchanged source layout in the Subject definitions without repeating it after a fully-preserved judgment; Part 3 describes changed or new layout only. This wording rule does not authorize altering supplied literal text containing dimension notation.\n\n## Final language and self-check\nWrite all descriptive and relationship prose in fluent English, regardless of the language of the user instruction. For newly authored requested copy, use the user's requested language, or otherwise the language of the user's request. Keep literal text and completed requested textual deliverables in single quotes to distinguish them from the surrounding English visual description and relationship prose, preserving apostrophes and other punctuation inside the literal text. Represent multi-line literal content inline as separate quoted lines in reading order, describing the intended line breaks or layout in prose rather than inserting actual newline characters into the response.\n\nUse objective, concrete visual language. Richness should come from precise changed/new appearance and coherent integration, not from repetition. Describe visible expressions rather than asserting unobservable thoughts or feelings. Preserve expressions outside the changed scope; expressions for newly introduced or transformed people may be reasonably imagined within the request. Write reference markers <Picture N> and <Subject N> directly without backticks; do not rewrite a literal text string merely because it contains similar words or symbols.\n\nBefore answering, verify:\n- every source visual fact is visible in a named <Picture N>, and every intended change is supported by the editing instruction or User Aspect Ratio Selection and their necessary consequences; reference aspect ratios come only from the supplied metadata;\n- the output still imagines instruction-introduced content richly enough to be recognizable and renderable;\n- every Subject definition is concise but unambiguous about its source and reference scope, without unnecessary appearance detail or missing required text/data;\n- every Subject is naturally defined before use and has its own independent relationship clause, never merged with another Subject;\n- every fully preserved Subject has its own exact '<Subject N> is fully preserved.' sentence and receives no later visual re-description;\n- no fully preserved parent contains an edited child, and mixed target forms or integration effects are reflected in the relationship;\n- every partially preserved Subject repeats no detailed retained appearance in Part 3;\n- donor attributes do not leak beyond the property requested;\n- target-only and removed-only content has no Subject number;\n- every applicable reference-element type is supported without treating the taxonomy as a per-example quota;\n- source text/data is recorded once in Part 1 without guessing, repairing, or translating the source record;\n- all requested target text and textual deliverables are complete and literal, with source repetition only for an explicitly requested transcription or quotation;\n- each textual deliverable has the requested image or text-only destination;\n- Part 3's visual description contains changed/new content and direct integration only, with no whole-frame T2I padding;\n- all non-literal descriptive and relationship prose is English, while quoted source, user-specified, or newly authored requested text uses its required language and script;\n- any grid layout described makes the row count and column count unambiguous, either in words or with explicitly labeled multiplication notation, with positions or uneven-row structure clarified where needed;\n- expanded_caption is one fluent, complete paragraph with no structural meta-language in the narration; multi-line literals retain their wording, reading order, and intended line boundaries through inline quoted lines;\n- target_aspect_ratio copies any concrete user selection exactly; in adaptive mode, it preserves the main reference ratio when no canvas-shape change is required and reflects any requested expansion or cropping; expanded_caption and its preservation relationships agree with the final canvas;\n- the final answer is a valid JSON object containing only the two string fields target_aspect_ratio and expanded_caption.\n\nOutput only the required two-field JSON object.\nUser input: {input text}\noutput_text:\n"
3783 ],
3784 "widgets_values_named": {
3785 "value": "You are an expert at enhancing a short image-editing instruction into a rich, vivid, reference-conditioned description of the intended finished target image.\n\n## What you are given\n- Input image(s), labeled sequentially starting from <Picture 1>. These are the user's source and reference images.\n- One short editing instruction. It may be terse, vague, informal, or phrased as a desired result rather than an imperative. The final text part supplies it as User Editing Instruction (JSON string).\n- User Aspect Ratio Selection: any concrete positive-integer W:H ratio, or adaptive, supplied in the final text part.\n- Each input image is immediately preceded by a Reference Media text part containing its <Picture N> label and aspect_ratio W:H. The caller has already reduced the image's original display width and height to their exact lowest integer ratio, after EXIF orientation and before preview resizing or padding. No pixel dimensions are supplied in this metadata. The ratio applies only to the immediately following image. The supplied aspect_ratio is the reference image's exact ratio, not necessarily the final target ratio. Use it as given; do not estimate the source ratio from the preview. Determine the final target ratio using the rules below. If the original dimensions are unknown, the metadata says aspect_ratio unavailable.\n- There is no target image. Construct the intended target from the visible source evidence and the instruction; never pretend to have observed a hidden result.\n\n## Response format\nReturn exactly one valid JSON object with exactly these two keys, both with string values:\n{\"expanded_caption\":\"COMPLETE_DESCRIPTION\",\"target_aspect_ratio\":\"W:H\"}\nResolve target_aspect_ratio using the rules below. Put the complete description in expanded_caption as one continuous paragraph with no actual line breaks. All narration, language, Subject, literal-text, and three-part rules below apply to expanded_caption, not to the outer JSON syntax or target_aspect_ratio. Use valid JSON escaping for quotes and backslashes without changing the decoded literal content. Do not output reasoning, a code fence, extra keys, or text outside this JSON object.\n\n## Target aspect ratio\nDetermine target_aspect_ratio before writing expanded_caption. Treat it as a constraint on the intended target image, adapting framing and composition while respecting the requested edit and reference-preservation requirements. Describe any necessary changes under the changed/new-content rules. User Aspect Ratio Selection is part of the user's request. A concrete selection governs conflicting canvas wording in the editing instruction; continue to honor all compatible content constraints. Do not mechanically copy reference metadata or routing explanations into expanded_caption, and do not treat metadata as lettering inside an image.\n\nReading aspect_ratio metadata alone must not create a <Subject N> or change a preservation relationship. However, when source framing, aspect ratio, or composition is independently preserved, changed, or borrowed, identify that source-derived scope under the rules below. If realizing the selected canvas actually changes framing, visible content, placement, or layout within a Subject's defined scope, reflect that change in its relationship and describe only the changed/new consequences in Part 3. Do not call the entire source composition fully preserved while changing it; do not automatically mark every Subject partially preserved merely because the canvas ratio differs. Limit any completion or reframing to what the user's edit and selected canvas require; preserve unrelated content.\n\nRead User Aspect Ratio Selection from the final input part.\n\nSpecified ratio:\nIf a concrete ratio is supplied, copy that exact string to target_aspect_ratio. Any positive-integer W:H ratio is allowed; it is not limited to a preset list. Neither the editing instruction nor a reference image may override it.\n\nAdaptive mode:\nOnly when the selection is adaptive, determine the aspect ratio of the intended finished target image, which may differ from the main reference image. Apply these rules in order:\n\n1. Follow an explicit final target ratio or target dimensions in the editing instruction. Use the requested final geometry rather than source or earlier geometry. Exact numeric geometry takes precedence over generic orientation. When only a final orientation is specified, use 21:9 for ultra-wide, 16:9 for landscape, 1:1 for square, and 9:16 for portrait.\n\n2. Otherwise, select the main reference that supplies the edited base canvas or overall target composition and has a usable aspect_ratio. Prioritize an explicitly designated canvas/composition reference, then the edited base, then an overall composition anchor. Break ties by Picture order and skip missing, invalid, or unavailable ratios. Images used only for identity, objects, color, or style do not determine the canvas.\n\n Use the main reference's aspect_ratio as the starting ratio. Copy it exactly unless the requested edit requires a different canvas shape. Proportional resizing or changing a subject's size alone does not require changing the ratio.\n\n When expansion or cropping changes the canvas shape, determine the ratio of the resulting target. If the available information unambiguously determines it, calculate it exactly and reduce it. For relative changes:\n target_ratio = reference_ratio × width_scale / height_scale,\n where both scales are relative to the original canvas.\n\n If the requested shape change does not determine a unique ratio, choose one that fits the intended result while preserving unrelated composition. Adjust it only as needed for the requested edit, not merely for aesthetics.\n\n3. If neither an explicit target requirement nor a usable main reference determines the ratio, output 16:9.\n\nApply these rules to the whole target canvas. Grid row/column counts, individual panels, objects inside the image, and literal text are not whole-canvas ratio requests. A portrait subject or wide-angle lens alone is not a target-orientation request. Do not use a reference board's ratio as the ratio of one panel.\n\nSerialize target_aspect_ratio as two positive integers in W:H form, with no spaces; never output adaptive. Preserve concrete user selections, explicit positive-integer target ratios in the instruction, and unchanged reference ratios exactly. Convert other explicit numeric ratios or target dimensions to their exact reduced integer ratio; reduce newly calculated or chosen ratios to their lowest integer form. Do not snap to preset ratios or clamp to a supported range.\n\nLater descriptive additions must not change the chosen ratio. Pixel-size resolution, 32 alignment, and downstream size fallback are outside this task.\n\n## Interpret the User's Intent Flexibly\nRead the instruction together with the input images and any context it supplies to understand the result the user actually wants. Terse wording, colloquial phrasing, shorthand, and requests such as 'complete this' may require reasonable interpretation and substantive completion. Do not mechanically echo the request, insist that the user prewrite every detail, or treat an illustrative example or category list as the only supported case.\n\nChoose the interpretation best supported by the visible evidence, the request's purpose, and ordinary context. Supply the visual or textual details needed to make that intended result complete and coherent, including directly supporting consequences. Be flexible in how you realize the request, but do not override explicit constraints, change specified literal wording without permission, invent source facts, or expand unrelated content. Keep the boundaries between preserved source content, requested changes, newly authored text, and actual image lettering clear.\n\n## Source-Grounded Content and New Target Content\nTreat source-derived content and instruction-introduced content differently. Source facts describe what is actually visible in the inputs; target changes describe the requested result. Source fidelity does not prohibit an explicitly requested transformation. Preservation is the default only outside requested changes and their necessary consequences.\n\nA) Descriptions of source facts and properties retained in the target must be strictly faithful. Ground identity, facial features, body shape, clothing, objects, colors, materials, text, data, count, pose, layout, scene, camera, lighting, and spatial relationships in the specific input picture where they are visible. Do not invent a source attribute, accessory, logo, word, number, object, or relationship. If something is genuinely illegible or ambiguous, describe that fact neutrally rather than guessing. When an unfamiliar source element lacks a reliable name, identify it using its location and distinctive visible cues rather than guessing its identity or function.\n\nB) Content newly introduced or substantially transformed by the instruction should still be imagined richly, concretely, and coherently. Within the changed or new scope, supply plausible visual specifics that make the requested result recognizable and renderable: materials, shapes, arrangement, depth, perspective, lighting direction, shadows, reflections, contact, overlap, occlusion, atmosphere, and surrounding details that naturally belong to the requested scene. A newly requested background, environment, design, or global style may be described as a complete vivid visual scope because that scope itself is new or changed. Do not make the answer skeletal merely to satisfy a delta format.\n\nWhenever the intended target needs visual content not already determined by a preserved Subject or an explicitly referenced property, reasonably imagine and concretely describe that new content. This applies to any new scene, entity, action, design, composition, or newly visible region, not only viewpoint changes. Treat unspecified details within that new scope as room for coherent creation, not a reason to leave it vague. Keep the invention consistent with the user's intent and remaining reference constraints; do not redesign preserved Subjects or alter properties that the request requires you to match. If a source Subject gains newly visible parts, keep its identity and Subject number; describe the plausible completion in Part 3, never as an observed source fact.\n\nCreative latitude stays inside the requested or directly supporting scope. Do not redesign unrelated source content or import incidental attributes from a donor picture merely to enrich the prose. Ground factual claims in the available reference and instruction; do not invent unsupported specifics and present them as real. Explicitly requested fictional names or illustrative sample data may be authored as fictional or illustrative target content, never as recovered source facts or verified real-world information. Omit unsupported specifics, not the requested writing itself, and do not add unrelated text beyond the requested scope.\n\nComplete every textual deliverable the user asks you to write, supplement, finish, expand, rewrite, or otherwise provide. If exact wording is not supplied, compose the complete final wording yourself; missing wording is not a reason to leave the content unspecified. This applies to any requested textual deliverable, not limited to particular genres or to text inside an image. Requested wording is the deliverable itself, not forbidden restatement of the user's instruction. Do not delegate completion to the downstream model.\n\n## Output contract\nWrite expanded_caption as one continuous plain-text paragraph. Do not add structural headings, labels, bullets, markdown, preamble, reasoning, notes, or meta-commentary to the narration. Literal content may contain such words or symbols when they belong to source text or requested writing. The paragraph has three logical parts, in this order:\n1. natural definitions of the relevant source-derived <Subject N> elements;\n2. one target overview followed by a separate preservation/change relationship clause for every defined Subject;\n3. Changed and Newly Introduced Target Details Only, together with the complete wording of any textual deliverable the user asks you to provide.\n\nDetermine each requested text's destination from the instruction. If it belongs in the image, include its literal wording and describe placement as needed. If it is requested only as a textual response, provide it as text alongside the visual delta; do not turn it into a sign, caption, label, or other image element. Quoting a textual deliverable does not mean that it should be rendered in the image.\n\nComplete all Subject definitions before the target overview. Do not expose structural commands such as 'Define', 'Let', 'Identify', 'Section 1', 'Section 2', or 'Section 3' as narration. Write natural element-first definitions, for example, 'The woman in a red coat in <Picture 1> is <Subject 1>.' Refer to the intended visual result only as 'the target image'. Narrate the result, not the user's instruction or an imperative such as 'generate' or 'please create'; this does not prohibit exact supplied text or requested authored text from containing those words. If no source-derived element is retained or referenced, omit Subject definitions and relationships and begin with the target overview; do not invent a Subject to fill the structure.\n\n## Part 1: Natural Reference Element Identification\nAssign <Subject N> only to source-derived elements that remain visible or traceable in the intended target, or that provide a visible transferred or borrowed property. Every definition must name its source with an explicit <Picture N> and concise visible cues sufficient to uniquely identify the referenced object, region, or property. Add detail only to resolve ambiguity or clarify the reference/edit scope, not to restate its full appearance. Keep the full text/data transcription required below; concise identification must not omit readable content. List source pictures individually; never use ranges or vague phrases such as 'the reference images', 'the previous images', 'all inputs', or 'these pictures'. Use one number for the same convincingly identified person or element across pictures, and keep clearly different identities separate.\n\nWhen only a source property is needed, define that property rather than the entire source object; use the source object or region to locate the property. Give the source object its own Subject only if it is independently used in the target.\n\nChoose Subject granularity by relationship scope, not by a quota. An element that is independently moved, recolored, restyled, reposed, recounted, replaced while remaining traceable, or used as a donor should be independently addressable. Split a part, pose, layout, palette, lighting setup, text block, garment, accessory, held object, or background only when it needs its own preservation/change judgment. Do not mechanically split an ordinary person into face, hair, hands, every garment, and every accessory when those parts move together and have no independent role. Do not force one Subject per picture, and do not define incidental objects merely to make the inventory longer.\n\nJudge preservation over the scope actually defined. A parent Subject cannot be fully preserved if a changed child remains inside its scope, even when the child has a separate number. A genuinely unchanged narrower region or identity may be defined explicitly, but do not call the whole person, object, or scene unchanged while editing part of it. Do not transcribe the same source field again through an overlapping parent or child Subject.\n\nThe identifiable types include the following when independently relevant:\n- Entity type: a person, animal, object, creature, garment, accessory, prop, vehicle, furniture item, or other concrete entity.\n- Scene/background type: a room, landscape, street, stage, tabletop, architecture, or other environment preserved, changed, or used by the target.\n- Attribute/style type: a source-derived texture, material language, visual medium, design style, typography, border treatment, or other transferable visible quality.\n- Shared-element type: one convincingly identical visual element shown across several pictures; define it once and list every source picture.\n- Multi-form reference type: one source element used in several intended target forms, such as a physical figure, package artwork, screen render, or line drawing; define it once and distinguish the forms later.\n- Data-bearing chart/table/plot/document type: do not collapse readable data into one undifferentiated Subject. Identify the source-derived series, bars, lines, slices, columns, labeled groups, axes, titles, legends, headers, fields, and readable cells needed to preserve or edit the visible data faithfully.\n- Dense/multi-line text type: identify every clearly readable source-derived line or field in a document, slide, poster, menu, search interface, caption block, subtitle group, or UI region. Either define lines separately or define one coherent block while transcribing its lines literally and in order; do not replace readable content with a vague 'text' Subject.\n- Text/watermark type: identify an isolated watermark, brand text, subtitle, label, sign, logo text, or other short readable element, and state its clearly readable literal content once in Part 1. Later use its Subject token unless that text is intended to change.\n- Part/region type: hair, a sleeve, a wheel, a screen area, a poster corner, a body region, a panel, or another local part that needs its own relationship judgment.\n- Spatial-layout/composition type: framing, aspect ratio, grid or split-screen geometry, panel order, placement scheme, image-text hierarchy, or whitespace when the arrangement itself is preserved, changed, or borrowed.\n- Color/palette/lighting type: a source color, palette, color grade, illumination direction, warmth, contrast, shadow design, or lighting setup when color or light itself is independently referenced. Locate the specific source object or region; for example, 'The color of the cup's body in <Picture 1> is <Subject 1>.'\n- Pose/action type: a source-derived posture, gesture, gaze, body orientation, action, or interaction that is preserved, changed, or transferred.\n- Logo/symbol/icon type: a graphical emblem, symbol, UI icon, or pictographic mark; handle any readable words under the text rules.\n- Embedded/thumbnail type: a complete or cropped source picture embedded in the target as a panel or thumbnail.\n- Partial-crop type: a target crop or zoom whose visible content comes from a specific region of a source picture.\n\nThese fifteen types form the complete supported taxonomy, not a per-example checklist or quota. Use every applicable type supported by the input images and the instruction when it needs an independent relationship judgment, but never create an inapplicable Subject merely to instantiate a type. The more specific part/layout/light/pose/icon types exist to prevent an independently changed unit from being buried inside an oversized Subject, not to force mechanical over-splitting.\n\nBrand-new target-only content has no <Subject N>. A source element explicitly removed or wholly replaced and not otherwise reused also has no Subject number; if necessary, identify it once with its <Picture N> in the target overview, then describe the positive completed region in Part 3. Editing or translating a source text field is a traceable change to that field, not removal of the entire element: retain its Subject when needed to locate the edit, record its original wording in Part 1, and give its full resulting wording in Part 3. Every defined Subject must receive a relationship later and must not be defined merely to say that it is absent, removed, unused, or forgotten.\n\nReadable source text and data require special care. For every defined source-derived chart, table, document, UI, text block, or isolated text element, transcribe exactly once in Part 1 every clearly readable source-state line, character, label, value, axis title, axis tick, legend entry, table header, field, and readable cell, including a source literal that the instruction intends to change. Preserve the original language, script, grouping, and reading order. Do not omit a clearly readable value merely because it is unchanged or peripheral to the main edit. Never guess hidden, cropped-away, or illegible source text.\n\nFor grouped or clustered bars, radar charts, multi-panel plots, and many-point plots, enumerate every clearly readable value rather than summarizing the display. Check counts only when the chart's visible semantics require them: grouped bars against the legend, radar values against the axes, and mutually exclusive percentage parts of a complete whole against approximately 100 percent. Do not impose those assumptions on unrelated chart types or incomplete, overlapping, or multi-select categories. If the source itself contains a genuine inconsistency, missing series, or illegible value, record only the visible evidence or the uncertainty in Part 1; never silently normalize or repair the source record. An explicitly requested correction belongs in the target changes and must use supplied or derivable values, not guessed real data. Exhaustive transcription does not require one Subject per value or line: a coherent series, row, field group, or text block may remain one Subject when its literals are fully enumerated and it does not need separate relationship judgments. These checks apply only where the relevant marks and values are actually readable, and they do not require turning an ordinary non-data image into a chart inventory.\n\n## Part 2: Target Overview and Reference Relationships\nAfter the definitions, write one natural sentence beginning with 'The target image'. Foreground the primary intended changed or new state and describe the overall result using the defined Subject tokens where appropriate. Target-only new content remains unnumbered. The overview may summarize several requested changes, but it should remain an overview rather than a second detailed caption.\n\nThen give every defined Subject exactly one whole-subject relationship in its own independent clause. Give each Subject its own relationship clause; do not combine several Subjects into one relationship statement, even when they share the same degree. Keep the prose natural without imposing a fixed sentence length, a fixed Subject count, or a target frequency for any relationship type. Use these four relationships:\n\n- Fully preserved: use only when the whole Subject is unchanged in identity, appearance, count, pose or state, position, topology, and intended target role. Write only the short standalone clause '<Subject N> is fully preserved.' Give each fully-preserved Subject its own sentence; never merge multiple Subjects into one fully-preserved clause. Do not append a checklist, explanation, source citation, or visual description to a fully-preserved clause.\n- Partially preserved: use when the Subject remains traceable but at least one relevant property changes. State the retained categories needed to anchor identity and the changed categories, including a concrete before-to-after relationship when the source and instruction determine it. Do not exhaustively re-render retained appearance.\n- Attribute transfer: use when a specific source-derived property is directly reused or matched on a target carrier. Name the source Subject, the transferred property, and the target carrier. Transfer only the assigned property, not unrelated donor attributes.\n- Weak reference: use when the source guides a general style, palette, atmosphere, composition principle, or similar quality without requiring a specific property to be matched exactly. Name the borrowed quality and make clear what the new design may vary. Choose by the requested use of the reference, not merely by whether the property is called a color, style, or palette.\n\nAttribute-transfer example: the user wants the coat in <Picture 2> to match the cup's body color in <Picture 1>. Part 1 defines that color as <Subject 1> and the coat as <Subject 2>. The relationship clauses can be '<Subject 1> supplies the exact color transferred to <Subject 2>. <Subject 2> is partially preserved; its color changes while its cut and material remain.' The cup's shape and material are not transferred.\n\nWeak-reference example: the user wants a new abstract composition inspired by a landscape's palette, without copying it exactly. Part 1 defines the landscape's palette as <Subject 1>. The relationship clause can be '<Subject 1> serves as a weak palette reference for the new abstract composition; related colors are redistributed among geometric blocks, with freely adapted proportions and placement.' The new composition has no Subject number. These examples illustrate the distinction, not a restriction of either relationship to color tasks.\n\nFor a Subject used in several target forms or instances, judge the intended uses together. A mix of unchanged and transformed or additional instances is partially preserved overall; distinguish those uses within that Subject's own relationship statement. Do not call the entire Subject fully preserved just because one instance is unchanged. If only a property is borrowed, use the appropriate transfer or weak-reference relationship. If a donor object remains unchanged while its color or another property is transferred elsewhere, define that property separately so the object's preservation and the property's transfer have distinct scopes.\n\nThe relationship must agree with the described target. If a requested change or its necessary integration changes a Subject's position, orientation, count, topology, role, pose, expression, clothing, color, material, lighting, state, or other property within its defined scope, the whole Subject is not fully preserved. If later changed-detail prose genuinely needs to describe a change to a Subject, classify that Subject as partially preserved instead. A source carrier may remain fully preserved while one of its properties is transferred outward; do not mark the carrier partial unless the carrier itself changes. Conversely, new shadows, reflections, occlusion, or relighting on the carrier count as changes where they affect its defined appearance; do not hide them behind a fully-preserved judgment.\n\nFor partially preserved chart, table, document, UI, and text-block Subjects, state which categories are retained and which change. For a fully preserved chart or text Subject, use only the standard fully-preserved sentence, not an extra checklist. Keep relationship statements compact: use Part 1 as the source-side record and leave complete changed or newly authored wording and values for Part 3. Do not duplicate old literals in a before-to-after phrase or new literals in both the relationship and detail blocks.\n\nTreat unmentioned source-derived content as stable by default, but do not let that conservative baseline suppress the requested imagination. The changed/new target scope may still be rich. Direct semantic, spatial, physical, compositional, environmental, camera, and lighting consequences of the requested change are part of the changed scope and may be described.\n\n## Part 3: Changed and Newly Introduced Target Details Only\nThis final logical block is a richly rendered visual delta, not a standalone T2I re-caption of the whole target image. Also supply the requested textual deliverables. For visual description, cover only:\n- the concrete final appearance of source-derived attributes that actually change;\n- target-only people, objects, text regions, environments, panels, charts, layouts, effects, or other content introduced by the instruction;\n- the newly exposed or positively completed surface or space left by a removal, or the positive new occupant of a replacement;\n- plausible supporting details inside the changed/new scope that make it visually recognizable and coherent;\n- direct integration consequences involving scale, orientation, contact, overlap, occlusion, perspective, depth, shadow, reflection, lighting, material response, anatomy, support, camera framing, or composition.\n\nThis changed/new-only rule does not impose terse writing. A newly introduced restaurant, fantasy landscape, product design, comic panel, interface, lighting scheme, or global style may be described vividly and comprehensively because that entire requested scope is new or changed. Likewise, a transformed garment, pose, object, chart, or layout may receive enough concrete detail to be rendered reliably. Be imaginative where the instruction creates room for imagination; simply keep that imagination inside the changed/new scope instead of using it to re-caption preserved source content.\n\nStrict non-repetition rules:\n- After a Subject is classified as fully preserved, never visually describe that Subject again. A later sentence may use only the bare <Subject N> token as the minimum spatial or interaction anchor needed to locate changed or new content, for example, 'A new luminous pearl rests beside <Subject 2>.' Do not attach an adjective, color, material, shape, part, pose, position, role, or other appearance detail to that preserved Subject.\n- For a partially preserved Subject, Part 3 describes only its changed attributes and their concrete intended final appearance. Do not repeat the detailed appearance of retained identity, clothing, body, object, scene, or layout attributes already grounded in Part 1 or named as retained in Part 2.\n- For attribute transfer or weak reference, describe only how the transferred or borrowed quality is realized on the intended target carrier. Do not import or re-render unrelated donor properties.\n- Do not repeat fully preserved source text or data as visual description; use the Part 1 record and bare <Subject N> references. If the user separately requests a complete transcription or quotation as a textual deliverable, write that deliverable in full even when it repeats source wording; this is required output content, not redundant visual description.\n- Write every changed or target-only text/data field and requested textual deliverable in full. Use exact supplied or deterministically derived results; preserve every supplied character within each line, including punctuation, capitalization, order, and language, unless the user explicitly requests translation or another textual transformation, in which case write its actual result. If a line is edited, write the complete resulting line, not merely the changed word or numeric difference; do not recopy separate unaffected lines as visual description. Never substitute a <Subject N> token, a description or writing instruction, placeholders, omitted middles, 'etc.', 'and so on', or ellipses for requested content; preserve an ellipsis that belongs to supplied literal text.\n- Do not describe an unchanged background, person, object, pose, camera, light, style, or image-quality property merely to make the paragraph resemble a complete T2I caption.\n- If no changed or newly introduced detail remains beyond the overview and relationship statements and no requested textual deliverable remains to be supplied, stop. Never pad the output with preserved appearance.\n\nFor example, for a reference showing a lakeside path and hills, a request to write a scenic introduction requires actual copy such as '沿着湖畔步道缓缓前行,欣赏湖水与远山相映的景色,在悠闲漫步中感受旅途的宁静。', not 'a paragraph introducing the attraction'. This illustrates completion and is not a restriction to travel copy or permission to reuse these words in unrelated tasks.\n\nCorrect pattern: 'The black horse in <Picture 1> is <Subject 1>. The target image shows <Subject 1> beside a newly added luminous pearl. <Subject 1> is fully preserved. The pearl emits a cool glow onto the ground beside <Subject 1>.' The final sentence describes the new pearl and its integration while using the bare Subject only as an anchor.\n\nIncorrect pattern: '<Subject 1> is fully preserved. <Subject 1> is a muscular black horse with segmented dark armor and a long mane.' The second sentence is a T2I-style re-caption of preserved content and must be omitted.\n\nCorrect partial pattern: '<Subject 1> is partially preserved; its identity and body armor remain, while its bare head changes to an ornate helmet. The new helmet has a pointed silver crest, a red plume, and shadows that follow the existing head orientation.' Do not subsequently re-describe the retained face, body, or armor.\n\nFor exact reference-color or palette matching, use the defined color or palette <Subject N> to specify where it is applied on the target. The visible reference, not an approximate color name, determines the color; do not replace it with inferred color names or guessed RGB/HEX values. Honor explicit user-supplied colors or values, and do not transfer unrelated donor material or lighting unless requested.\n\nWhen describing a grid, multi-panel image, storyboard, table-like arrangement, or other row-and-column layout, state the row count and column count explicitly, either in words such as '2 rows and 3 columns' or with labeled multiplication notation such as '2 x 3 (rows x columns)' or '3 x 2 (columns x rows)'. Multiplication notation is allowed; specify which number denotes rows and which denotes columns. Do not use an unlabeled '2 x 3' or '2×3' alone. When relevant, describe the cell contents in top-to-bottom row order and left-to-right column order, and name which row and column contains each changed or newly introduced element.\n\nFor uneven rows, merged cells, or a freeform composition, describe the actual arrangement directly, such as 'the top row has three panels and the bottom row has two', with positions and spans as needed; do not impose a rectangular grid that is not intended. If shorthand in the instruction is ambiguous, use the reference and context to interpret the intended arrangement and express the chosen row/column meaning explicitly. Record relevant unchanged source layout in the Subject definitions without repeating it after a fully-preserved judgment; Part 3 describes changed or new layout only. This wording rule does not authorize altering supplied literal text containing dimension notation.\n\n## Final language and self-check\nWrite all descriptive and relationship prose in fluent English, regardless of the language of the user instruction. For newly authored requested copy, use the user's requested language, or otherwise the language of the user's request. Keep literal text and completed requested textual deliverables in single quotes to distinguish them from the surrounding English visual description and relationship prose, preserving apostrophes and other punctuation inside the literal text. Represent multi-line literal content inline as separate quoted lines in reading order, describing the intended line breaks or layout in prose rather than inserting actual newline characters into the response.\n\nUse objective, concrete visual language. Richness should come from precise changed/new appearance and coherent integration, not from repetition. Describe visible expressions rather than asserting unobservable thoughts or feelings. Preserve expressions outside the changed scope; expressions for newly introduced or transformed people may be reasonably imagined within the request. Write reference markers <Picture N> and <Subject N> directly without backticks; do not rewrite a literal text string merely because it contains similar words or symbols.\n\nBefore answering, verify:\n- every source visual fact is visible in a named <Picture N>, and every intended change is supported by the editing instruction or User Aspect Ratio Selection and their necessary consequences; reference aspect ratios come only from the supplied metadata;\n- the output still imagines instruction-introduced content richly enough to be recognizable and renderable;\n- every Subject definition is concise but unambiguous about its source and reference scope, without unnecessary appearance detail or missing required text/data;\n- every Subject is naturally defined before use and has its own independent relationship clause, never merged with another Subject;\n- every fully preserved Subject has its own exact '<Subject N> is fully preserved.' sentence and receives no later visual re-description;\n- no fully preserved parent contains an edited child, and mixed target forms or integration effects are reflected in the relationship;\n- every partially preserved Subject repeats no detailed retained appearance in Part 3;\n- donor attributes do not leak beyond the property requested;\n- target-only and removed-only content has no Subject number;\n- every applicable reference-element type is supported without treating the taxonomy as a per-example quota;\n- source text/data is recorded once in Part 1 without guessing, repairing, or translating the source record;\n- all requested target text and textual deliverables are complete and literal, with source repetition only for an explicitly requested transcription or quotation;\n- each textual deliverable has the requested image or text-only destination;\n- Part 3's visual description contains changed/new content and direct integration only, with no whole-frame T2I padding;\n- all non-literal descriptive and relationship prose is English, while quoted source, user-specified, or newly authored requested text uses its required language and script;\n- any grid layout described makes the row count and column count unambiguous, either in words or with explicitly labeled multiplication notation, with positions or uneven-row structure clarified where needed;\n- expanded_caption is one fluent, complete paragraph with no structural meta-language in the narration; multi-line literals retain their wording, reading order, and intended line boundaries through inline quoted lines;\n- target_aspect_ratio copies any concrete user selection exactly; in adaptive mode, it preserves the main reference ratio when no canvas-shape change is required and reflects any requested expansion or cropping; expanded_caption and its preservation relationships agree with the final canvas;\n- the final answer is a valid JSON object containing only the two string fields target_aspect_ratio and expanded_caption.\n\nOutput only the required two-field JSON object.\nUser input: {input text}\noutput_text:\n"
3786 }
3787 },
3788 {
3789 "id": 929,
3790 "type": "StringReplace",
3791 "pos": [
3792 6970,
3793 -790
3794 ],
3795 "size": [
3796 400,
3797 200
3798 ],
3799 "flags": {
3800 "collapsed": true
3801 },
3802 "order": 36,
3803 "mode": 4,
3804 "inputs": [
3805 {
3806 "localized_name": "string",
3807 "name": "string",
3808 "type": "STRING",
3809 "widget": {
3810 "name": "string"
3811 },
3812 "link": 6852
3813 },
3814 {
3815 "localized_name": "find",
3816 "name": "find",
3817 "type": "STRING",
3818 "widget": {
3819 "name": "find"
3820 },
3821 "link": null
3822 },
3823 {
3824 "localized_name": "replace",
3825 "name": "replace",
3826 "type": "STRING",
3827 "widget": {
3828 "name": "replace"
3829 },
3830 "link": 6861
3831 }
3832 ],
3833 "outputs": [
3834 {
3835 "localized_name": "STRING",
3836 "name": "STRING",
3837 "type": "STRING",
3838 "links": [
3839 6859
3840 ]
3841 }
3842 ],
3843 "properties": {
3844 "cnr_id": "comfy-core",
3845 "ver": "0.45.2",
3846 "Node name for S&R": "StringReplace",
3847 "ue_properties": {
3848 "widget_ue_connectable": {
3849 "string": true,
3850 "replace": true
3851 },
3852 "version": "8.0.1",
3853 "input_ue_unconnectable": []
3854 }
3855 },
3856 "widgets_values": [
3857 "",
3858 "{input text}",
3859 ""
3860 ],
3861 "widgets_values_named": {
3862 "string": "",
3863 "find": "{input text}",
3864 "replace": ""
3865 }
3866 },
3867 {
3868 "id": 930,
3869 "type": "JsonExtractString",
3870 "pos": [
3871 7600,
3872 -1410
3873 ],
3874 "size": [
3875 410,
3876 200
3877 ],
3878 "flags": {
3879 "collapsed": true
3880 },
3881 "order": 51,
3882 "mode": 4,
3883 "inputs": [
3884 {
3885 "localized_name": "json_string",
3886 "name": "json_string",
3887 "type": "STRING",
3888 "widget": {
3889 "name": "json_string"
3890 },
3891 "link": 6853
3892 },
3893 {
3894 "localized_name": "key",
3895 "name": "key",
3896 "type": "STRING",
3897 "widget": {
3898 "name": "key"
3899 },
3900 "link": null
3901 }
3902 ],
3903 "outputs": [
3904 {
3905 "localized_name": "STRING",
3906 "name": "STRING",
3907 "type": "STRING",
3908 "links": [
3909 6858
3910 ]
3911 }
3912 ],
3913 "properties": {
3914 "cnr_id": "comfy-core",
3915 "ver": "0.45.2",
3916 "Node name for S&R": "JsonExtractString",
3917 "ue_properties": {
3918 "widget_ue_connectable": {
3919 "json_string": true
3920 },
3921 "version": "8.0.1",
3922 "input_ue_unconnectable": []
3923 }
3924 },
3925 "widgets_values": [
3926 "",
3927 "expanded_caption"
3928 ],
3929 "widgets_values_named": {
3930 "json_string": "",
3931 "key": "expanded_caption"
3932 }
3933 },
3934 {
3935 "id": 932,
3936 "type": "PreviewAny",
3937 "pos": [
3938 7830,
3939 -1470
3940 ],
3941 "size": [
3942 460,
3943 620
3944 ],
3945 "flags": [],
3946 "order": 54,
3947 "mode": 4,
3948 "inputs": [
3949 {
3950 "localized_name": "source",
3951 "name": "source",
3952 "type": "*",
3953 "link": 6858
3954 }
3955 ],
3956 "outputs": [
3957 {
3958 "localized_name": "STRING",
3959 "name": "STRING",
3960 "type": "STRING",
3961 "links": [
3962 6865
3963 ]
3964 }
3965 ],
3966 "properties": {
3967 "cnr_id": "comfy-core",
3968 "ver": "0.45.2",
3969 "Node name for S&R": "PreviewAny",
3970 "ue_properties": {
3971 "widget_ue_connectable": [],
3972 "version": "8.0.1",
3973 "input_ue_unconnectable": []
3974 }
3975 },
3976 "widgets_values": [],
3977 "widgets_values_named": []
3978 },
3979 {
3980 "id": 933,
3981 "type": "GetNode",
3982 "pos": [
3983 6710,
3984 -790
3985 ],
3986 "size": [
3987 210,
3988 60
3989 ],
3990 "flags": {
3991 "collapsed": true
3992 },
3993 "order": 23,
3994 "mode": 4,
3995 "inputs": [],
3996 "outputs": [
3997 {
3998 "name": "STRING",
3999 "type": "STRING",
4000 "links": [
4001 6861
4002 ]
4003 }
4004 ],
4005 "title": "Get_+ve_Prompt",
4006 "properties": {
4007 "Node name for S&R": "GetNode",
4008 "aux_id": "kijai/ComfyUI-KJNodes",
4009 "ue_properties": {
4010 "widget_ue_connectable": [],
4011 "version": "8.0.1",
4012 "input_ue_unconnectable": []
4013 }
4014 },
4015 "widgets_values": [
4016 "+ve_Prompt"
4017 ],
4018 "widgets_values_named": {
4019 "Constant": "+ve_Prompt"
4020 },
4021 "color": "#232",
4022 "bgcolor": "#353"
4023 },
4024 {
4025 "id": 934,
4026 "type": "GetNode",
4027 "pos": [
4028 6970,
4029 -1290
4030 ],
4031 "size": [
4032 210,
4033 60
4034 ],
4035 "flags": {
4036 "collapsed": true
4037 },
4038 "order": 24,
4039 "mode": 4,
4040 "inputs": [],
4041 "outputs": [
4042 {
4043 "name": "IMAGE",
4044 "type": "IMAGE",
4045 "links": [
4046 6863
4047 ]
4048 }
4049 ],
4050 "title": "Get_IMG-0",
4051 "properties": {
4052 "Node name for S&R": "GetNode",
4053 "aux_id": "kijai/ComfyUI-KJNodes",
4054 "ue_properties": {
4055 "widget_ue_connectable": [],
4056 "version": "8.0.1",
4057 "input_ue_unconnectable": []
4058 }
4059 },
4060 "widgets_values": [
4061 "IMG-0"
4062 ],
4063 "widgets_values_named": {
4064 "Constant": "IMG-0"
4065 },
4066 "color": "#2a363b",
4067 "bgcolor": "#3f5159"
4068 },
4069 {
4070 "id": 935,
4071 "type": "SetNode",
4072 "pos": [
4073 8350,
4074 -1440
4075 ],
4076 "size": [
4077 210,
4078 60
4079 ],
4080 "flags": {
4081 "collapsed": true
4082 },
4083 "order": 56,
4084 "mode": 4,
4085 "inputs": [
4086 {
4087 "name": "STRING",
4088 "type": "STRING",
4089 "link": 6865
4090 }
4091 ],
4092 "outputs": [
4093 {
4094 "name": "STRING",
4095 "type": "STRING",
4096 "links": null
4097 }
4098 ],
4099 "title": "Set_Enhanced_Prompmt",
4100 "properties": {
4101 "Node name for S&R": "SetNode",
4102 "aux_id": "kijai/ComfyUI-KJNodes",
4103 "previousName": "Enhanced_Prompmt",
4104 "ue_properties": {
4105 "widget_ue_connectable": [],
4106 "version": "8.0.1",
4107 "input_ue_unconnectable": []
4108 }
4109 },
4110 "widgets_values": [
4111 "Enhanced_Prompmt"
4112 ],
4113 "widgets_values_named": {
4114 "Constant": "Enhanced_Prompmt"
4115 }
4116 },
4117 {
4118 "id": 936,
4119 "type": "GetNode",
4120 "pos": [
4121 7480,
4122 -330
4123 ],
4124 "size": [
4125 210,
4126 60
4127 ],
4128 "flags": {
4129 "collapsed": false
4130 },
4131 "order": 25,
4132 "mode": 0,
4133 "inputs": [],
4134 "outputs": [
4135 {
4136 "name": "STRING",
4137 "type": "STRING",
4138 "links": null
4139 }
4140 ],
4141 "title": "Get_Enhanced_Prompmt",
4142 "properties": {
4143 "Node name for S&R": "GetNode",
4144 "aux_id": "kijai/ComfyUI-KJNodes",
4145 "ue_properties": {
4146 "widget_ue_connectable": [],
4147 "version": "8.0.1",
4148 "input_ue_unconnectable": []
4149 }
4150 },
4151 "widgets_values": [
4152 "Enhanced_Prompmt"
4153 ],
4154 "widgets_values_named": {
4155 "Constant": "Enhanced_Prompmt"
4156 },
4157 "color": "#232",
4158 "bgcolor": "#353"
4159 }
4160 ],
4161 "links": [
4162 [
4163 8,
4164 5,
4165 0,
4166 6,
4167 0,
4168 "LATENT"
4169 ],
4170 [
4171 48,
4172 3,
4173 0,
4174 33,
4175 0,
4176 "VAE"
4177 ],
4178 [
4179 49,
4180 34,
4181 0,
4182 6,
4183 1,
4184 "VAE"
4185 ],
4186 [
4187 50,
4188 1,
4189 0,
4190 35,
4191 0,
4192 "MODEL"
4193 ],
4194 [
4195 53,
4196 2,
4197 0,
4198 38,
4199 0,
4200 "CLIP"
4201 ],
4202 [
4203 6798,
4204 888,
4205 1,
4206 884,
4207 0,
4208 "INT"
4209 ],
4210 [
4211 6799,
4212 888,
4213 0,
4214 885,
4215 0,
4216 "INT"
4217 ],
4218 [
4219 6800,
4220 888,
4221 0,
4222 886,
4223 0,
4224 "INT"
4225 ],
4226 [
4227 6801,
4228 888,
4229 1,
4230 887,
4231 0,
4232 "INT"
4233 ],
4234 [
4235 6802,
4236 10,
4237 0,
4238 888,
4239 0,
4240 "IMAGE"
4241 ],
4242 [
4243 6803,
4244 889,
4245 0,
4246 890,
4247 0,
4248 "IMAGE"
4249 ],
4250 [
4251 6804,
4252 10,
4253 0,
4254 889,
4255 0,
4256 "IMAGE"
4257 ],
4258 [
4259 6805,
4260 886,
4261 0,
4262 889,
4263 2,
4264 "INT"
4265 ],
4266 [
4267 6806,
4268 887,
4269 0,
4270 889,
4271 3,
4272 "INT"
4273 ],
4274 [
4275 6808,
4276 893,
4277 0,
4278 892,
4279 0,
4280 "IMAGE"
4281 ],
4282 [
4283 6809,
4284 894,
4285 0,
4286 893,
4287 2,
4288 "INT"
4289 ],
4290 [
4291 6810,
4292 895,
4293 0,
4294 893,
4295 3,
4296 "INT"
4297 ],
4298 [
4299 6811,
4300 6,
4301 0,
4302 893,
4303 0,
4304 "IMAGE"
4305 ],
4306 [
4307 6813,
4308 10,
4309 0,
4310 896,
4311 0,
4312 "IMAGE"
4313 ],
4314 [
4315 6814,
4316 897,
4317 0,
4318 32,
4319 0,
4320 "IMAGE"
4321 ],
4322 [
4323 6816,
4324 898,
4325 0,
4326 32,
4327 1,
4328 "IMAGE"
4329 ],
4330 [
4331 6818,
4332 13,
4333 0,
4334 902,
4335 0,
4336 "STRING"
4337 ],
4338 [
4339 6822,
4340 886,
4341 0,
4342 906,
4343 0,
4344 "INT"
4345 ],
4346 [
4347 6823,
4348 887,
4349 0,
4350 907,
4351 0,
4352 "INT"
4353 ],
4354 [
4355 6826,
4356 912,
4357 0,
4358 910,
4359 0,
4360 "IMAGE"
4361 ],
4362 [
4363 6827,
4364 912,
4365 0,
4366 911,
4367 0,
4368 "IMAGE"
4369 ],
4370 [
4371 6828,
4372 916,
4373 0,
4374 912,
4375 0,
4376 "IMAGE"
4377 ],
4378 [
4379 6829,
4380 917,
4381 0,
4382 913,
4383 0,
4384 "IMAGE"
4385 ],
4386 [
4387 6830,
4388 917,
4389 0,
4390 914,
4391 0,
4392 "IMAGE"
4393 ],
4394 [
4395 6831,
4396 915,
4397 0,
4398 917,
4399 0,
4400 "IMAGE"
4401 ],
4402 [
4403 6837,
4404 36,
4405 0,
4406 922,
4407 0,
4408 "MODEL"
4409 ],
4410 [
4411 6838,
4412 922,
4413 0,
4414 5,
4415 0,
4416 "MODEL"
4417 ],
4418 [
4419 6847,
4420 923,
4421 0,
4422 924,
4423 0,
4424 "CONDITIONING"
4425 ],
4426 [
4427 6848,
4428 923,
4429 0,
4430 5,
4431 1,
4432 "CONDITIONING"
4433 ],
4434 [
4435 6849,
4436 923,
4437 1,
4438 5,
4439 3,
4440 "LATENT"
4441 ],
4442 [
4443 6850,
4444 924,
4445 0,
4446 5,
4447 2,
4448 "CONDITIONING"
4449 ],
4450 [
4451 6852,
4452 928,
4453 0,
4454 929,
4455 0,
4456 "STRING"
4457 ],
4458 [
4459 6853,
4460 927,
4461 0,
4462 930,
4463 0,
4464 "STRING"
4465 ],
4466 [
4467 6858,
4468 930,
4469 0,
4470 932,
4471 0,
4472 "STRING"
4473 ],
4474 [
4475 6861,
4476 933,
4477 0,
4478 929,
4479 2,
4480 "STRING"
4481 ],
4482 [
4483 6865,
4484 932,
4485 0,
4486 935,
4487 0,
4488 "STRING"
4489 ],
4490 [
4491 6815,
4492 893,
4493 0,
4494 898,
4495 0,
4496 "IMAGE"
4497 ],
4498 [
4499 6851,
4500 925,
4501 0,
4502 927,
4503 0,
4504 "CLIP"
4505 ],
4506 [
4507 6863,
4508 934,
4509 0,
4510 927,
4511 1,
4512 "IMAGE"
4513 ],
4514 [
4515 6856,
4516 926,
4517 0,
4518 927,
4519 7,
4520 "STRING"
4521 ],
4522 [
4523 6859,
4524 929,
4525 0,
4526 927,
4527 8,
4528 "STRING"
4529 ],
4530 [
4531 6839,
4532 39,
4533 0,
4534 923,
4535 0,
4536 "CLIP"
4537 ],
4538 [
4539 6840,
4540 37,
4541 0,
4542 923,
4543 1,
4544 "VAE"
4545 ],
4546 [
4547 6841,
4548 891,
4549 0,
4550 923,
4551 2,
4552 "IMAGE"
4553 ],
4554 [
4555 6842,
4556 918,
4557 0,
4558 923,
4559 3,
4560 "IMAGE"
4561 ],
4562 [
4563 6843,
4564 919,
4565 0,
4566 923,
4567 4,
4568 "IMAGE"
4569 ],
4570 [
4571 6864,
4572 904,
4573 0,
4574 923,
4575 9,
4576 "STRING"
4577 ],
4578 [
4579 6845,
4580 908,
4581 0,
4582 923,
4583 10,
4584 "INT"
4585 ],
4586 [
4587 6846,
4588 909,
4589 0,
4590 923,
4591 11,
4592 "INT"
4593 ]
4594 ],
4595 "groups": [
4596 {
4597 "id": 6,
4598 "title": "Prompt Enhancer",
4599 "bounding": [
4600 6500,
4601 -1600,
4602 2080,
4603 820
4604 ],
4605 "flags": []
4606 },
4607 {
4608 "id": 72,
4609 "title": "IMG-03",
4610 "bounding": [
4611 5710,
4612 480,
4613 1750,
4614 550
4615 ],
4616 "flags": []
4617 },
4618 {
4619 "id": 73,
4620 "title": "IMG-02",
4621 "bounding": [
4622 5710,
4623 -80,
4624 1750,
4625 550
4626 ],
4627 "flags": []
4628 },
4629 {
4630 "id": 75,
4631 "title": "Load Models",
4632 "bounding": [
4633 4940,
4634 -1600,
4635 760,
4636 820
4637 ],
4638 "flags": []
4639 },
4640 {
4641 "id": 76,
4642 "title": "IMG-01",
4643 "bounding": [
4644 5710,
4645 -770,
4646 1750,
4647 680
4648 ],
4649 "flags": []
4650 },
4651 {
4652 "id": 78,
4653 "title": "Prompt",
4654 "bounding": [
4655 5710,
4656 -1600,
4657 780,
4658 820
4659 ],
4660 "flags": []
4661 },
4662 {
4663 "id": 79,
4664 "title": "Sampling",
4665 "bounding": [
4666 7470,
4667 -770,
4668 3620,
4669 1240
4670 ],
4671 "flags": []
4672 }
4673 ],
4674 "definitions": {
4675 "subgraphs": [
4676 {
4677 "id": "ab33767c-6c5c-4049-8ef4-bac6fd1e48ef",
4678 "version": 1,
4679 "state": {
4680 "lastGroupId": 79,
4681 "lastNodeId": 936,
4682 "lastLinkId": 6865,
4683 "lastRerouteId": 4
4684 },
4685 "revision": 0,
4686 "config": [],
4687 "name": "Multiply Width by",
4688 "inputNode": {
4689 "id": -10,
4690 "bounding": [
4691 5422,
4692 2551,
4693 128,
4694 88
4695 ]
4696 },
4697 "outputNode": {
4698 "id": -20,
4699 "bounding": [
4700 5840.9765625,
4701 2551,
4702 128,
4703 68
4704 ]
4705 },
4706 "inputs": [
4707 {
4708 "id": "b7aa43e5-d36b-4fd1-9955-dd587a66893c",
4709 "name": "a",
4710 "type": "INT",
4711 "linkIds": [
4712 6245
4713 ],
4714 "localized_name": "a",
4715 "pos": [
4716 5526,
4717 2575
4718 ]
4719 },
4720 {
4721 "id": "d21ec9ea-e485-4275-8b70-88d30453cef4",
4722 "name": "multiple",
4723 "type": "INT",
4724 "linkIds": [
4725 6294
4726 ],
4727 "pos": [
4728 5526,
4729 2595
4730 ]
4731 }
4732 ],
4733 "outputs": [
4734 {
4735 "id": "561e8919-1fb0-4eb3-9c92-0df73ff8dff0",
4736 "name": "INT",
4737 "type": "INT",
4738 "linkIds": [
4739 6249
4740 ],
4741 "localized_name": "INT",
4742 "pos": [
4743 5864.9765625,
4744 2575
4745 ]
4746 }
4747 ],
4748 "widgets": [],
4749 "nodes": [
4750 {
4751 "id": 836,
4752 "type": "Number to Int",
4753 "pos": [
4754 5640,
4755 2660
4756 ],
4757 "size": [
4758 140,
4759 30
4760 ],
4761 "flags": {
4762 "collapsed": true
4763 },
4764 "order": 2,
4765 "mode": 0,
4766 "inputs": [
4767 {
4768 "localized_name": "number",
4769 "name": "number",
4770 "type": "NUMBER",
4771 "link": 6244
4772 }
4773 ],
4774 "outputs": [
4775 {
4776 "localized_name": "INT",
4777 "name": "INT",
4778 "type": "INT",
4779 "links": [
4780 6249
4781 ]
4782 }
4783 ],
4784 "properties": {
4785 "cnr_id": "was-ns",
4786 "ver": "3.0.1",
4787 "Node name for S&R": "Number to Int",
4788 "ue_properties": {
4789 "widget_ue_connectable": [],
4790 "input_ue_unconnectable": [],
4791 "version": "7.8"
4792 }
4793 }
4794 },
4795 {
4796 "id": 834,
4797 "type": "Number Multiple Of",
4798 "pos": [
4799 5610,
4800 2600
4801 ],
4802 "size": [
4803 270,
4804 100
4805 ],
4806 "flags": {
4807 "collapsed": true
4808 },
4809 "order": 0,
4810 "mode": 0,
4811 "inputs": [
4812 {
4813 "localized_name": "number",
4814 "name": "number",
4815 "type": "NUMBER",
4816 "link": 6243
4817 },
4818 {
4819 "localized_name": "multiple",
4820 "name": "multiple",
4821 "type": "INT",
4822 "widget": {
4823 "name": "multiple"
4824 },
4825 "link": 6294
4826 }
4827 ],
4828 "outputs": [
4829 {
4830 "localized_name": "NUMBER",
4831 "name": "NUMBER",
4832 "type": "NUMBER",
4833 "links": [
4834 6244
4835 ]
4836 },
4837 {
4838 "localized_name": "FLOAT",
4839 "name": "FLOAT",
4840 "type": "FLOAT",
4841 "links": []
4842 },
4843 {
4844 "localized_name": "INT",
4845 "name": "INT",
4846 "type": "INT",
4847 "links": []
4848 }
4849 ],
4850 "properties": {
4851 "cnr_id": "was-ns",
4852 "ver": "3.0.1",
4853 "Node name for S&R": "Number Multiple Of",
4854 "ue_properties": {
4855 "widget_ue_connectable": [],
4856 "input_ue_unconnectable": [],
4857 "version": "7.8"
4858 }
4859 },
4860 "widgets_values": [
4861 32
4862 ],
4863 "widgets_values_named": {
4864 "multiple": 32
4865 }
4866 },
4867 {
4868 "id": 835,
4869 "type": "CM_IntToNumber",
4870 "pos": [
4871 5640,
4872 2540
4873 ],
4874 "size": [
4875 270,
4876 60
4877 ],
4878 "flags": {
4879 "collapsed": true
4880 },
4881 "order": 1,
4882 "mode": 0,
4883 "inputs": [
4884 {
4885 "localized_name": "a",
4886 "name": "a",
4887 "type": "INT",
4888 "widget": {
4889 "name": "a"
4890 },
4891 "link": 6245
4892 }
4893 ],
4894 "outputs": [
4895 {
4896 "localized_name": "NUMBER",
4897 "name": "NUMBER",
4898 "type": "NUMBER",
4899 "links": [
4900 6243
4901 ]
4902 }
4903 ],
4904 "properties": {
4905 "cnr_id": "ComfyMath",
4906 "ver": "c01177221c31b8e5fbc062778fc8254aeb541638",
4907 "Node name for S&R": "CM_IntToNumber",
4908 "ue_properties": {
4909 "widget_ue_connectable": [],
4910 "input_ue_unconnectable": [],
4911 "version": "7.8"
4912 }
4913 },
4914 "widgets_values": [
4915 0
4916 ],
4917 "widgets_values_named": {
4918 "a": 0
4919 }
4920 }
4921 ],
4922 "groups": [],
4923 "links": [
4924 {
4925 "id": 6244,
4926 "origin_id": 834,
4927 "origin_slot": 0,
4928 "target_id": 836,
4929 "target_slot": 0,
4930 "type": "NUMBER"
4931 },
4932 {
4933 "id": 6243,
4934 "origin_id": 835,
4935 "origin_slot": 0,
4936 "target_id": 834,
4937 "target_slot": 0,
4938 "type": "NUMBER"
4939 },
4940 {
4941 "id": 6245,
4942 "origin_id": -10,
4943 "origin_slot": 0,
4944 "target_id": 835,
4945 "target_slot": 0,
4946 "type": "INT"
4947 },
4948 {
4949 "id": 6249,
4950 "origin_id": 836,
4951 "origin_slot": 0,
4952 "target_id": -20,
4953 "target_slot": 0,
4954 "type": "INT"
4955 },
4956 {
4957 "id": 6294,
4958 "origin_id": -10,
4959 "origin_slot": 1,
4960 "target_id": 834,
4961 "target_slot": 1,
4962 "type": "INT"
4963 }
4964 ],
4965 "extra": {
4966 "ue_links": [],
4967 "links_added_by_ue": [],
4968 "pixaromaGroups": []
4969 }
4970 },
4971 {
4972 "id": "8b39ca7b-764d-4663-81f9-3c4584fc0ae3",
4973 "version": 1,
4974 "state": {
4975 "lastGroupId": 79,
4976 "lastNodeId": 936,
4977 "lastLinkId": 6865,
4978 "lastRerouteId": 4
4979 },
4980 "revision": 0,
4981 "config": [],
4982 "name": "Multiply Height by",
4983 "inputNode": {
4984 "id": -10,
4985 "bounding": [
4986 5422,
4987 2551,
4988 128,
4989 88
4990 ]
4991 },
4992 "outputNode": {
4993 "id": -20,
4994 "bounding": [
4995 5840.9765625,
4996 2551,
4997 128,
4998 68
4999 ]
5000 },
5001 "inputs": [
5002 {
5003 "id": "b7aa43e5-d36b-4fd1-9955-dd587a66893c",
5004 "name": "a",
5005 "type": "INT",
5006 "linkIds": [
5007 6297
5008 ],
5009 "localized_name": "a",
5010 "pos": [
5011 5526,
5012 2575
5013 ]
5014 },
5015 {
5016 "id": "d21ec9ea-e485-4275-8b70-88d30453cef4",
5017 "name": "multiple",
5018 "type": "INT",
5019 "linkIds": [
5020 6299
5021 ],
5022 "pos": [
5023 5526,
5024 2595
5025 ]
5026 }
5027 ],
5028 "outputs": [
5029 {
5030 "id": "561e8919-1fb0-4eb3-9c92-0df73ff8dff0",
5031 "name": "INT",
5032 "type": "INT",
5033 "linkIds": [
5034 6298
5035 ],
5036 "localized_name": "INT",
5037 "pos": [
5038 5864.9765625,
5039 2575
5040 ]
5041 }
5042 ],
5043 "widgets": [],
5044 "nodes": [
5045 {
5046 "id": 848,
5047 "type": "Number to Int",
5048 "pos": [
5049 5640,
5050 2660
5051 ],
5052 "size": [
5053 140,
5054 30
5055 ],
5056 "flags": {
5057 "collapsed": true
5058 },
5059 "order": 0,
5060 "mode": 0,
5061 "inputs": [
5062 {
5063 "localized_name": "number",
5064 "name": "number",
5065 "type": "NUMBER",
5066 "link": 6295
5067 }
5068 ],
5069 "outputs": [
5070 {
5071 "localized_name": "INT",
5072 "name": "INT",
5073 "type": "INT",
5074 "links": [
5075 6298
5076 ]
5077 }
5078 ],
5079 "properties": {
5080 "cnr_id": "was-ns",
5081 "ver": "3.0.1",
5082 "Node name for S&R": "Number to Int",
5083 "ue_properties": {
5084 "widget_ue_connectable": [],
5085 "input_ue_unconnectable": [],
5086 "version": "7.8"
5087 }
5088 }
5089 },
5090 {
5091 "id": 849,
5092 "type": "Number Multiple Of",
5093 "pos": [
5094 5610,
5095 2600
5096 ],
5097 "size": [
5098 270,
5099 100
5100 ],
5101 "flags": {
5102 "collapsed": true
5103 },
5104 "order": 1,
5105 "mode": 0,
5106 "inputs": [
5107 {
5108 "localized_name": "number",
5109 "name": "number",
5110 "type": "NUMBER",
5111 "link": 6296
5112 },
5113 {
5114 "localized_name": "multiple",
5115 "name": "multiple",
5116 "type": "INT",
5117 "widget": {
5118 "name": "multiple"
5119 },
5120 "link": 6299
5121 }
5122 ],
5123 "outputs": [
5124 {
5125 "localized_name": "NUMBER",
5126 "name": "NUMBER",
5127 "type": "NUMBER",
5128 "links": [
5129 6295
5130 ]
5131 },
5132 {
5133 "localized_name": "FLOAT",
5134 "name": "FLOAT",
5135 "type": "FLOAT",
5136 "links": []
5137 },
5138 {
5139 "localized_name": "INT",
5140 "name": "INT",
5141 "type": "INT",
5142 "links": []
5143 }
5144 ],
5145 "properties": {
5146 "cnr_id": "was-ns",
5147 "ver": "3.0.1",
5148 "Node name for S&R": "Number Multiple Of",
5149 "ue_properties": {
5150 "widget_ue_connectable": [],
5151 "input_ue_unconnectable": [],
5152 "version": "7.8"
5153 }
5154 },
5155 "widgets_values": [
5156 32
5157 ],
5158 "widgets_values_named": {
5159 "multiple": 32
5160 }
5161 },
5162 {
5163 "id": 850,
5164 "type": "CM_IntToNumber",
5165 "pos": [
5166 5640,
5167 2540
5168 ],
5169 "size": [
5170 270,
5171 60
5172 ],
5173 "flags": {
5174 "collapsed": true
5175 },
5176 "order": 2,
5177 "mode": 0,
5178 "inputs": [
5179 {
5180 "localized_name": "a",
5181 "name": "a",
5182 "type": "INT",
5183 "widget": {
5184 "name": "a"
5185 },
5186 "link": 6297
5187 }
5188 ],
5189 "outputs": [
5190 {
5191 "localized_name": "NUMBER",
5192 "name": "NUMBER",
5193 "type": "NUMBER",
5194 "links": [
5195 6296
5196 ]
5197 }
5198 ],
5199 "properties": {
5200 "cnr_id": "ComfyMath",
5201 "ver": "c01177221c31b8e5fbc062778fc8254aeb541638",
5202 "Node name for S&R": "CM_IntToNumber",
5203 "ue_properties": {
5204 "widget_ue_connectable": [],
5205 "input_ue_unconnectable": [],
5206 "version": "7.8"
5207 }
5208 },
5209 "widgets_values": [
5210 0
5211 ],
5212 "widgets_values_named": {
5213 "a": 0
5214 }
5215 }
5216 ],
5217 "groups": [],
5218 "links": [
5219 {
5220 "id": 6295,
5221 "origin_id": 849,
5222 "origin_slot": 0,
5223 "target_id": 848,
5224 "target_slot": 0,
5225 "type": "NUMBER"
5226 },
5227 {
5228 "id": 6296,
5229 "origin_id": 850,
5230 "origin_slot": 0,
5231 "target_id": 849,
5232 "target_slot": 0,
5233 "type": "NUMBER"
5234 },
5235 {
5236 "id": 6297,
5237 "origin_id": -10,
5238 "origin_slot": 0,
5239 "target_id": 850,
5240 "target_slot": 0,
5241 "type": "INT"
5242 },
5243 {
5244 "id": 6298,
5245 "origin_id": 848,
5246 "origin_slot": 0,
5247 "target_id": -20,
5248 "target_slot": 0,
5249 "type": "INT"
5250 },
5251 {
5252 "id": 6299,
5253 "origin_id": -10,
5254 "origin_slot": 1,
5255 "target_id": 849,
5256 "target_slot": 1,
5257 "type": "INT"
5258 }
5259 ],
5260 "extra": {
5261 "ue_links": [],
5262 "links_added_by_ue": [],
5263 "pixaromaGroups": []
5264 }
5265 }
5266 ]
5267 },
5268 "config": [],
5269 "extra": {
5270 "ds": {
5271 "scale": 1.4298781416216975,
5272 "offset": [
5273 -9120.003599844757,
5274 1046.3384305186466
5275 ]
5276 },
5277 "frontendVersion": "1.58.5",
5278 "VHS_latentpreview": true,
5279 "VHS_latentpreviewrate": 0,
5280 "VHS_MetadataImage": true,
5281 "VHS_KeepIntermediate": true,
5282 "ue_links": [],
5283 "anomalous_hashes": {
5284 "1_Minimax\\minimax_h3_image_pruned_int8_convrot.safetensors": {
5285 "hash": "",
5286 "size": 20979314802,
5287 "url": ""
5288 },
5289 "1_Minimax/minimax_h3_image_pruned_int8_convrot.safetensors": {
5290 "hash": "",
5291 "size": 20979314802,
5292 "url": ""
5293 },
5294 "2_qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors": {
5295 "hash": "",
5296 "size": 15687142551,
5297 "url": ""
5298 },
5299 "3_minimax_h3_image_vae_fp16.safetensors": {
5300 "hash": "",
5301 "size": 1168505312,
5302 "url": ""
5303 },
5304 "922_taeh3.safetensors": {
5305 "hash": "",
5306 "size": 9791388,
5307 "url": ""
5308 },
5309 "925_qwen3.5_9b_w4a8_gptq.safetensors": {
5310 "hash": "",
5311 "size": 7343591088,
5312 "url": ""
5313 }
5314 },
5315 "links_added_by_ue": []
5316 },
5317 "version": 0.4
5318}