Integer
An integer you can wire into five places at once
- int
This is a number. That's the whole node. But in ComfyUI, a bare number is surprisingly useful, because the alternative is typing the same value into five different widgets and forgetting one of them. Integer is Eclipse's primitive value node: one value input, one int output, and the entire point is that it gives a single integer a single authoritative source that the rest of your graph can fan out from.
Why a "number" node is worth a page
If you've ever changed a seed, a steps value, or a frame count in four places and missed the fifth, you've lived the problem this solves. Wire one Integer node to every node that needs the same number - batch size here, steps there, a loop count somewhere else - and you change it once, in one place. It's the same mechanic as ComfyUI's built-in primitives, in Eclipse's own styling, with the pack's control_after_generate support inherited from the node framework. The plumbing is invisible but it's the difference between a workflow you can maintain and a workflow you have to re-read every time you touch it.
How it behaves
The value input accepts the full 64-bit integer range (yes, the min/max go to Β±9.2 quintillion - that's just the int64 bounds, not a feature), with a step of 1 and a default of 1. Type a number, wire the int output to anything expecting an INT socket. There's a small safety detail in the source worth knowing: if whatever arrives at value isn't actually an int, the node coerces it to 1 rather than crashing. In practice you'll almost always just type the number in, because the input is a plain widget.
The more interesting thing is what you can do with it: like most Eclipse primitives, its widget supports control_after_generate, so you can make this integer increment, decrement, or randomize after each run. That turns a static value into a per-queue counter - handy for batch iteration without reaching for a dedicated generator node. If that's literally all you want, Integer Generate in the same pack is the purpose-built version.
Inputs and output
value- the integer, default1.int(output) - the same integer, ready for anyINTsocket: steps, CFG, seed wiring, loop counts, indices, whatever.
Install
Part of the ComfyUI_Eclipse pack:
cd ComfyUI/custom_nodes
git clone https://github.com/r-vage/ComfyUI_Eclipse
Or search ComfyUI_Eclipse in ComfyUI Manager and restart. It has no dependencies beyond the pack itself - it's a widget in a box. Don't overthink this one. If you need a plain, single-source integer, it's the node. If you need one that advances every run, grab Integer Generate instead.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | 1-9223372036854776000β9223372036854776000 | Integer value to output. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| int | INT | β |