RiceRound Int
A named, ranged integer field for your published workflow
- value
ComfyUI_RiceRound isn't a generation pack - it doesn't add samplers or preprocessors. It's a layer for turning a working local workflow into a hosted, shareable "cloud node" on riceround.online, and this is one of the handful of nodes you use to say "this number should be something the person using my published page can actually change." Wire it into whatever wants an integer - a width, a height, a step count, a batch size - and instead of a fixed value baked into your encrypted workflow, it becomes an editable field on the generated web page.
How it fits in
The pattern across this pack's Input-category nodes is the same: a name field for the label people will see, and the typed value itself. RiceRoundIntNode is the integer version, sitting next to RiceRoundFloatNode for decimals and RiceRoundBooleanNode for toggles. Pick whichever matches the socket you're feeding - put a float value into a slot expecting an int and ComfyUI will complain about a type mismatch same as it would with any core node.
The inputs and output that matter
name(STRING, default "数值" - Chinese for roughly "value" or "number") - the label shown next to this field wherever RiceRound renders it. Change it to something your actual audience will understand; the Chinese default is a strong hint about where this pack's primary users are, and it'll ship as-is if you don't override it.number(INT, default 0) - the value itself, and what you're actually setting while building and testing locally.min/max(INT, defaults 0 and 100) - the allowed range. This isn't just a UI nicety; it's presumably what the published page uses to validate whatever value an end user submits, so set it to something that actually makes sense for what you're feeding downstream rather than leaving the 0–100 default in place for a field that, say, controls resolution.- Output:
value(INT) - wire it exactly like you would a coreINTwidget's output.
Installing it
Through ComfyUI Manager: search "RiceRound," install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/RiceRound/ComfyUI_RiceRound
then restart ComfyUI. The README doesn't call out any Python dependencies or model downloads for the pack - it's a lightweight packaging/upload layer, not something with checkpoints to fetch, so this should be a fast install either way.
Common issues & troubleshooting
You're building this thinking it's just a labeled slider. It's also part of the pack's central contract: the README explicitly says to build your publishable workflow using RiceRound's Input-category nodes only, and to treat the Output-category nodes (a separate family - Output Boolean, Output Float, and so on) as debugging tools you strip before you actually publish. RiceRoundIntNode is Input-category, so you're clear to leave it wired in when you hit RiceRound Publish.
The default min/max doesn't match what you need. 0–100 is a reasonable default for a generic slider but will silently under- or over-constrain anything outside that range - a step count over 100, for instance. There's no separate "unbounded" mode documented; set the range to cover your real use case before publishing.
The field label shows up in Chinese on your published page. That's the name default, 数值, coming through unedited - a quick, easy-to-miss thing to check before you ship if your audience isn't Chinese-speaking. The pack's whole documentation site (help.riceround.online) skews the same way, so don't assume English is the default anywhere in this ecosystem.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| name | STRING | 数值 | — |
| number | INT | 0 | — |
| min | INT | 0 | — |
| max | INT | 100 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | INT | — |