{
 "1": {
  "inputs": {
   "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "2": {
  "inputs": {
   "clip_name": "p-h3-image_text_encoder_int8_convrot.safetensors",
   "type": "minimax",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Text encoder"
  }
 },
 "3": {
  "inputs": {
   "vae_name": "p-h3-image_vae_int8_convrot.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "4": {
  "inputs": {
   "clip_name": "p-h3-image_prompt_upsampler_w4a8.safetensors",
   "type": "minimax",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Prompt upsampler model"
  }
 },
 "8": {
  "inputs": {
   "source": [
    "23",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Upsampled prompt"
  }
 },
 "9": {
  "inputs": {
   "clip": [
    "2",
    0
   ],
   "prompt": [
    "8",
    0
   ],
   "width": [
    "27",
    0
   ],
   "height": [
    "27",
    1
   ],
   "vae": [
    "3",
    0
   ],
   "images.image_1": [
    "26",
    0
   ]
  },
  "class_type": "PH3ImageConditioning",
  "_meta": {
   "title": "p-h3-image Conditioning"
  }
 },
 "18": {
  "inputs": {
   "shift_video": 1,
   "shift_audio": 1,
   "model": [
    "19",
    0
   ]
  },
  "class_type": "MiniMaxH3SigmaShift",
  "_meta": {
   "title": "ModelSamplingMiniMaxH3 (keep at 1.0)"
  }
 },
 "10": {
  "inputs": {
   "model": [
    "18",
    0
   ],
   "conditioning": [
    "9",
    0
   ]
  },
  "class_type": "BasicGuider",
  "_meta": {
   "title": "Basic Guider"
  }
 },
 "11": {
  "inputs": {
   "sampler_name": "er_sde"
  },
  "class_type": "KSamplerSelect",
  "_meta": {
   "title": "KSamplerSelect"
  }
 },
 "12": {
  "inputs": {
   "noise_seed": 691899913323484
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "13": {
  "inputs": {
   "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
  },
  "class_type": "ManualSigmas",
  "_meta": {
   "title": "ManualSigmas"
  }
 },
 "14": {
  "inputs": {
   "noise": [
    "12",
    0
   ],
   "guider": [
    "10",
    0
   ],
   "sampler": [
    "11",
    0
   ],
   "sigmas": [
    "13",
    0
   ],
   "latent_image": [
    "9",
    1
   ]
  },
  "class_type": "SamplerCustomAdvanced",
  "_meta": {
   "title": "SamplerCustomAdvanced"
  }
 },
 "15": {
  "inputs": {
   "samples": [
    "14",
    0
   ],
   "vae": [
    "3",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "16": {
  "inputs": {
   "filename_prefix": "image_p_h3_image_edit",
   "images": [
    "15",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "19": {
  "inputs": {
   "lora_name": "p-h3-image_lora_bf16.safetensors",
   "strength_model": 1,
   "model": [
    "1",
    0
   ]
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Load LoRA"
  }
 },
 "20": {
  "inputs": {
   "compare_view": {
    "__value__": [
     "",
     ""
    ]
   },
   "image_a": [
    "16",
    0
   ],
   "image_b": [
    "26",
    0
   ]
  },
  "class_type": "ImageCompare",
  "_meta": {
   "title": "Compare Images"
  }
 },
 "23": {
  "inputs": {
   "switch": true,
   "on_false": [
    "24",
    0
   ],
   "on_true": [
    "29",
    0
   ]
  },
  "class_type": "ComfySwitchNode",
  "_meta": {
   "title": "If/Else Switch"
  }
 },
 "24": {
  "inputs": {
   "value": "Aspect ratio: 1:1\nRequest: change the lighting to night time"
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "Text (Prompt)"
  }
 },
 "26": {
  "inputs": {
   "image": "image_p_h3_image_edit_atrium_day.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "27": {
  "inputs": {
   "image": [
    "26",
    0
   ]
  },
  "class_type": "GetImageSize",
  "_meta": {
   "title": "Get Image Size"
  }
 },
 "29": {
  "inputs": {
   "max_length": 1536,
   "sampling_mode": "off",
   "thinking": true,
   "use_default_template": true,
   "mtp": "auto",
   "clip": [
    "4",
    0
   ],
   "prompt": [
    "24",
    0
   ],
   "images.image1": [
    "26",
    0
   ]
  },
  "class_type": "TextGenerateV2",
  "_meta": {
   "title": "Generate Text"
  }
 }
}