{
  "id": "5c0f3a52-7d8e-4b61-9a44-2e1f6b7c8d90",
  "revision": 0,
  "last_node_id": 29,
  "last_link_id": 49,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        -70,
        -110
      ],
      "size": [
        420,
        90
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            20
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.43.0",
        "models": [
          {
            "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
        "weight_dtype": "default"
      }
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        -70,
        190
      ],
      "size": [
        420,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1
          ]
        }
      ],
      "title": "Text encoder",
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.43.0",
        "models": [
          {
            "name": "p-h3-image_text_encoder_int8_convrot.safetensors",
            "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "p-h3-image_text_encoder_int8_convrot.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "p-h3-image_text_encoder_int8_convrot.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -70,
        370
      ],
      "size": [
        420,
        60
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2,
            18
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.43.0",
        "models": [
          {
            "name": "p-h3-image_vae_int8_convrot.safetensors",
            "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_int8_convrot.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "p-h3-image_vae_int8_convrot.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "p-h3-image_vae_int8_convrot.safetensors"
      }
    },
    {
      "id": 4,
      "type": "CLIPLoader",
      "pos": [
        -70,
        490
      ],
      "size": [
        420,
        120
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            46
          ]
        }
      ],
      "title": "Prompt upsampler model",
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.43.0",
        "models": [
          {
            "name": "p-h3-image_prompt_upsampler_w4a8.safetensors",
            "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "p-h3-image_prompt_upsampler_w4a8.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "p-h3-image_prompt_upsampler_w4a8.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 6,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        450,
        1290
      ],
      "size": [
        300,
        130
      ],
      "flags": {},
      "order": 12,
      "mode": 4,
      "showAdvanced": false,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 42
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            40,
            41,
            43,
            47
          ]
        }
      ],
      "title": "Upsampler vision size",
      "properties": {
        "Node name for S&R": "ImageScaleToTotalPixels",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        "lanczos",
        0.95,
        32
      ],
      "widgets_values_named": {
        "upscale_method": "lanczos",
        "megapixels": 0.95,
        "resolution_steps": 32
      }
    },
    {
      "id": 8,
      "type": "PreviewAny",
      "pos": [
        1020,
        -20
      ],
      "size": [
        330,
        430
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 33
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            24
          ]
        }
      ],
      "title": "Upsampled prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 9,
      "type": "PH3ImageConditioning",
      "pos": [
        1550,
        -10
      ],
      "size": [
        430,
        280
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 2
        },
        {
          "label": "image_1",
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 40
        },
        {
          "label": "image_2",
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_4",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_5",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 24
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 44
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 45
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            11
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PH3ImageConditioning",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        "Aspect ratio: 1:1\nRequest: change the lighting to night time",
        0,
        0
      ],
      "widgets_values_named": {
        "prompt": "Aspect ratio: 1:1\nRequest: change the lighting to night time",
        "width": 0,
        "height": 0
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 18,
      "type": "MiniMaxH3SigmaShift",
      "pos": [
        2180,
        70
      ],
      "size": [
        320,
        110
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 21
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            10
          ]
        }
      ],
      "title": "ModelSamplingMiniMaxH3 (keep at 1.0)",
      "properties": {
        "Node name for S&R": "MiniMaxH3SigmaShift",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        1,
        1
      ],
      "widgets_values_named": {
        "shift_video": 1,
        "shift_audio": 1
      }
    },
    {
      "id": 10,
      "type": "BasicGuider",
      "pos": [
        2180,
        240
      ],
      "size": [
        320,
        50
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 10
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            13
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicGuider",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      }
    },
    {
      "id": 11,
      "type": "KSamplerSelect",
      "pos": [
        2180,
        360
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            14
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        "er_sde"
      ],
      "widgets_values_named": {
        "sampler_name": "er_sde"
      }
    },
    {
      "id": 12,
      "type": "RandomNoise",
      "pos": [
        2180,
        -70
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            12
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        691899913323484,
        "fixed"
      ],
      "widgets_values_named": {
        "noise_seed": 691899913323484,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 13,
      "type": "ManualSigmas",
      "pos": [
        2180,
        480
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            15
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ManualSigmas",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
      ],
      "widgets_values_named": {
        "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
      }
    },
    {
      "id": 14,
      "type": "SamplerCustomAdvanced",
      "pos": [
        2620,
        40
      ],
      "size": [
        270,
        380
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 12
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 13
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 14
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 15
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            17
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustomAdvanced",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      }
    },
    {
      "id": 15,
      "type": "VAEDecode",
      "pos": [
        3060,
        -150
      ],
      "size": [
        210,
        50
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 17
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            19
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      }
    },
    {
      "id": 16,
      "type": "SaveImage",
      "pos": [
        3070,
        -30
      ],
      "size": [
        950,
        730
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 19
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.43.0"
      },
      "widgets_values": [
        "image_p_h3_image_edit"
      ],
      "widgets_values_named": {
        "filename_prefix": "image_p_h3_image_edit"
      }
    },
    {
      "id": 17,
      "type": "MarkdownNote",
      "pos": [
        -110,
        1510
      ],
      "size": [
        530,
        290
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "How to use",
      "properties": {},
      "widgets_values": [
        "## 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"
      ],
      "widgets_values_named": {
        "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"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 19,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -70,
        40
      ],
      "size": [
        420,
        90
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            21
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "p-h3-image_lora_bf16.safetensors",
            "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "p-h3-image_lora_bf16.safetensors",
        1
      ],
      "widgets_values_named": {
        "lora_name": "p-h3-image_lora_bf16.safetensors",
        "strength_model": 1
      }
    },
    {
      "id": 20,
      "type": "ImageCompare",
      "pos": [
        4090,
        -30
      ],
      "size": [
        810,
        730
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE",
          "link": 25
        },
        {
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE",
          "link": 41
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "widgets_values": [
        [
          "",
          ""
        ]
      ],
      "widgets_values_named": {
        "compare_view": [
          "",
          ""
        ]
      }
    },
    {
      "id": 23,
      "type": "ComfySwitchNode",
      "pos": [
        700,
        550
      ],
      "size": [
        270,
        80
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "STRING",
          "link": 32
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "STRING",
          "link": 49
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "STRING",
          "links": [
            33
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "switch": true
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 24,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -70,
        820
      ],
      "size": [
        460,
        420
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            32,
            48
          ]
        }
      ],
      "title": "Text (Prompt)",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Aspect ratio: 1:1\nRequest: change the lighting to night time"
      ],
      "widgets_values_named": {
        "value": "Aspect ratio: 1:1\nRequest: change the lighting to night time"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 26,
      "type": "LoadImage",
      "pos": [
        440,
        830
      ],
      "size": [
        310,
        410
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            42
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "image_p_h3_image_edit_atrium_day.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "image_p_h3_image_edit_atrium_day.png",
        "upload": "image"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 27,
      "type": "GetImageSize",
      "pos": [
        810,
        1290
      ],
      "size": [
        140,
        70
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 43
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            44
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            45
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      }
    },
    {
      "id": 28,
      "type": "MarkdownNote",
      "pos": [
        -670,
        -170
      ],
      "size": [
        520,
        770
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## 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"
      ],
      "widgets_values_named": {
        "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"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 29,
      "type": "TextGenerateV2",
      "pos": [
        540,
        -10
      ],
      "size": [
        400,
        500
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 46
        },
        {
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 47
        },
        {
          "name": "images.image2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "videos.video1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audios.audio1",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 48
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            49
          ]
        },
        {
          "name": "thinking",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "TextGenerateV2"
      },
      "widgets_values": [
        "",
        1536,
        "off",
        true,
        true,
        "auto"
      ],
      "widgets_values_named": {
        "prompt": "",
        "max_length": 1536,
        "sampling_mode": "off",
        "thinking": true,
        "use_default_template": true,
        "mtp": "auto"
      }
    }
  ],
  "links": [
    [
      10,
      18,
      0,
      10,
      0,
      "MODEL"
    ],
    [
      11,
      9,
      0,
      10,
      1,
      "CONDITIONING"
    ],
    [
      12,
      12,
      0,
      14,
      0,
      "NOISE"
    ],
    [
      13,
      10,
      0,
      14,
      1,
      "GUIDER"
    ],
    [
      14,
      11,
      0,
      14,
      2,
      "SAMPLER"
    ],
    [
      15,
      13,
      0,
      14,
      3,
      "SIGMAS"
    ],
    [
      16,
      9,
      1,
      14,
      4,
      "LATENT"
    ],
    [
      17,
      14,
      0,
      15,
      0,
      "LATENT"
    ],
    [
      18,
      3,
      0,
      15,
      1,
      "VAE"
    ],
    [
      19,
      15,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      20,
      1,
      0,
      19,
      0,
      "MODEL"
    ],
    [
      21,
      19,
      0,
      18,
      0,
      "MODEL"
    ],
    [
      25,
      16,
      0,
      20,
      0,
      "IMAGE"
    ],
    [
      32,
      24,
      0,
      23,
      0,
      "STRING"
    ],
    [
      33,
      23,
      0,
      8,
      0,
      "STRING"
    ],
    [
      41,
      6,
      0,
      20,
      1,
      "IMAGE"
    ],
    [
      42,
      26,
      0,
      6,
      0,
      "IMAGE"
    ],
    [
      43,
      6,
      0,
      27,
      0,
      "IMAGE"
    ],
    [
      49,
      29,
      0,
      23,
      1,
      "STRING"
    ],
    [
      1,
      2,
      0,
      9,
      0,
      "CLIP"
    ],
    [
      2,
      3,
      0,
      9,
      1,
      "VAE"
    ],
    [
      40,
      6,
      0,
      9,
      2,
      "IMAGE"
    ],
    [
      46,
      4,
      0,
      29,
      0,
      "CLIP"
    ],
    [
      47,
      6,
      0,
      29,
      1,
      "IMAGE"
    ],
    [
      48,
      24,
      0,
      29,
      6,
      "STRING"
    ],
    [
      24,
      8,
      0,
      9,
      7,
      "STRING"
    ],
    [
      44,
      27,
      0,
      9,
      8,
      "INT"
    ],
    [
      45,
      27,
      1,
      9,
      9,
      "INT"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "User Inputs",
      "bounding": [
        -110,
        720,
        1560,
        740
      ],
      "color": "#A88",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Models",
      "bounding": [
        -110,
        -200,
        510,
        890
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Sampling",
      "bounding": [
        2090,
        -200,
        900,
        890
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Prompt Upsampling",
      "bounding": [
        430,
        -200,
        1010,
        890
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "Conditioning",
      "bounding": [
        1470,
        -200,
        590,
        890
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.1908577840311528,
      "offset": [
        4922.967714292741,
        2107.7312109731615
      ]
    },
    "frontendVersion": "1.57.6",
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
