Twenty help pages said something the node does not do, missed an input or output, or gave an old default. Three tooltips had the same wrong facts. Text only; no behaviour or input changes.
2.2 KiB
2.2 KiB
Integer
A whole number. Set a step count, a size, or any other whole number once and wire it to every node that needs it.
Controls
- Value (
value): The whole number to send out. It starts at0. The arrows and a drag move it by 1, or click and type. Its range is listed below; use Seed for the full sampler seed range. - The gear, right: Look. normal is the usual box with its label. big shows the number large in the middle of the node, with an arrow on each side, for a setting people change on every run, such as the length of a clip. A drag and typing work the same. Each node keeps its own look, and it is saved with the workflow.
Limits
Wire the output to a setting that has limits and the box takes them over. Wired to a sampler's steps, it goes from 1 to 10000: type 0 and you get
- The card shows 1–10000 beside the value.
- It works through a Reroute and into a box (subgraph) too.
- Wired to two settings, it keeps to what both allow.
- Unwire it and it uses its own whole-number range again.
- A new box takes the value of the first setting you wire it to, so wiring it up changes nothing until you move it. A box you have already set, or one that came with a workflow, keeps its own value.
Output
- int: The value, unchanged.
For arithmetic on the way — halving a size, adding a margin — feed this into Math Expression 🆎 instead of retyping derived numbers.
Technical details
- The limits are those of the input the wire lands on, the way ComfyUI's own Primitive node takes them.
- A value that is outside the limits when the wire is made is brought to the nearest one.
- The limits are kept by the node's face. A value sent straight through the API is passed on as it is.
- On its own the box goes from -9,007,199,254,740,991 to 9,007,199,254,740,991, the largest whole number a browser holds exactly. It stopped at 2,147,483,647 before, which most seeds are above.
- The look is stored in the node's properties as
ausboss_text_look: "big", the same as Text 🆎. It is not an input, so the saved value and what the node sends are the same in both looks, and an older version of the pack shows the usual box.