ComfyUI Node
[SSN] Input Integer
A node that provides a numeric textbox for integer input and outputs the entered integer. Class methods ------------- INPUT_TYPES (dict): Defines the input fields for this node. In this case, a single integer field. Attributes ---------- RETURN_TYPES (`tuple`): The type of the output tuple. Here, it is a single INT. RETURN_NAMES (`tuple`): Optional: The name of the output ("value"). FUNCTION (`str`): The name of the entry-point method. This node uses "execute". CATEGORY (`str`): The category under which this node appears in the UI ("Input"). execute(integer) -> tuple: The entry-point method that returns the integer entered by the user.
[SSN] Input Integer
- value
◄integer0►
CategoryInput
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| integer | INT | 0-2147483648–2147483647 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | INT | — |