> For the complete documentation index, see [llms.txt](https://docs.avis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avis.net/avis-creative-studio/canvas-fundamentals/connecting-nodes.md). Agents can also search and read this documentation through its [MCP server](https://docs.avis.net/~gitbook/mcp).

# Connecting Nodes

Each node has two main connection points:

* **Left "+" (Input):** Receives input from assets or other nodes.
* **Right "+" (Output):** Sends output to the next node.

#### Add an input

1. Click or drag from the **Left "+"** to add an input.
2. Or create a new node and drag its **Right "+"** onto the **Left "+"** of the current node.

The new node becomes an input of the current node.

#### Add an output

1. Click or drag from the **Right "+"** to add an output.
2. Or create a new node and drag its **Left "+"** onto the **Right "+"** of the current node.

The current node becomes an input or reference for the new node.

By connecting nodes, you can pass assets and outputs across multiple steps and build a complete workflow.

#### **Use references with Refer to**

1. In the node you are working on, click **+ Refer to**.
2. Click the node on the Canvas you want to use as a reference.
3. Press **Esc** or click **Return** to go back to your node. The reference is connected.

#### **Tag references with @**

Each reference connected to a node gets a tag based on its type and the order in which it was connected:

* Images: **@image1**, **@image2** … **@image9**
* Videos: **@video1**, **@video2** …
* Audio: **@audio1**, **@audio2** …

Use these tags in your prompt to tell the model exactly which reference to use. For example: *"The character from @image1 walks into the room from @image2."*

* **Auto-connect:** Type **@** followed by the name of a node on the Canvas. The node is connected as a reference automatically.
* **Jump to the source:** Double-click a tag in the prompt to jump to the original node.
* **Remove a reference:** Delete the tag from the prompt to disconnect the reference.

> **Note:** The maximum number of references depends on the model you choose. See the reference limits in **Video Node**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avis.net/avis-creative-studio/canvas-fundamentals/connecting-nodes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
