CozyGen Int Input
DynamicInput, but your values actually stick
- INT
CozyGen Int Input is one of the four "Static" nodes the author broke out of the original all-in-one CozyGenDynamicInput in the September 2025 update. The name undersells the actual reason it exists: because the input is typed as INT right in the graph, the value survives reloading the workflow in ComfyUI. The original dynamic node kept everything in your browser cache, which meant opening a saved workflow reset every page-side setting to defaults. This one doesn't have that problem.
So think of it as "DynamicInput, but typed and sticky." Same mobile web UI at /cozygen, same priority-based page ordering - but a proper integer field instead of a shape-shifter.
The inputs that matter
param_name- the label on the web page.default_value(default 1) - what the field starts at.min_value(0) andmax_value(default 9,999,999,999) - bound the slider/stepper on the page.step(1) - how much the stepper moves.add_randomize_toggle- adds a Randomize checkbox. This is the one to flip on for seeds.
The output is a single INT, and it's honest about it. Wire it into anything that wants a whole number: KSampler's seed, steps, batch size, ControlNet strength, or a node-count parameter.
Where you'd actually use it
The canonical case is the seed. Put one of these in your workflow with add_randomize_toggle on, and the web page gives you a "Randomize" box - check it and every generation from your phone rolls a fresh seed. It's also the easiest way to expose steps or batch size to a non-technical person poking at your server.
Install
Same story as the rest of the pack. ComfyUI Manager (search "CozyGen") or:
cd ComfyUI/custom_nodes
git clone https://github.com/gsusgg/ComfyUI_CozyGen
cd ComfyUI_CozyGen
pip install -r requirements.txt
Restart ComfyUI, add --listen to your startup if you want it on the network, and export your finished workflow with API into the pack's workflows/ folder. Then it shows up on the page at http://<your-comfyui-ip>:8188/cozygen.
One gotcha
The Randomize toggle rolls a full-precision random integer on the frontend, which can be enormous - perfect for a seed, wrong for something like steps where you want the slider range to do the work. Keep min_value/max_value tight for anything that isn't a seed, and reserve the randomize toggle for the things you actually want to shuffle.
For a genuinely thin utility node, this one punches above its weight - it's the seed control for the whole CozyGen workflow.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| param_name | STRING | Int Parameter | — |
| priority | INT | 10 | — |
| default_value | INT | 1 | — |
| min_value | INT | 0 | — |
| max_value | INT | 9999999999 | — |
| step | INT | 1 | — |
| add_randomize_toggle | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |