> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sprello.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Combinator

> Pair two sets of inputs using a combination strategy.

The Combinator takes two sets of items and pairs them, so a generator can run across the combinations. Add it from the **Utilities** menu.

It has two inputs (**A** and **B**) and two outputs (**A** and **B**). Connect a source to each input, choose how to pair them, and connect the outputs to a generator.

## Strategies

* **Cartesian** — every item in A with every item in B. Three products and four materials make twelve pairs.
* **Paired** — match by position: A1 with B1, A2 with B2. Both sides need equal counts.

<Frame caption="A Combinator pairing two sets before a generator">
  <img src="https://mintcdn.com/sprello/GqYVZzX2z4AZokUD/images/screenshots/combinator_carousel.gif?s=0220442bd7c783240aa2595f005b0e4a" alt="A Combinator node with two inputs feeding a Generate Image node" width="1126" height="718" data-path="images/screenshots/combinator_carousel.gif" />
</Frame>

For the full explanation, worked examples, and when you don't need a Combinator, see [combining inputs](/concepts/combinator).
