- Home
- Custom Nodes
- ComfyUI-nodes-hnmr
ComfyUI-nodes-hnmr
This is a fix for ComfyUI - nodes - hnmr by hnmr293. It offers multiple workflow examples like X/Y/Z - plot, merge, and latent visualization. The node list includes various types such as latent, sampling, model, image, and other utility nodes. Each node has defined input and output types, enabling functions like random latent image generation, VAE encoding/decoding, model merging, and image blending. It aims to provide a seamless experience for the community to use these tools without issues.
CYBERLOOM-INC
Description
Disclaimer
This is solely a fix implemented on top of the original ComfyUI-nodes-hnmr by hnmr293. The repository exists because hnmr293 has not been approving pull requests for an extended period, and I believe our community should be able to use this exceptional tool by hnmr293 without issues. All credit is due to:
ComfyUI Custom Nodes
Examples
X/Y/Z-plot
Parameters include seeds, steps, CFG scales, and others.
Workflow link
Models
Workflow link
VAEs
Workflow link
Merge
Simple merge and merge block weighted (thanks to @bbc-mc).
BMW
Multi-BMW
BMW with multi-alpha, similar to supermerger (thanks to @hako-mikan).
Workflow link
Latent Visualization
Visualization of 4-channel latent tensor.
Workflow link
Node List
Latent Nodes
Category | Node Name | Input Type | Output Type | Description |
---|---|---|---|---|
Latent | RandomLatentImage | INT , INT , INT | LATENT | (width, height, batch size) |
Latent | VAEDecodeBatched | LATENT , VAE , INT | IMAGE | VAE decoding with specified batch size |
Latent | VAEEncodeBatched | IMAGE , VAE , INT | LATENT | VAE encoding with specified batch size |
Latent | LatentToImage | LATENT , FLOAT , FLOAT | IMAGE | Convert 4-channel latent tensor to 4 grayscale images |
Latent | LatentToHist | LATENT , ... | IMAGE | Create a histogram of the input latent |
Sampling Nodes
Category | Node Name | Input Type | Output Type | Description |
---|---|---|---|---|
Sampling | KSamplerSetting | MODEL , CONDITIONING , CONDITIONING , LATENT | DICT | Aggregate sampler's settings into a single dictionary |
Sampling | KSamplerOverrided | Various | LATENT | Override sampler's settings defined by KSamplerSetting |
Sampling | KSamplerXYZ | Various | LATENT | Generate latents with specified values |
Model Nodes and Loader Nodes
Category | Node Name | Input Type | Output Type | Description |
---|---|---|---|---|
Loader | StateDictLoader | (model name) | DICT | Load state_dict |
Model | Dict2Model | DICT , (config file) | MODEL | Instantiate a model from a given state_dict |
Model | StateDictMerger | DICT , DICT , FLOAT | MODEL , CLIP , VAE | Merge two or three models |
Model | StateDictMergerBlockWeighted | DICT , DICT | DICT | Merge two models with per-block weights |
Model | StateDictMergerBlockWeightedMulti | MODEL , MODEL , STRING | MODEL , CLIP , VAE | Merge two models with per-block weights |
Model | SaveStateDict | MODEL , STRING , STRING | - | Save state_dict to the output directory |
Model | ModelIter | MODEL , MODEL | MODEL | Iterate through models |
Model | CLIPlIter | CLIP , CLIP | CLIP | Iterate through CLIPs |
Model | VAElIter | VAE , VAE | VAE | Iterate through VAEs |
Image Nodes
Category | Node Name | Input Type | Output Type | Description |
---|---|---|---|---|
Image | ImageBlend2 | IMAGE , IMAGE , FLOAT , STRING | IMAGE | ImageBlend with additional blend modes |
Image | GridImage | IMAGE , INT , INT | - | Generate a single image with a specified number of columns |
Others
Category | Node Name | Input Type | Output Type | Description |
---|---|---|---|---|
Utils | SaveText | STRING , STRING , STRING | - | Save texts with a specified prefix and extension |