HavocsCall's Custom ComfyUI Nodes
NODES: Prompt Combiner, Float/Int Selector, Sampler Config, Text Box, Int to Float/String, Int to Float/String, Clip/Conditioning/Image/Latent/Model/String/VAE Switch
Nodes (24)
A-B your text encoders without rebuilding the graph
Two strings in, one string out — with a custom separator
The cheap way to A/B test two prompts
A float value that you can actually type into
It says it rounds. It doesn't. Know the difference.
Turn a numeric widget into text you can save or stamp
Flip between two images mid-workflow
The number node with a ceiling you'll never hit
The boring conversion node you'll actually use
Turn numbers into text for prompts and filenames
Route two latent streams without the decode-encode round trip
The stock loader, plus the filename data ComfyUI won't give you
Compare two numbers, get the winner — or the average
The five-operation calculator ComfyUI forgot to ship
Swap diffusion models on the fly, no re-downloading
Seven named prompt slots, joined into one string
One-click style presets, but you bring the styles
One node for the entire KSampler front panel — latent included
Save into your own folder, with a metadata kill-switch
A/B your prompts by flipping one number
The float twin of String to Integer, for when your API sends decimals as text
The boring node that keeps your API workflow alive
A multiline text field that actually behaves
Swap decoders to fix ugly colors without touching the model
HavocsCall's ComfyUI Custom Nodes
Mostly vanilla nodes with some extra inputs/outputs and some extra nodes for easier workflows.
Installation
Recommended
Install with ComfyUI manager
Manual
Clone with git into your custom_nodes folder
git clone https://github.com/HavocsCall/comfyui_HavocsCall_Custom_Nodes.git
Features
Basic Nodes
- Float Selector - Returns the given
FLOAT, unmodified. - Integer Selector - Returns the given
INTEGER, unmodified. - Load Image - Returns the given
IMAGEwith the image's width and height. - Prompt Combiner - Combines the given prompts into a single string, separated by commas.
- Sampler Config - One node for most KSampler inputs.
- Save Image - A Save image node with a separate input for folder and a toggle for saving the metadata.
- Text Box - Returns the given
STRING, unmodified.
Conversion Nodes
- Float to Integer - Converts a
FLOATto anINT. (Note: This truncates towards zero, it does not round) - Float to String - Converts a
FLOATto aSTRING. - Integer to Float - Converts an
INTEGERto aFLOAT. - Integer to String - Converts an
INTEGERto aSTRING. - String to Float - Converts a
STRINGto aFLOAT(Returns 0 if an invalidSTRING). - String to Integer - Converts a
STRINGto aINT(Returns 0.0 if an invalidSTRING).
Logic Nodes
- Logic Compare - Compares two numbers based on the selected operation.
Math Nodes
- Math Operation - Run math operations on an input number.
Prompt Styler Node
- Prompt Styler - Adds text to your prompts based on json files. - See Prompt Styler Nodes for more information.
Switch Nodes
- Clip Switch - Switches between two
CLIPS. - Conditioning Switch - Switches between two
CONDITIONING. - Image Switch - Switches between two
IMAGES. - Latent Switch - Switches between two
LATENTS. - Model Switch - Switches between two
MODELS. - String Switch - Switches between two
STRINGS. - VAE Switch - Switches between two
VAE.
Comfy Registry
https://registry.comfy.org/nodes/havocscall_custom_nodes
Acknowledgements
Thank you very much to:
- Comfyroll Studio for a lot of inspiration around multiple nodes.
- ComfyUI_MileHighStyler for inspiration with the Prompt Styler Node.
- SDXL Prompt Styler for inspiration with the Prompt Styler Node.