Skip to main content
Router passes its input data through to one or more connected outputs, fanning a single value out to several branches. The data is unchanged; the output inherits its type from the input.

When to use

  • Distribute one value to multiple branches
  • Create parallel processing paths from a single source
Common pattern: generate_text → router → [generate_image, generate_speech].

Inputs

dynamic
required
The value to fan out. Required. Its type determines the output type.

Outputs

dynamic
The input value, passed through. Accepts multiple downstream connections.
Router does not run a model and does not consume credits.