{
 "id": "e61567d6-e788-51b3-a8cb-463bf48c0ff2",
 "revision": 0,
 "last_node_id": 91,
 "last_link_id": 19,
 "nodes": [
  {
   "id": 90,
   "type": "MarkdownNote",
   "pos": [
    0,
    -30
   ],
   "size": [
    620,
    560
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "title": "Read me",
   "properties": {
    "Node name for S&R": "MarkdownNote"
   },
   "widgets_values": [
    "## MiniMax H3-Image · simple text to image\n\n**Models** (free, pick them in *Models*):\n\n| Folder | File | From |\n|---|---|---|\n| diffusion_models | `minimax_h3_image_pruned_int8_convrot` | Comfy-Org/MiniMax-H3-Image |\n| text_encoders | `qwen3vl_32b_minimax_h3_nvfp4_awq` (RTX 50) or the template's `..._int8_convrot` | Comfy-Org/MiniMax-H3-Image |\n| vae | `p-h3-image_vae_int8_convrot` (or the standard `minimax_h3_image_vae_fp16`) | PrunaAI/P-H3-Image-Comfy |\n\nComfyUI 0.45.0 or newer, core nodes only.\n\n**Prompt:** describe the picture in full sentences. No negative prompt, no prompt enhancer.\n\n**Keep:** 16 MP (lower = blurry eyes) and the gray *Sampling* group (SamplerLCM, 6 steps).\n\n**LoRA (optional):** the LoRA node is bypassed. Pick a LoRA, select the node and press **Ctrl+B**.\n\n**Output:** the half-size image is saved. The full 16 MP save is bypassed, **Ctrl+B** turns it on too.\n\n**Images:** see the blue note below."
   ],
   "color": "#432",
   "bgcolor": "#653"
  },
  {
   "id": 91,
   "type": "MarkdownNote",
   "pos": [
    0,
    600
   ],
   "size": [
    620,
    600
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "title": "Using images",
   "properties": {
    "Node name for S&R": "MarkdownNote"
   },
   "widgets_values": [
    "## Using images (edit or reference)\n\nAdd a **Load Image** node and connect it to `image_0` on the *H3-Image conditioning* node in the gray group. A new slot appears for the next image. Up to 4 images work well.\n\n- In the prompt the images are `<Picture 1>`, `<Picture 2>` ... in slot order.\n- **Edit:** Picture 1 is the image to change. Say what changes and what stays, e.g. *\"Change her jacket to a red leather jacket. Her face, hair, pose and the background stay exactly as in <Picture 1>.\"* Set the aspect ratio in *Size & seed* to match Picture 1.\n- **Reference:** describe a new scene, e.g. *\"The woman from <Picture 1> sits in a street cafe ...\"*. The size comes from *Size & seed*.\n\nThe VAE is already connected, so nothing else needs to change."
   ],
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 10,
   "type": "PrimitiveStringMultiline",
   "pos": [
    660,
    20
   ],
   "size": [
    720,
    580
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "value",
     "name": "value",
     "type": "STRING",
     "link": null,
     "widget": {
      "name": "value"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "STRING",
     "name": "STRING",
     "type": "STRING",
     "links": [
      5
     ]
    }
   ],
   "title": "Prompt",
   "properties": {
    "Node name for S&R": "PrimitiveStringMultiline"
   },
   "widgets_values": [
    "Full body shot at a slightly low angle of a woman boxer standing in the corner of a boxing ring, front three-quarter to the camera, wrapping white tape around her right hand with her teeth holding the end of the tape. She has deep brown skin shining with sweat, dark brown eyes and long black hair in tight cornrow braids pulled into a high ponytail, and an athletic, muscular build. She wears a black sports bra, red satin boxing shorts with a gold waistband and black high-top boxing boots. She looks at the camera with a fierce, focused stare. Behind her are red ring ropes, a dark arena with blurred crowd silhouettes and a pair of red gloves hanging on the corner post. A bright spotlight from above makes the sweat on her shoulders glisten, with deep shadows below."
   ]
  },
  {
   "id": 20,
   "type": "ResolutionSelector",
   "pos": [
    660,
    720
   ],
   "size": [
    360,
    160
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "aspect_ratio",
     "name": "aspect_ratio",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "aspect_ratio"
     }
    },
    {
     "localized_name": "megapixels",
     "name": "megapixels",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "megapixels"
     }
    },
    {
     "localized_name": "multiple",
     "name": "multiple",
     "type": "INT",
     "link": null,
     "widget": {
      "name": "multiple"
     }
    },
    {
     "localized_name": "preview",
     "name": "preview",
     "type": "RESOLUTION_PREVIEW",
     "link": null,
     "shape": 7,
     "widget": {
      "name": "preview"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "width",
     "name": "width",
     "type": "INT",
     "links": [
      6
     ]
    },
    {
     "localized_name": "height",
     "name": "height",
     "type": "INT",
     "links": [
      7
     ]
    }
   ],
   "title": "Aspect ratio + megapixels",
   "properties": {
    "Node name for S&R": "ResolutionSelector"
   },
   "widgets_values": [
    "2:3 (Portrait Photo)",
    16,
    32
   ]
  },
  {
   "id": 21,
   "type": "RandomNoise",
   "pos": [
    1040,
    720
   ],
   "size": [
    340,
    82
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "noise_seed",
     "name": "noise_seed",
     "type": "INT",
     "link": null,
     "widget": {
      "name": "noise_seed"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "NOISE",
     "name": "NOISE",
     "type": "NOISE",
     "links": [
      9
     ]
    }
   ],
   "title": "Seed",
   "properties": {
    "Node name for S&R": "RandomNoise"
   },
   "widgets_values": [
    217052221309786,
    "randomize"
   ]
  },
  {
   "id": 1,
   "type": "UNETLoader",
   "pos": [
    1440,
    20
   ],
   "size": [
    460,
    82
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "unet_name",
     "name": "unet_name",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "unet_name"
     }
    },
    {
     "localized_name": "weight_dtype",
     "name": "weight_dtype",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "weight_dtype"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "MODEL",
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      1
     ]
    }
   ],
   "title": "H3-Image DiT",
   "properties": {
    "Node name for S&R": "UNETLoader"
   },
   "widgets_values": [
    "minimax_h3_image_pruned_int8_convrot.safetensors",
    "default"
   ]
  },
  {
   "id": 2,
   "type": "LoraLoaderModelOnly",
   "pos": [
    1440,
    140
   ],
   "size": [
    460,
    82
   ],
   "flags": {},
   "order": 6,
   "mode": 4,
   "inputs": [
    {
     "localized_name": "model",
     "name": "model",
     "type": "MODEL",
     "link": 1
    },
    {
     "localized_name": "lora_name",
     "name": "lora_name",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "lora_name"
     }
    },
    {
     "localized_name": "strength_model",
     "name": "strength_model",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "strength_model"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "MODEL",
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      2,
      3
     ]
    }
   ],
   "title": "LoRA (optional) · bypassed, Ctrl+B to enable",
   "properties": {
    "Node name for S&R": "LoraLoaderModelOnly"
   },
   "widgets_values": [
    "your_lora.safetensors",
    1.0
   ]
  },
  {
   "id": 3,
   "type": "CLIPLoader",
   "pos": [
    1440,
    260
   ],
   "size": [
    460,
    106
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "clip_name",
     "name": "clip_name",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "clip_name"
     }
    },
    {
     "localized_name": "type",
     "name": "type",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "type"
     }
    },
    {
     "localized_name": "device",
     "name": "device",
     "type": "COMBO",
     "link": null,
     "shape": 7,
     "widget": {
      "name": "device"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "CLIP",
     "name": "CLIP",
     "type": "CLIP",
     "links": [
      4
     ]
    }
   ],
   "title": "Text encoder (Qwen3-VL 32B)",
   "properties": {
    "Node name for S&R": "CLIPLoader"
   },
   "widgets_values": [
    "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
    "minimax",
    "default"
   ]
  },
  {
   "id": 4,
   "type": "VAELoader",
   "pos": [
    1440,
    410
   ],
   "size": [
    460,
    58
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "vae_name",
     "name": "vae_name",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "vae_name"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "VAE",
     "name": "VAE",
     "type": "VAE",
     "links": [
      15,
      16
     ]
    }
   ],
   "title": "VAE (P-H3 VAE, decodes + encodes images)",
   "properties": {
    "Node name for S&R": "VAELoader"
   },
   "widgets_values": [
    "p-h3-image_vae_int8_convrot.safetensors"
   ]
  },
  {
   "id": 30,
   "type": "MiniMaxH3ImageConditioning",
   "pos": [
    660,
    1000
   ],
   "size": [
    300,
    150
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "clip",
     "name": "clip",
     "type": "CLIP",
     "link": 4
    },
    {
     "localized_name": "vae",
     "name": "vae",
     "type": "VAE",
     "link": 16,
     "shape": 7
    },
    {
     "localized_name": "image_0",
     "name": "images.image_0",
     "type": "IMAGE",
     "link": null,
     "shape": 7
    },
    {
     "localized_name": "prompt",
     "name": "prompt",
     "type": "STRING",
     "link": 5,
     "widget": {
      "name": "prompt"
     }
    },
    {
     "localized_name": "width",
     "name": "width",
     "type": "INT",
     "link": 6,
     "widget": {
      "name": "width"
     }
    },
    {
     "localized_name": "height",
     "name": "height",
     "type": "INT",
     "link": 7,
     "widget": {
      "name": "height"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "positive",
     "name": "positive",
     "type": "CONDITIONING",
     "links": [
      8
     ]
    },
    {
     "localized_name": "LATENT",
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      13
     ]
    }
   ],
   "title": "H3-Image conditioning",
   "properties": {
    "Node name for S&R": "MiniMaxH3ImageConditioning"
   },
   "widgets_values": [
    "",
    0,
    0
   ]
  },
  {
   "id": 31,
   "type": "BasicGuider",
   "pos": [
    980,
    1000
   ],
   "size": [
    220,
    46
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "model",
     "name": "model",
     "type": "MODEL",
     "link": 2
    },
    {
     "localized_name": "conditioning",
     "name": "conditioning",
     "type": "CONDITIONING",
     "link": 8
    }
   ],
   "outputs": [
    {
     "localized_name": "GUIDER",
     "name": "GUIDER",
     "type": "GUIDER",
     "links": [
      10
     ]
    }
   ],
   "title": "Guider (cfg 1)",
   "properties": {
    "Node name for S&R": "BasicGuider"
   }
  },
  {
   "id": 32,
   "type": "SamplerLCM",
   "pos": [
    980,
    1090
   ],
   "size": [
    220,
    106
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "s_noise",
     "name": "s_noise",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "s_noise"
     }
    },
    {
     "localized_name": "s_noise_end",
     "name": "s_noise_end",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "s_noise_end"
     }
    },
    {
     "localized_name": "noise_clip_std",
     "name": "noise_clip_std",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "noise_clip_std"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "SAMPLER",
     "name": "SAMPLER",
     "type": "SAMPLER",
     "links": [
      11
     ]
    }
   ],
   "title": "SamplerLCM 1.10 -> 0.90",
   "properties": {
    "Node name for S&R": "SamplerLCM"
   },
   "widgets_values": [
    1.1,
    0.9,
    0
   ]
  },
  {
   "id": 33,
   "type": "BasicScheduler",
   "pos": [
    1220,
    1000
   ],
   "size": [
    220,
    106
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "model",
     "name": "model",
     "type": "MODEL",
     "link": 3
    },
    {
     "localized_name": "scheduler",
     "name": "scheduler",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "scheduler"
     }
    },
    {
     "localized_name": "steps",
     "name": "steps",
     "type": "INT",
     "link": null,
     "widget": {
      "name": "steps"
     }
    },
    {
     "localized_name": "denoise",
     "name": "denoise",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "denoise"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "SIGMAS",
     "name": "SIGMAS",
     "type": "SIGMAS",
     "links": [
      12
     ]
    }
   ],
   "title": "simple, 6 steps",
   "properties": {
    "Node name for S&R": "BasicScheduler"
   },
   "widgets_values": [
    "simple",
    6,
    1
   ]
  },
  {
   "id": 34,
   "type": "SamplerCustomAdvanced",
   "pos": [
    1460,
    1000
   ],
   "size": [
    220,
    106
   ],
   "flags": {},
   "order": 13,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "noise",
     "name": "noise",
     "type": "NOISE",
     "link": 9
    },
    {
     "localized_name": "guider",
     "name": "guider",
     "type": "GUIDER",
     "link": 10
    },
    {
     "localized_name": "sampler",
     "name": "sampler",
     "type": "SAMPLER",
     "link": 11
    },
    {
     "localized_name": "sigmas",
     "name": "sigmas",
     "type": "SIGMAS",
     "link": 12
    },
    {
     "localized_name": "latent_image",
     "name": "latent_image",
     "type": "LATENT",
     "link": 13
    }
   ],
   "outputs": [
    {
     "localized_name": "output",
     "name": "output",
     "type": "LATENT",
     "links": [
      14
     ]
    },
    {
     "localized_name": "denoised_output",
     "name": "denoised_output",
     "type": "LATENT",
     "links": null
    }
   ],
   "title": "Sampler",
   "properties": {
    "Node name for S&R": "SamplerCustomAdvanced"
   }
  },
  {
   "id": 35,
   "type": "VAEDecode",
   "pos": [
    1700,
    1000
   ],
   "size": [
    200,
    46
   ],
   "flags": {},
   "order": 14,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "samples",
     "name": "samples",
     "type": "LATENT",
     "link": 14
    },
    {
     "localized_name": "vae",
     "name": "vae",
     "type": "VAE",
     "link": 15
    }
   ],
   "outputs": [
    {
     "localized_name": "IMAGE",
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      17,
      19
     ]
    }
   ],
   "title": "Decode",
   "properties": {
    "Node name for S&R": "VAEDecode"
   }
  },
  {
   "id": 36,
   "type": "ImageScaleBy",
   "pos": [
    1700,
    1090
   ],
   "size": [
    200,
    82
   ],
   "flags": {},
   "order": 15,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "image",
     "name": "image",
     "type": "IMAGE",
     "link": 17
    },
    {
     "localized_name": "upscale_method",
     "name": "upscale_method",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "upscale_method"
     }
    },
    {
     "localized_name": "scale_by",
     "name": "scale_by",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "scale_by"
     }
    }
   ],
   "outputs": [
    {
     "localized_name": "IMAGE",
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      18
     ]
    }
   ],
   "title": "Half size",
   "properties": {
    "Node name for S&R": "ImageScaleBy"
   },
   "widgets_values": [
    "lanczos",
    0.5
   ]
  },
  {
   "id": 40,
   "type": "SaveImage",
   "pos": [
    1960,
    20
   ],
   "size": [
    780,
    820
   ],
   "flags": {},
   "order": 16,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "images",
     "name": "images",
     "type": "IMAGE",
     "link": 18
    },
    {
     "localized_name": "filename_prefix",
     "name": "filename_prefix",
     "type": "STRING",
     "link": null,
     "widget": {
      "name": "filename_prefix"
     }
    }
   ],
   "outputs": [],
   "title": "Save half size (best for viewing)",
   "properties": {
    "Node name for S&R": "SaveImage"
   },
   "widgets_values": [
    "H3Image/%date:yyyy-MM-dd%/half"
   ]
  },
  {
   "id": 41,
   "type": "SaveImage",
   "pos": [
    1960,
    880
   ],
   "size": [
    780,
    300
   ],
   "flags": {},
   "order": 17,
   "mode": 4,
   "inputs": [
    {
     "localized_name": "images",
     "name": "images",
     "type": "IMAGE",
     "link": 19
    },
    {
     "localized_name": "filename_prefix",
     "name": "filename_prefix",
     "type": "STRING",
     "link": null,
     "widget": {
      "name": "filename_prefix"
     }
    }
   ],
   "outputs": [],
   "title": "Save full size (16 MP) · bypassed, Ctrl+B to enable",
   "properties": {
    "Node name for S&R": "SaveImage"
   },
   "widgets_values": [
    "H3Image/%date:yyyy-MM-dd%/full"
   ]
  }
 ],
 "links": [
  [
   1,
   1,
   0,
   2,
   0,
   "MODEL"
  ],
  [
   2,
   2,
   0,
   31,
   0,
   "MODEL"
  ],
  [
   3,
   2,
   0,
   33,
   0,
   "MODEL"
  ],
  [
   4,
   3,
   0,
   30,
   0,
   "CLIP"
  ],
  [
   5,
   10,
   0,
   30,
   3,
   "STRING"
  ],
  [
   6,
   20,
   0,
   30,
   4,
   "INT"
  ],
  [
   7,
   20,
   1,
   30,
   5,
   "INT"
  ],
  [
   8,
   30,
   0,
   31,
   1,
   "CONDITIONING"
  ],
  [
   9,
   21,
   0,
   34,
   0,
   "NOISE"
  ],
  [
   10,
   31,
   0,
   34,
   1,
   "GUIDER"
  ],
  [
   11,
   32,
   0,
   34,
   2,
   "SAMPLER"
  ],
  [
   12,
   33,
   0,
   34,
   3,
   "SIGMAS"
  ],
  [
   13,
   30,
   1,
   34,
   4,
   "LATENT"
  ],
  [
   14,
   34,
   0,
   35,
   0,
   "LATENT"
  ],
  [
   15,
   4,
   0,
   35,
   1,
   "VAE"
  ],
  [
   16,
   4,
   0,
   30,
   1,
   "VAE"
  ],
  [
   17,
   35,
   0,
   36,
   0,
   "IMAGE"
  ],
  [
   18,
   36,
   0,
   40,
   0,
   "IMAGE"
  ],
  [
   19,
   35,
   0,
   41,
   0,
   "IMAGE"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Prompt",
   "bounding": [
    640,
    -60,
    760,
    680
   ],
   "color": "#8A8",
   "flags": {}
  },
  {
   "id": 2,
   "title": "Size & seed (keep 16 MP)",
   "bounding": [
    640,
    640,
    760,
    260
   ],
   "color": "#3f789e",
   "flags": {}
  },
  {
   "id": 3,
   "title": "Models (+ optional LoRA)",
   "bounding": [
    1420,
    -60,
    500,
    620
   ],
   "color": "#a1309b",
   "flags": {}
  },
  {
   "id": 4,
   "title": "Sampling (leave as is)",
   "bounding": [
    640,
    920,
    1280,
    300
   ],
   "color": "#444",
   "flags": {}
  },
  {
   "id": 5,
   "title": "Output",
   "bounding": [
    1940,
    -60,
    820,
    1280
   ],
   "color": "#b58b2a",
   "flags": {}
  }
 ],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.65,
   "offset": [
    110,
    160
   ]
  }
 },
 "version": 0.4
}