8.5 KiB
Node: INT Key Control @ vrch.ai (vrch.ai/control/keyboard)
- Add the
INT Key Control @ vrch.aito your ComfyUI workflow. - Configure the Node:
- Minimum Value (
min_value): Set the minimum allowable integer value (integer between-9999and9999). Default is0. - Maximum Value (
max_value): Set the maximum allowable integer value (integer between-9999and9999). Default is100. - Step Size (
step_size): Set the increment/decrement value (integer between1-10). Default is1. - Shortcut Key 1 (
shortcut_key1): Select a key fromF1toF12to serve as the primary shortcut key. Default isF2. - Shortcut Key 2 (
shortcut_key2): Choose between"Down/Up"or"Left/Right"to determine the direction keys. Default is"Down/Up". - Current Value (
current_value): Set the initial integer value within the specified range (integer between-9999and9999). Default is50.
- Minimum Value (
- Control Integer Value:
- Incrementing:
- Press and hold the selected
shortcut_key1(e.g.,F2). - While holding
shortcut_key1, pressArrowUporArrowRightto increment. - The
current_valuewill increase bystep_sizeeach time, up to the definedmax_value.
- Press and hold the selected
- Decrementing:
- Press and hold the selected
shortcut_key1(e.g.,F2). - While holding
shortcut_key1, pressArrowDownorArrowLeftto decrement. - The
current_valuewill decrease bystep_sizeeach time, down to the definedmin_value.
- Press and hold the selected
- Incrementing:
- Display and Output:
- The current integer value is displayed within the node's UI.
- Use the
INToutput to connect the integer value to other nodes in your workflow.
Note:
- Ensure that the ComfyUI window/tab is focused when using keyboard shortcuts.
- Prevent browser-specific shortcuts from interfering with the node's functionality.
- Modified
min_value,max_value, andstep_sizevalues persist across page reloads. - The
current_valuewill always stay within the definedmin_valueandmax_valueboundaries, regardless of user interactions.
Node: FLOAT Key Control @ vrch.ai (vrch.ai/control/keyboard)
- Add the
FLOAT Key Control @ vrch.aito your ComfyUI workflow. - Configure the Node:
- Step Size (
step_size): Set the increment/decrement value (float between0.01-0.10). Default is0.01. - Shortcut Key 1 (
shortcut_key1): Select a key fromF1toF12to serve as the primary shortcut key. Default isF1. - Shortcut Key 2 (
shortcut_key2): Choose between"Down/Up"or"Left/Right"to determine the direction keys. Default is"Down/Up". - Current Value (
current_value): Set the initial floating-point value (between0.0-1.0). Default is0.50.
- Step Size (
- Control Floating-Point Value:
- Incrementing:
- Press and hold the selected
shortcut_key1(e.g.,F1). - While holding
shortcut_key1, press the corresponding direction key based onshortcut_key2:- If
"Down/Up": PressArrowUpto increment. - If
"Left/Right": PressArrowLeftto increment.
- If
- The
current_valuewill increase bystep_sizeeach time, up to a maximum of1.0.
- Press and hold the selected
- Decrementing:
- Press and hold the selected
shortcut_key1(e.g.,F1). - While holding
shortcut_key1, press the corresponding direction key based onshortcut_key2:- If
"Down/Up": PressArrowDownto decrement. - If
"Left/Right": PressArrowRightto decrement.
- If
- The
current_valuewill decrease bystep_sizeeach time, down to a minimum of0.0.
- Press and hold the selected
- Incrementing:
- Display and Output:
- The current floating-point value is displayed within the node's UI.
- Use the
FLOAToutput to connect the floating-point value to other nodes in your workflow.
Note: Ensure that the ComfyUI window/tab is focused when using keyboard shortcuts. Prevent browser-specific shortcuts from interfering with the node's functionality.
Node: BOOLEAN Key Control @ vrch.ai (vrch.ai/control/keyboard)
- Add the
BOOLEAN Key Control @ vrch.aito your ComfyUI workflow. - Configure the Node:
- Shortcut Key (
shortcut_key): Select a key fromF1toF12to serve as the toggle shortcut. Default isF1. - Current Value (
current_value): Set the initial boolean value (True/False). Default isFalse.
- Shortcut Key (
- Toggle Boolean Value:
- Using Shortcut Key:
- Press the selected
shortcut_key(e.g.,F1) to toggle thecurrent_valuebetweenTrueandFalse. - Each press of the
shortcut_keywill switch the state.
- Press the selected
- Using Shortcut Key:
- Display and Output:
- The current boolean value is displayed within the node's UI.
- Use the
BOOLoutput to connect the boolean value to other nodes in your workflow.
Note: Ensure that the ComfyUI window/tab is focused when using the shortcut key. Prevent browser-specific shortcuts from interfering with the node's functionality.
Node: TEXT Key Control @ vrch.ai (vrch.ai/control/keyboard)
- Add the
TEXT Key Control @ vrch.ainode to your ComfyUI workflow. - Configure the Node:
- Text Inputs (
text1-text8): Enter text for each option. Supports multiple lines. Defaults are empty (""). - Jump Empty Option (
skip_empty_option): Enable or disable skipping empty text options when cycling. Default isTrue. - Shortcut Key (
shortcut_key): Select a function key (F1toF12) to cycle through texts. Default isF2. - Current Value (
current_value): Set the initial selection (1to8). Default is1. - Auto Switch (
enable_auto_switch): Enable or disable auto switch. Default isFalse. - Auto Switch Delay (ms) (
auto_switch_delay_ms): Delay in milliseconds for auto-switching.
- Text Inputs (
- Cycle Through Text Options:
- Using Shortcut Key:
- Press the selected
shortcut_key(e.g.,F2) to cycle through the text options. - With
skip_empty_optionEnabled (True):- Skips any empty
textinputs.
- Skips any empty
- With
skip_empty_optionDisabled (False):- Cycles through all texts, including empty ones.
- Press the selected
- Using Shortcut Key:
- Display and Output:
- Display:
- Shows
Value: X, whereXis the current selection (1to8).
- Shows
- Output:
- Type:
STRING - Outputs the selected text based on
current_value. Connect to other nodes as needed.
- Type:
- Display:
Note:
Ensure the ComfyUI window/tab is focused when using the shortcut key to prevent conflicts with browser shortcuts.
Node: Instant Queue Key Control @ vrch.ai (vrch.ai/control/keyboard)
-
Add the
Instant Queue Key Control @ vrch.aito your ComfyUI workflow. -
Configure the Node:
- Queue Option (
queue_option): Options of the initial state of the queue status, includingonce,instantandchange. Default isinstant. - Shortcut Key (
shortcut_key): Select a function key (F1toF12) as the shortcut key to switch the queue option from one to another. Default isF2. - Enable Queue Autorun (
enable_queue_autorun): Toggle whether the queue will automatically run after a delay when activated. Default isFalse. - Autorun Delay (
autorun_delay): Sets the delay (in seconds) before the queue automatically triggers whenenable_queue_autorunis enabled. The value ranges from 1 to 60 seconds, with a default of 5 seconds.
- Queue Option (
-
Toggle Queue Option:
- Using Shortcut Key:
- Pressing the chosen
shortcut_key(e.g.,F2) toggles thequeue_optionoption betweenonce,instantandchange. - Each press of the shortcut key switches the state, allowing for easy control over the instant queue function without manually adjusting the
queue_optionsetting.
- Pressing the chosen
- Using Shortcut Key:
-
Display and Output:
- The node displays the current status of the instant queue (either Enabled or Disabled) within its UI.
- If
enable_queue_autorunis enabled, a countdown timer displays the time remaining until the queue runs, updating every second. - No additional outputs are provided, as this node functions solely as a control toggle within the workflow.
-
Interruptible Countdown:
- If the queue is re-triggered during an active countdown, the existing countdown will reset, and a new countdown will start from the configured
autorun_delaytime. This ensures only one activation cycle runs at a time.
- If the queue is re-triggered during an active countdown, the existing countdown will reset, and a new countdown will start from the configured
Note:
Ensure the ComfyUI window/tab is focused when using the shortcut key to avoid conflicts with browser-specific shortcuts or system key bindings.
