工作流 /
图像 /
P-H3-Image:图像编辑

P-H3-Image:图像编辑
P-H3-Image: Image Edit
Pruna AI 基于 MiniMax-H3 构建的少步图像模型:通过简短指令编辑来源图像,最多支持 9 张参考图像,8 步采样。
图像
24 个节点 1 个输入 3,266 次使用 ComfyUI ≥ 0.44.0 ComfyUI 32 KB
需要的权重
这个工作流引用了 5 个权重文件,其中 1 个能在本站模型库里找到。
minimax_h3_fl2va_pruned_int8_convrot.safetensors
在模型库查看
p-h3-image_lora_bf16.safetensors
模型库暂未收录
p-h3-image_prompt_upsampler_w4a8.safetensors
模型库暂未收录
p-h3-image_text_encoder_int8_convrot.safetensors
模型库暂未收录
p-h3-image_vae_int8_convrot.safetensors
模型库暂未收录
节点构成
CLIPLoader
× 2
MarkdownNote
× 2
UNETLoader
× 1
VAELoader
× 1
ImageScaleToTotalPixels
× 1
PreviewAny
× 1
PH3ImageConditioning
× 1
MiniMaxH3SigmaShift
× 1
BasicGuider
× 1
KSamplerSelect
× 1
RandomNoise
× 1
ManualSigmas
× 1
SamplerCustomAdvanced
× 1
VAEDecode
× 1
SaveImage
× 1
LoraLoaderModelOnly
× 1
官方标注的模型
P-H3-ImageMiniMax H3
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "5c0f3a52-7d8e-4b61-9a44-2e1f6b7c8d90",
3 "revision": 0,
4 "last_node_id": 29,
5 "last_link_id": 49,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "UNETLoader",
10 "pos": [
11 -70,
12 -110
13 ],
14 "size": [
15 420,
16 90
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "MODEL",
25 "type": "MODEL",
26 "links": [
27 20
28 ]
29 }
30 ],
31 "properties": {
32 "Node name for S&R": "UNETLoader",
33 "cnr_id": "comfy-core",
34 "ver": "0.43.0",
35 "models": [
36 {
37 "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
38 "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
39 "directory": "diffusion_models"
40 }
41 ]
42 },
43 "widgets_values": [
44 "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
45 "default"
46 ],
47 "widgets_values_named": {
48 "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
49 "weight_dtype": "default"
50 }
51 },
52 {
53 "id": 2,
54 "type": "CLIPLoader",
55 "pos": [
56 -70,
57 190
58 ],
59 "size": [
60 420,
61 120
62 ],
63 "flags": [],
64 "order": 1,
65 "mode": 0,
66 "inputs": [],
67 "outputs": [
68 {
69 "name": "CLIP",
70 "type": "CLIP",
71 "links": [
72 1
73 ]
74 }
75 ],
76 "title": "Text encoder",
77 "properties": {
78 "Node name for S&R": "CLIPLoader",
79 "cnr_id": "comfy-core",
80 "ver": "0.43.0",
81 "models": [
82 {
83 "name": "p-h3-image_text_encoder_int8_convrot.safetensors",
84 "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_int8_convrot.safetensors",
85 "directory": "text_encoders"
86 }
87 ]
88 },
89 "widgets_values": [
90 "p-h3-image_text_encoder_int8_convrot.safetensors",
91 "minimax",
92 "default"
93 ],
94 "widgets_values_named": {
95 "clip_name": "p-h3-image_text_encoder_int8_convrot.safetensors",
96 "type": "minimax",
97 "device": "default"
98 }
99 },
100 {
101 "id": 3,
102 "type": "VAELoader",
103 "pos": [
104 -70,
105 370
106 ],
107 "size": [
108 420,
109 60
110 ],
111 "flags": [],
112 "order": 2,
113 "mode": 0,
114 "inputs": [],
115 "outputs": [
116 {
117 "name": "VAE",
118 "type": "VAE",
119 "links": [
120 2,
121 18
122 ]
123 }
124 ],
125 "properties": {
126 "Node name for S&R": "VAELoader",
127 "cnr_id": "comfy-core",
128 "ver": "0.43.0",
129 "models": [
130 {
131 "name": "p-h3-image_vae_int8_convrot.safetensors",
132 "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_int8_convrot.safetensors",
133 "directory": "vae"
134 }
135 ]
136 },
137 "widgets_values": [
138 "p-h3-image_vae_int8_convrot.safetensors"
139 ],
140 "widgets_values_named": {
141 "vae_name": "p-h3-image_vae_int8_convrot.safetensors"
142 }
143 },
144 {
145 "id": 4,
146 "type": "CLIPLoader",
147 "pos": [
148 -70,
149 490
150 ],
151 "size": [
152 420,
153 120
154 ],
155 "flags": [],
156 "order": 3,
157 "mode": 0,
158 "showAdvanced": true,
159 "inputs": [],
160 "outputs": [
161 {
162 "name": "CLIP",
163 "type": "CLIP",
164 "links": [
165 46
166 ]
167 }
168 ],
169 "title": "Prompt upsampler model",
170 "properties": {
171 "Node name for S&R": "CLIPLoader",
172 "cnr_id": "comfy-core",
173 "ver": "0.43.0",
174 "models": [
175 {
176 "name": "p-h3-image_prompt_upsampler_w4a8.safetensors",
177 "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensors",
178 "directory": "text_encoders"
179 }
180 ]
181 },
182 "widgets_values": [
183 "p-h3-image_prompt_upsampler_w4a8.safetensors",
184 "minimax",
185 "default"
186 ],
187 "widgets_values_named": {
188 "clip_name": "p-h3-image_prompt_upsampler_w4a8.safetensors",
189 "type": "minimax",
190 "device": "default"
191 }
192 },
193 {
194 "id": 6,
195 "type": "ImageScaleToTotalPixels",
196 "pos": [
197 450,
198 1290
199 ],
200 "size": [
201 300,
202 130
203 ],
204 "flags": [],
205 "order": 12,
206 "mode": 4,
207 "showAdvanced": false,
208 "inputs": [
209 {
210 "name": "image",
211 "type": "IMAGE",
212 "link": 42
213 }
214 ],
215 "outputs": [
216 {
217 "name": "IMAGE",
218 "type": "IMAGE",
219 "links": [
220 40,
221 41,
222 43,
223 47
224 ]
225 }
226 ],
227 "title": "Upsampler vision size",
228 "properties": {
229 "Node name for S&R": "ImageScaleToTotalPixels",
230 "cnr_id": "comfy-core",
231 "ver": "0.43.0"
232 },
233 "widgets_values": [
234 "lanczos",
235 0.95,
236 32
237 ],
238 "widgets_values_named": {
239 "upscale_method": "lanczos",
240 "megapixels": 0.95,
241 "resolution_steps": 32
242 }
243 },
244 {
245 "id": 8,
246 "type": "PreviewAny",
247 "pos": [
248 1020,
249 -20
250 ],
251 "size": [
252 330,
253 430
254 ],
255 "flags": [],
256 "order": 17,
257 "mode": 0,
258 "inputs": [
259 {
260 "name": "source",
261 "type": "*",
262 "link": 33
263 }
264 ],
265 "outputs": [
266 {
267 "name": "STRING",
268 "type": "STRING",
269 "links": [
270 24
271 ]
272 }
273 ],
274 "title": "Upsampled prompt",
275 "properties": {
276 "Node name for S&R": "PreviewAny",
277 "cnr_id": "comfy-core",
278 "ver": "0.43.0"
279 },
280 "widgets_values": [],
281 "widgets_values_named": []
282 },
283 {
284 "id": 9,
285 "type": "PH3ImageConditioning",
286 "pos": [
287 1550,
288 -10
289 ],
290 "size": [
291 430,
292 280
293 ],
294 "flags": [],
295 "order": 18,
296 "mode": 0,
297 "inputs": [
298 {
299 "name": "clip",
300 "type": "CLIP",
301 "link": 1
302 },
303 {
304 "name": "vae",
305 "shape": 7,
306 "type": "VAE",
307 "link": 2
308 },
309 {
310 "label": "image_1",
311 "name": "images.image_1",
312 "shape": 7,
313 "type": "IMAGE",
314 "link": 40
315 },
316 {
317 "label": "image_2",
318 "name": "images.image_2",
319 "shape": 7,
320 "type": "IMAGE",
321 "link": null
322 },
323 {
324 "name": "images.image_3",
325 "shape": 7,
326 "type": "IMAGE",
327 "link": null
328 },
329 {
330 "name": "images.image_4",
331 "shape": 7,
332 "type": "IMAGE",
333 "link": null
334 },
335 {
336 "name": "images.image_5",
337 "shape": 7,
338 "type": "IMAGE",
339 "link": null
340 },
341 {
342 "name": "prompt",
343 "type": "STRING",
344 "widget": {
345 "name": "prompt"
346 },
347 "link": 24
348 },
349 {
350 "name": "width",
351 "type": "INT",
352 "widget": {
353 "name": "width"
354 },
355 "link": 44
356 },
357 {
358 "name": "height",
359 "type": "INT",
360 "widget": {
361 "name": "height"
362 },
363 "link": 45
364 }
365 ],
366 "outputs": [
367 {
368 "name": "positive",
369 "type": "CONDITIONING",
370 "links": [
371 11
372 ]
373 },
374 {
375 "name": "LATENT",
376 "type": "LATENT",
377 "links": [
378 16
379 ]
380 }
381 ],
382 "properties": {
383 "Node name for S&R": "PH3ImageConditioning",
384 "cnr_id": "comfy-core",
385 "ver": "0.43.0"
386 },
387 "widgets_values": [
388 "Aspect ratio: 1:1\nRequest: change the lighting to night time",
389 0,
390 0
391 ],
392 "widgets_values_named": {
393 "prompt": "Aspect ratio: 1:1\nRequest: change the lighting to night time",
394 "width": 0,
395 "height": 0
396 },
397 "color": "#322",
398 "bgcolor": "#533"
399 },
400 {
401 "id": 18,
402 "type": "MiniMaxH3SigmaShift",
403 "pos": [
404 2180,
405 70
406 ],
407 "size": [
408 320,
409 110
410 ],
411 "flags": [],
412 "order": 13,
413 "mode": 0,
414 "inputs": [
415 {
416 "name": "model",
417 "type": "MODEL",
418 "link": 21
419 }
420 ],
421 "outputs": [
422 {
423 "name": "MODEL",
424 "type": "MODEL",
425 "links": [
426 10
427 ]
428 }
429 ],
430 "title": "ModelSamplingMiniMaxH3 (keep at 1.0)",
431 "properties": {
432 "Node name for S&R": "MiniMaxH3SigmaShift",
433 "cnr_id": "comfy-core",
434 "ver": "0.43.0"
435 },
436 "widgets_values": [
437 1,
438 1
439 ],
440 "widgets_values_named": {
441 "shift_video": 1,
442 "shift_audio": 1
443 }
444 },
445 {
446 "id": 10,
447 "type": "BasicGuider",
448 "pos": [
449 2180,
450 240
451 ],
452 "size": [
453 320,
454 50
455 ],
456 "flags": [],
457 "order": 19,
458 "mode": 0,
459 "inputs": [
460 {
461 "name": "model",
462 "type": "MODEL",
463 "link": 10
464 },
465 {
466 "name": "conditioning",
467 "type": "CONDITIONING",
468 "link": 11
469 }
470 ],
471 "outputs": [
472 {
473 "name": "GUIDER",
474 "type": "GUIDER",
475 "links": [
476 13
477 ]
478 }
479 ],
480 "properties": {
481 "Node name for S&R": "BasicGuider",
482 "cnr_id": "comfy-core",
483 "ver": "0.43.0"
484 }
485 },
486 {
487 "id": 11,
488 "type": "KSamplerSelect",
489 "pos": [
490 2180,
491 360
492 ],
493 "size": [
494 320,
495 60
496 ],
497 "flags": [],
498 "order": 4,
499 "mode": 0,
500 "inputs": [],
501 "outputs": [
502 {
503 "name": "SAMPLER",
504 "type": "SAMPLER",
505 "links": [
506 14
507 ]
508 }
509 ],
510 "properties": {
511 "Node name for S&R": "KSamplerSelect",
512 "cnr_id": "comfy-core",
513 "ver": "0.43.0"
514 },
515 "widgets_values": [
516 "er_sde"
517 ],
518 "widgets_values_named": {
519 "sampler_name": "er_sde"
520 }
521 },
522 {
523 "id": 12,
524 "type": "RandomNoise",
525 "pos": [
526 2180,
527 -70
528 ],
529 "size": [
530 320,
531 90
532 ],
533 "flags": [],
534 "order": 5,
535 "mode": 0,
536 "inputs": [],
537 "outputs": [
538 {
539 "name": "NOISE",
540 "type": "NOISE",
541 "links": [
542 12
543 ]
544 }
545 ],
546 "properties": {
547 "Node name for S&R": "RandomNoise",
548 "cnr_id": "comfy-core",
549 "ver": "0.43.0"
550 },
551 "widgets_values": [
552 691899913323484,
553 "fixed"
554 ],
555 "widgets_values_named": {
556 "noise_seed": 691899913323484,
557 "control_after_generate": "fixed"
558 }
559 },
560 {
561 "id": 13,
562 "type": "ManualSigmas",
563 "pos": [
564 2180,
565 480
566 ],
567 "size": [
568 320,
569 90
570 ],
571 "flags": [],
572 "order": 6,
573 "mode": 0,
574 "inputs": [],
575 "outputs": [
576 {
577 "name": "SIGMAS",
578 "type": "SIGMAS",
579 "links": [
580 15
581 ]
582 }
583 ],
584 "properties": {
585 "Node name for S&R": "ManualSigmas",
586 "cnr_id": "comfy-core",
587 "ver": "0.43.0"
588 },
589 "widgets_values": [
590 "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
591 ],
592 "widgets_values_named": {
593 "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
594 }
595 },
596 {
597 "id": 14,
598 "type": "SamplerCustomAdvanced",
599 "pos": [
600 2620,
601 40
602 ],
603 "size": [
604 270,
605 380
606 ],
607 "flags": [],
608 "order": 20,
609 "mode": 0,
610 "inputs": [
611 {
612 "name": "noise",
613 "type": "NOISE",
614 "link": 12
615 },
616 {
617 "name": "guider",
618 "type": "GUIDER",
619 "link": 13
620 },
621 {
622 "name": "sampler",
623 "type": "SAMPLER",
624 "link": 14
625 },
626 {
627 "name": "sigmas",
628 "type": "SIGMAS",
629 "link": 15
630 },
631 {
632 "name": "latent_image",
633 "type": "LATENT",
634 "link": 16
635 }
636 ],
637 "outputs": [
638 {
639 "name": "output",
640 "type": "LATENT",
641 "links": [
642 17
643 ]
644 },
645 {
646 "name": "denoised_output",
647 "type": "LATENT",
648 "links": []
649 }
650 ],
651 "properties": {
652 "Node name for S&R": "SamplerCustomAdvanced",
653 "cnr_id": "comfy-core",
654 "ver": "0.43.0"
655 }
656 },
657 {
658 "id": 15,
659 "type": "VAEDecode",
660 "pos": [
661 3060,
662 -150
663 ],
664 "size": [
665 210,
666 50
667 ],
668 "flags": [],
669 "order": 21,
670 "mode": 0,
671 "inputs": [
672 {
673 "name": "samples",
674 "type": "LATENT",
675 "link": 17
676 },
677 {
678 "name": "vae",
679 "type": "VAE",
680 "link": 18
681 }
682 ],
683 "outputs": [
684 {
685 "name": "IMAGE",
686 "type": "IMAGE",
687 "links": [
688 19
689 ]
690 }
691 ],
692 "properties": {
693 "Node name for S&R": "VAEDecode",
694 "cnr_id": "comfy-core",
695 "ver": "0.43.0"
696 }
697 },
698 {
699 "id": 16,
700 "type": "SaveImage",
701 "pos": [
702 3070,
703 -30
704 ],
705 "size": [
706 950,
707 730
708 ],
709 "flags": [],
710 "order": 22,
711 "mode": 0,
712 "inputs": [
713 {
714 "name": "images",
715 "type": "IMAGE",
716 "link": 19
717 }
718 ],
719 "outputs": [
720 {
721 "name": "images",
722 "type": "IMAGE",
723 "links": [
724 25
725 ]
726 }
727 ],
728 "properties": {
729 "Node name for S&R": "SaveImage",
730 "cnr_id": "comfy-core",
731 "ver": "0.43.0"
732 },
733 "widgets_values": [
734 "image_p_h3_image_edit"
735 ],
736 "widgets_values_named": {
737 "filename_prefix": "image_p_h3_image_edit"
738 }
739 },
740 {
741 "id": 17,
742 "type": "MarkdownNote",
743 "pos": [
744 -110,
745 1510
746 ],
747 "size": [
748 530,
749 290
750 ],
751 "flags": [],
752 "order": 7,
753 "mode": 0,
754 "inputs": [],
755 "outputs": [],
756 "title": "How to use",
757 "properties": [],
758 "widgets_values": [
759 "## p-h3-image\n\n**Text to image:** write your request after `Request:` in the Prompt upsampler. Width and height 0 give 2912x2912.\n\n**Image edit:** the source image goes into `Load Image`; the result matches its shape, so `width`/`height` on the conditioning follow the image automatically.\n\n**Prompt format:** write `Aspect ratio: <ratio>` then `Request: <what to change>`. The model keeps the composition when the request is one short sentence.\n\nOther shapes: set width and height on p-h3-image Conditioning and change `Aspect ratio:` to match.\n\n| Ratio | Size |\n| --- | --- |\n| 4:3 | 3360x2496 |\n| 3:2 | 3552x2368 |\n| 16:9 | 3872x2176 |\n\nSwap the sides for portrait, for example `Aspect ratio: 3:4` with 2496x3360.\n"
760 ],
761 "widgets_values_named": {
762 "text": "## p-h3-image\n\n**Text to image:** write your request after `Request:` in the Prompt upsampler. Width and height 0 give 2912x2912.\n\n**Image edit:** the source image goes into `Load Image`; the result matches its shape, so `width`/`height` on the conditioning follow the image automatically.\n\n**Prompt format:** write `Aspect ratio: <ratio>` then `Request: <what to change>`. The model keeps the composition when the request is one short sentence.\n\nOther shapes: set width and height on p-h3-image Conditioning and change `Aspect ratio:` to match.\n\n| Ratio | Size |\n| --- | --- |\n| 4:3 | 3360x2496 |\n| 3:2 | 3552x2368 |\n| 16:9 | 3872x2176 |\n\nSwap the sides for portrait, for example `Aspect ratio: 3:4` with 2496x3360.\n"
763 },
764 "color": "#222",
765 "bgcolor": "#000"
766 },
767 {
768 "id": 19,
769 "type": "LoraLoaderModelOnly",
770 "pos": [
771 -70,
772 40
773 ],
774 "size": [
775 420,
776 90
777 ],
778 "flags": [],
779 "order": 11,
780 "mode": 0,
781 "inputs": [
782 {
783 "name": "model",
784 "type": "MODEL",
785 "link": 20
786 }
787 ],
788 "outputs": [
789 {
790 "name": "MODEL",
791 "type": "MODEL",
792 "links": [
793 21
794 ]
795 }
796 ],
797 "properties": {
798 "Node name for S&R": "LoraLoaderModelOnly",
799 "models": [
800 {
801 "name": "p-h3-image_lora_bf16.safetensors",
802 "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors",
803 "directory": "loras"
804 }
805 ]
806 },
807 "widgets_values": [
808 "p-h3-image_lora_bf16.safetensors",
809 1
810 ],
811 "widgets_values_named": {
812 "lora_name": "p-h3-image_lora_bf16.safetensors",
813 "strength_model": 1
814 }
815 },
816 {
817 "id": 20,
818 "type": "ImageCompare",
819 "pos": [
820 4090,
821 -30
822 ],
823 "size": [
824 810,
825 730
826 ],
827 "flags": [],
828 "order": 23,
829 "mode": 0,
830 "inputs": [
831 {
832 "name": "image_a",
833 "shape": 7,
834 "type": "IMAGE",
835 "link": 25
836 },
837 {
838 "name": "image_b",
839 "shape": 7,
840 "type": "IMAGE",
841 "link": 41
842 }
843 ],
844 "outputs": [],
845 "properties": {
846 "Node name for S&R": "ImageCompare"
847 },
848 "widgets_values": [
849 [
850 "",
851 ""
852 ]
853 ],
854 "widgets_values_named": {
855 "compare_view": [
856 "",
857 ""
858 ]
859 }
860 },
861 {
862 "id": 23,
863 "type": "ComfySwitchNode",
864 "pos": [
865 700,
866 550
867 ],
868 "size": [
869 270,
870 80
871 ],
872 "flags": [],
873 "order": 16,
874 "mode": 0,
875 "inputs": [
876 {
877 "name": "on_false",
878 "shape": 7,
879 "type": "STRING",
880 "link": 32
881 },
882 {
883 "name": "on_true",
884 "shape": 7,
885 "type": "STRING",
886 "link": 49
887 }
888 ],
889 "outputs": [
890 {
891 "name": "output",
892 "type": "STRING",
893 "links": [
894 33
895 ]
896 }
897 ],
898 "properties": {
899 "Node name for S&R": "ComfySwitchNode"
900 },
901 "widgets_values": [
902 true
903 ],
904 "widgets_values_named": {
905 "switch": true
906 },
907 "color": "#322",
908 "bgcolor": "#533"
909 },
910 {
911 "id": 24,
912 "type": "PrimitiveStringMultiline",
913 "pos": [
914 -70,
915 820
916 ],
917 "size": [
918 460,
919 420
920 ],
921 "flags": [],
922 "order": 8,
923 "mode": 0,
924 "inputs": [],
925 "outputs": [
926 {
927 "name": "STRING",
928 "type": "STRING",
929 "links": [
930 32,
931 48
932 ]
933 }
934 ],
935 "title": "Text (Prompt)",
936 "properties": {
937 "Node name for S&R": "PrimitiveStringMultiline"
938 },
939 "widgets_values": [
940 "Aspect ratio: 1:1\nRequest: change the lighting to night time"
941 ],
942 "widgets_values_named": {
943 "value": "Aspect ratio: 1:1\nRequest: change the lighting to night time"
944 },
945 "color": "#322",
946 "bgcolor": "#533"
947 },
948 {
949 "id": 26,
950 "type": "LoadImage",
951 "pos": [
952 440,
953 830
954 ],
955 "size": [
956 310,
957 410
958 ],
959 "flags": [],
960 "order": 9,
961 "mode": 0,
962 "inputs": [],
963 "outputs": [
964 {
965 "name": "IMAGE",
966 "type": "IMAGE",
967 "links": [
968 42
969 ]
970 },
971 {
972 "name": "MASK",
973 "type": "MASK",
974 "links": null
975 }
976 ],
977 "properties": {
978 "Node name for S&R": "LoadImage"
979 },
980 "widgets_values": [
981 "image_p_h3_image_edit_atrium_day.png",
982 "image"
983 ],
984 "widgets_values_named": {
985 "image": "image_p_h3_image_edit_atrium_day.png",
986 "upload": "image"
987 },
988 "color": "#322",
989 "bgcolor": "#533"
990 },
991 {
992 "id": 27,
993 "type": "GetImageSize",
994 "pos": [
995 810,
996 1290
997 ],
998 "size": [
999 140,
1000 70
1001 ],
1002 "flags": [],
1003 "order": 14,
1004 "mode": 0,
1005 "inputs": [
1006 {
1007 "name": "image",
1008 "type": "IMAGE",
1009 "link": 43
1010 }
1011 ],
1012 "outputs": [
1013 {
1014 "name": "width",
1015 "type": "INT",
1016 "links": [
1017 44
1018 ]
1019 },
1020 {
1021 "name": "height",
1022 "type": "INT",
1023 "links": [
1024 45
1025 ]
1026 },
1027 {
1028 "name": "batch_size",
1029 "type": "INT",
1030 "links": null
1031 }
1032 ],
1033 "properties": {
1034 "Node name for S&R": "GetImageSize"
1035 }
1036 },
1037 {
1038 "id": 28,
1039 "type": "MarkdownNote",
1040 "pos": [
1041 -670,
1042 -170
1043 ],
1044 "size": [
1045 520,
1046 770
1047 ],
1048 "flags": [],
1049 "order": 10,
1050 "mode": 0,
1051 "inputs": [],
1052 "outputs": [],
1053 "properties": [],
1054 "widgets_values": [
1055 "## Input Asset\n\n- [image_p_h3_image_edit_atrium_day.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/image_p_h3_image_edit_atrium_day.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n- [Hugging Face:PrunaAI/p-h3-image-comfy](https://huggingface.co/PrunaAI/p-h3-image-comfy)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/MiniMax-H3](https://modelscope.cn/models/Comfy-Org/MiniMax-H3)\n\n**diffusion_models**\n\n- [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) (19.53 GB)\n\n**text_encoders**\n\n- [p-h3-image_text_encoder_int8_convrot.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_int8_convrot.safetensors)\n- [p-h3-image_prompt_upsampler_w4a8.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensors)\n\n**vae**\n\n- [p-h3-image_vae_int8_convrot.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_int8_convrot.safetensors)\n\n**loras**\n\n- [p-h3-image_lora_bf16.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ ├── p-h3-image_text_encoder_int8_convrot.safetensors\n│ │ └── p-h3-image_prompt_upsampler_w4a8.safetensors\n│ ├── 📂 vae/\n│ │ └── p-h3-image_vae_int8_convrot.safetensors\n│ └── 📂 loras/\n│ └── p-h3-image_lora_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
1056 ],
1057 "widgets_values_named": {
1058 "text": "## Input Asset\n\n- [image_p_h3_image_edit_atrium_day.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/image_p_h3_image_edit_atrium_day.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n- [Hugging Face:PrunaAI/p-h3-image-comfy](https://huggingface.co/PrunaAI/p-h3-image-comfy)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/MiniMax-H3](https://modelscope.cn/models/Comfy-Org/MiniMax-H3)\n\n**diffusion_models**\n\n- [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) (19.53 GB)\n\n**text_encoders**\n\n- [p-h3-image_text_encoder_int8_convrot.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_int8_convrot.safetensors)\n- [p-h3-image_prompt_upsampler_w4a8.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensors)\n\n**vae**\n\n- [p-h3-image_vae_int8_convrot.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_int8_convrot.safetensors)\n\n**loras**\n\n- [p-h3-image_lora_bf16.safetensors](https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ ├── p-h3-image_text_encoder_int8_convrot.safetensors\n│ │ └── p-h3-image_prompt_upsampler_w4a8.safetensors\n│ ├── 📂 vae/\n│ │ └── p-h3-image_vae_int8_convrot.safetensors\n│ └── 📂 loras/\n│ └── p-h3-image_lora_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
1059 },
1060 "color": "#222",
1061 "bgcolor": "#000"
1062 },
1063 {
1064 "id": 29,
1065 "type": "TextGenerateV2",
1066 "pos": [
1067 540,
1068 -10
1069 ],
1070 "size": [
1071 400,
1072 500
1073 ],
1074 "flags": [],
1075 "order": 15,
1076 "mode": 0,
1077 "showAdvanced": true,
1078 "inputs": [
1079 {
1080 "name": "clip",
1081 "type": "CLIP",
1082 "link": 46
1083 },
1084 {
1085 "name": "images.image1",
1086 "shape": 7,
1087 "type": "IMAGE",
1088 "link": 47
1089 },
1090 {
1091 "name": "images.image2",
1092 "shape": 7,
1093 "type": "IMAGE",
1094 "link": null
1095 },
1096 {
1097 "name": "videos.video1",
1098 "shape": 7,
1099 "type": "IMAGE",
1100 "link": null
1101 },
1102 {
1103 "name": "audios.audio1",
1104 "shape": 7,
1105 "type": "AUDIO",
1106 "link": null
1107 },
1108 {
1109 "name": "system_prompt",
1110 "shape": 7,
1111 "type": "STRING",
1112 "link": null
1113 },
1114 {
1115 "name": "prompt",
1116 "type": "STRING",
1117 "widget": {
1118 "name": "prompt"
1119 },
1120 "link": 48
1121 }
1122 ],
1123 "outputs": [
1124 {
1125 "name": "generated_text",
1126 "type": "STRING",
1127 "links": [
1128 49
1129 ]
1130 },
1131 {
1132 "name": "thinking",
1133 "type": "STRING",
1134 "links": null
1135 }
1136 ],
1137 "properties": {
1138 "Node name for S&R": "TextGenerateV2"
1139 },
1140 "widgets_values": [
1141 "",
1142 1536,
1143 "off",
1144 true,
1145 true,
1146 "auto"
1147 ],
1148 "widgets_values_named": {
1149 "prompt": "",
1150 "max_length": 1536,
1151 "sampling_mode": "off",
1152 "thinking": true,
1153 "use_default_template": true,
1154 "mtp": "auto"
1155 }
1156 }
1157 ],
1158 "links": [
1159 [
1160 10,
1161 18,
1162 0,
1163 10,
1164 0,
1165 "MODEL"
1166 ],
1167 [
1168 11,
1169 9,
1170 0,
1171 10,
1172 1,
1173 "CONDITIONING"
1174 ],
1175 [
1176 12,
1177 12,
1178 0,
1179 14,
1180 0,
1181 "NOISE"
1182 ],
1183 [
1184 13,
1185 10,
1186 0,
1187 14,
1188 1,
1189 "GUIDER"
1190 ],
1191 [
1192 14,
1193 11,
1194 0,
1195 14,
1196 2,
1197 "SAMPLER"
1198 ],
1199 [
1200 15,
1201 13,
1202 0,
1203 14,
1204 3,
1205 "SIGMAS"
1206 ],
1207 [
1208 16,
1209 9,
1210 1,
1211 14,
1212 4,
1213 "LATENT"
1214 ],
1215 [
1216 17,
1217 14,
1218 0,
1219 15,
1220 0,
1221 "LATENT"
1222 ],
1223 [
1224 18,
1225 3,
1226 0,
1227 15,
1228 1,
1229 "VAE"
1230 ],
1231 [
1232 19,
1233 15,
1234 0,
1235 16,
1236 0,
1237 "IMAGE"
1238 ],
1239 [
1240 20,
1241 1,
1242 0,
1243 19,
1244 0,
1245 "MODEL"
1246 ],
1247 [
1248 21,
1249 19,
1250 0,
1251 18,
1252 0,
1253 "MODEL"
1254 ],
1255 [
1256 25,
1257 16,
1258 0,
1259 20,
1260 0,
1261 "IMAGE"
1262 ],
1263 [
1264 32,
1265 24,
1266 0,
1267 23,
1268 0,
1269 "STRING"
1270 ],
1271 [
1272 33,
1273 23,
1274 0,
1275 8,
1276 0,
1277 "STRING"
1278 ],
1279 [
1280 41,
1281 6,
1282 0,
1283 20,
1284 1,
1285 "IMAGE"
1286 ],
1287 [
1288 42,
1289 26,
1290 0,
1291 6,
1292 0,
1293 "IMAGE"
1294 ],
1295 [
1296 43,
1297 6,
1298 0,
1299 27,
1300 0,
1301 "IMAGE"
1302 ],
1303 [
1304 49,
1305 29,
1306 0,
1307 23,
1308 1,
1309 "STRING"
1310 ],
1311 [
1312 1,
1313 2,
1314 0,
1315 9,
1316 0,
1317 "CLIP"
1318 ],
1319 [
1320 2,
1321 3,
1322 0,
1323 9,
1324 1,
1325 "VAE"
1326 ],
1327 [
1328 40,
1329 6,
1330 0,
1331 9,
1332 2,
1333 "IMAGE"
1334 ],
1335 [
1336 46,
1337 4,
1338 0,
1339 29,
1340 0,
1341 "CLIP"
1342 ],
1343 [
1344 47,
1345 6,
1346 0,
1347 29,
1348 1,
1349 "IMAGE"
1350 ],
1351 [
1352 48,
1353 24,
1354 0,
1355 29,
1356 6,
1357 "STRING"
1358 ],
1359 [
1360 24,
1361 8,
1362 0,
1363 9,
1364 7,
1365 "STRING"
1366 ],
1367 [
1368 44,
1369 27,
1370 0,
1371 9,
1372 8,
1373 "INT"
1374 ],
1375 [
1376 45,
1377 27,
1378 1,
1379 9,
1380 9,
1381 "INT"
1382 ]
1383 ],
1384 "groups": [
1385 {
1386 "id": 1,
1387 "title": "User Inputs",
1388 "bounding": [
1389 -110,
1390 720,
1391 1560,
1392 740
1393 ],
1394 "color": "#A88",
1395 "flags": []
1396 },
1397 {
1398 "id": 2,
1399 "title": "Models",
1400 "bounding": [
1401 -110,
1402 -200,
1403 510,
1404 890
1405 ],
1406 "color": "#3f789e",
1407 "flags": []
1408 },
1409 {
1410 "id": 4,
1411 "title": "Sampling",
1412 "bounding": [
1413 2090,
1414 -200,
1415 900,
1416 890
1417 ],
1418 "color": "#3f789e",
1419 "flags": []
1420 },
1421 {
1422 "id": 5,
1423 "title": "Prompt Upsampling",
1424 "bounding": [
1425 430,
1426 -200,
1427 1010,
1428 890
1429 ],
1430 "color": "#3f789e",
1431 "flags": []
1432 },
1433 {
1434 "id": 6,
1435 "title": "Conditioning",
1436 "bounding": [
1437 1470,
1438 -200,
1439 590,
1440 890
1441 ],
1442 "color": "#3f789e",
1443 "flags": []
1444 }
1445 ],
1446 "config": [],
1447 "extra": {
1448 "ds": {
1449 "scale": 0.1908577840311528,
1450 "offset": [
1451 4922.967714292741,
1452 2107.7312109731615
1453 ]
1454 },
1455 "frontendVersion": "1.57.6",
1456 "VHS_latentpreview": true,
1457 "VHS_latentpreviewrate": 0,
1458 "VHS_MetadataImage": true,
1459 "VHS_KeepIntermediate": true
1460 },
1461 "version": 0.4
1462}