Skip to main contentNode Concepts
In Pipeline‑UI, a node is a Python function that represents a single processing step. Some key concepts include:
- Decoration: Add the
@node() decorator to your function.
- Inputs & Parameters: Function arguments are split into node inputs (data from other nodes) and parameters (configuration values) based on their default value types.
- Outputs: The function’s return type, annotated with
NodeOutput or a media output type (e.g., ImageResponse), designates what is passed on.
Nodes are automatically visualized in the UI where you can edit parameters, connect data, and run your pipelines interactively.