Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Rebalance-Pack > Omni Node

ComfyUI Node: Omni Node

Class Name

OmniNode

Category
Rebalance-Pack/foundational
Author
nova452 (Account age: 1390days)
Extension
Rebalance-Pack
Latest Updated
2026-07-30
Github Stars
0.47K

How to Install Rebalance-Pack

Install this extension via the ComfyUI Manager by searching for Rebalance-Pack
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Rebalance-Pack in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Omni Node Description

Dynamic code execution node empowering AI artists to create custom functionalities within ComfyUI.

Omni Node:

OmniNode is a versatile and dynamic component within the Rebalance-Pack of ComfyUI, designed to facilitate the integration and execution of custom code snippets within the node-based environment. Its primary purpose is to allow users to paste and execute Python code dynamically, enabling the creation of custom functionalities without the need for pre-defined nodes. This flexibility empowers AI artists to experiment with new ideas and workflows by directly manipulating data and logic within the node. OmniNode is particularly beneficial for those who wish to extend the capabilities of ComfyUI by incorporating unique processing steps or algorithms tailored to their specific needs. By providing a seamless interface for code execution, OmniNode enhances the creative potential of the platform, allowing for more personalized and innovative artistic expressions.

Omni Node Input Parameters:

code

The code parameter is a string input that represents the Python code you wish to execute within the OmniNode. This code can define classes, functions, or any logic that you want to incorporate into your workflow. The impact of this parameter is significant as it directly determines the functionality and behavior of the node. There are no strict minimum or maximum values for this parameter, but the code must be syntactically correct and should ideally be designed to interact with other nodes or data within the ComfyUI environment. The default value is an empty string, which means no code is executed unless specified.

prompt

The prompt parameter is an optional input that can be used to provide additional context or data to the code being executed. It is typically a list, but if provided, only the first element is used. This parameter can influence the execution of the code by supplying necessary information or variables that the code might require. There are no predefined values or options for this parameter, as its usage is entirely dependent on the custom code logic.

unique_id

The unique_id parameter is another optional input, usually a list, where only the first element is considered. It serves as an identifier that can be used within the code to manage or differentiate between multiple instances of execution. This parameter is particularly useful when the code involves operations that require tracking or referencing specific executions or data sets. Like the prompt, there are no fixed values or options, and its application is determined by the custom code.

Omni Node Output Parameters:

result

The result parameter is the primary output of the OmniNode, representing the outcome of the executed code. Its function and importance are directly tied to the logic defined in the code parameter. The result can be of any data type, depending on what the code is designed to return, such as processed images, numerical data, or even complex data structures. Understanding the result requires familiarity with the custom code, as it reflects the specific operations and transformations applied during execution.

Omni Node Usage Tips:

  • Ensure that the code you input is syntactically correct and thoroughly tested in a separate environment before using it in OmniNode to avoid runtime errors.
  • Utilize the prompt and unique_id parameters to pass dynamic data and manage multiple executions effectively, enhancing the flexibility and reusability of your code.
  • Consider using OmniNode for prototyping new node functionalities or testing experimental algorithms before committing to more permanent node implementations.

Omni Node Common Errors and Solutions:

Syntax error: <error_details>

  • Explanation: This error occurs when the pasted code contains syntax mistakes, such as missing colons, unmatched parentheses, or incorrect indentation.
  • Solution: Review the code for common syntax errors and correct them. Ensure that the code is properly formatted and adheres to Python syntax rules.

Failed to compile/execute pasted source: <error_details>

  • Explanation: This error indicates that the code could not be compiled or executed, possibly due to runtime errors or undefined variables.
  • Solution: Check the code for logical errors or missing dependencies. Ensure that all variables and functions used in the code are defined and accessible.

Could not find class 'OmniPasted' in pasted source.

  • Explanation: This error suggests that the expected class definition is missing from the pasted code.
  • Solution: Verify that the code includes a class definition with the correct name and structure. Ensure that the class is properly defined and includes necessary methods.

Omni Node Related Nodes

Go back to the extension to check out more related nodes.
Rebalance-Pack
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Omni Node