HT Null Value
A properly-typed 'nothing' for inputs that insist on something
- null_value
ComfyUI has a quirk that bites everyone eventually: some nodes require an input you don't actually want to use, and they refuse to run unless something is connected. You can't leave the socket empty, and the wrong type won't connect. HT Null Value is the workaround - a node that produces an empty value of a chosen type. Connect it where you need a placeholder and the workflow runs, with the downstream node getting a harmless "nothing."
What it does
One required input, one output:
value_type- a dropdown with six choices:IMAGE,MASK,MODEL,VAE,CLIP,CONDITIONING. Pick the type the socket needs.null_value(output,*) - the appropriately-typed null it returns.
Under the hood it's gloriously simple: the source returns Python None wrapped so it satisfies the type system. The * on the output is the pack's universal-type trick, which is what lets it plug into whichever socket you aimed at. Nothing is computed, nothing touches the GPU.
When it's actually useful
- Satisfying a required-but-unused input. A node demands a
MODELsocket you don't care about for this run. Feed it a null MODEL and move on. - Prototyping. You're building a graph and want the wiring in place before the real source exists. Null value keeps the graph runnable while you build.
- Conditional pipelines. A switch or splitter can route a real value or a null into a node depending on a condition - the node still executes, which is often what you want for sequence consistency.
The honest truth: this node exists because ComfyUI's strict typing is both its power and its most annoying friction - the exact tension the ecosystem essay spends pages on. If the socket you're fighting is actually optional, just leave it empty; Null Value is for the sockets that aren't optional but are irrelevant to you.
Installing
Standard pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/ArtHommage/HommageTools.git
cd HommageTools && pip install -r requirements.txt
restart, or Manager → "HommageTools for ComfyUI". No models, no dependencies, nothing heavy - this is a pure utility.
The honest take
It's a tiny convenience node, and like most of the pack's utility layer, you'll either use it constantly or never. Two things to keep in mind. First, "null" here means "empty/None," not "a valid but blank image" - if the downstream node actually reads the data, a null can produce a confusing error, so reserve it for inputs that are genuinely ignored. Second, the alpha disclaimer: the * wildcard behavior is the sort of thing that shifts when ComfyUI changes its type handling, so if a workflow stops validating after an update, this is a suspect. But as a placeholder, it does exactly what the box says.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value_type | COMBO | IMAGE | 6 options: IMAGE, MASK, MODEL, VAE, CLIP, CONDITIONING |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| null_value | * | — |