INT Key Control @ vrch.ai
Change an integer from the keyboard, mid-generation
- INT
The ComfyUI Web Viewer pack is vrch.ai's browser-based control layer for ComfyUI - keyboard, OSC, MIDI, gamepad, the whole interactive toolbox. INT Key Control is the simplest thing it does, and that's a feature: it hands you one integer you can nudge live from your keyboard without touching the graph. The moment it clicked for me was a seed. Instead of clicking randomize and squinting, you hold F2, tap Up until a composition you like scrolls by, and let it run. It's the difference between tweaking and performing.
How it works
Everything in this pack that isn't pure logic runs through the browser page ComfyUI serves, so the node works by listening for key events there. To bump the value, you hold the key chosen in shortcut_key1 (F1–F12, default F2) and tap one of the arrow pairs picked in shortcut_key2 - Down/Up or Left/Right. Each press adds or subtracts step_size from current_value, and the result is clamped hard between min_value and max_value, so you can't drive it out of range no matter how enthusiastic you get.
The inputs that actually matter:
min_value/max_value- the clamp range, defaults 0–100. Set these to what the destination parameter tolerates, not what feels nice.step_size- how chunky each press is. Small for fine work, big for jumping around.current_value- the starting point, and the live number displayed right in the node.new_generation_after_pressing- auto-queues a fresh run whenever the value changes. This is the switch that turns "a slider with extra steps" into something you can actually improvise with.
The INT output feeds anything that takes an integer: seed, CFG, steps, batch count, frame count, an image index for a flipbook-style viewer. It also wires neatly into the pack's own logic nodes - run it through INT Remap @ vrch.ai if the destination wants a different range.
Installing it
The node ships with the whole pack, so install once:
- Open ComfyUI Manager and search for ComfyUI Web Viewer, then install.
- Or clone it manually:
On the Windows portable build, usecd ComfyUI/custom_nodes git clone https://github.com/VrchStudio/comfyui-web-viewer pip install -r requirements.txtpython_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\comfyui-web-viewer\requirements.txt. - Restart ComfyUI.
No model files to download for any of these nodes. One heads-up: the pack's requirements.txt also installs the optional Music2Emotion stack (librosa, pytorch_lightning, numba…), so the first install can take a while. That's all for a node you don't even need - just let it finish.
Where people get burned
Keyboard control is browser-based, which means the ComfyUI tab must have focus. That's the whole game, and it's also the pack's known quirk: click away to another window and your F2 stops doing anything. The official docs flag it, and the community hit the same wall trying to use Web Viewer key input for a speech-to-text workflow while alt-tabbed.
Two smaller gotchas. Browser shortcuts can intercept your keys - pick F-keys that nothing else in the browser uses, and mind things like Firefox's find. And if nothing seems to respond at all, check that you're actually holding shortcut_key1 while pressing the arrow; the modifier-then-direction combo is easy to get backwards.
Pair it with Auto Queue set to instant (the pack's example workflows do exactly this) and you've got a live control surface with zero hardware. Start there, then graduate to the OSC nodes when you want the same idea from your phone.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| min_value | INT | 0-9999–9999 | — |
| max_value | INT | 100-9999–9999 | — |
| step_size | INT | 11–1000 | — |
| shortcut_key1 | COMBO | F2 | 24 options: F1, F2, F3, F4, F5, F6, +18 |
| shortcut_key2 | COMBO | Down/Up | 2 options: Down/Up, Left/Right |
| current_value | INT | 50-9999–9999 | — |
| new_generation_after_pressing | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |