> 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/vi/avis-creative-studio/canvas-fundamentals/connecting-nodes.md).

# Kết nối các Node

Mỗi node có hai điểm kết nối chính:

* **Dấu "+" bên trái (Đầu vào):** Nhận dữ liệu từ tài nguyên hoặc node khác.
* **Dấu "+" bên phải (Đầu ra):** Chuyển đầu ra đến node tiếp theo.

#### Thêm đầu vào

1. Nhấn hoặc kéo từ **dấu "+" bên trái** để thêm đầu vào.
2. Hoặc tạo một node mới và kéo **dấu "+" bên phải** của nó vào **dấu "+" bên trái** của node hiện tại.

Node mới sẽ được nối làm đầu vào của node hiện tại.

#### Thêm đầu ra

1. Nhấn hoặc kéo từ **dấu "+" bên phải** để thêm đầu ra.
2. Hoặc tạo một node mới và kéo **dấu "+" bên trái** của nó vào **dấu "+" bên phải** của node hiện tại.

Node hiện tại sẽ trở thành đầu vào hoặc tham chiếu của node mới.

Kết nối các node để chuyển tài nguyên và kết quả qua nhiều bước, tạo thành một quy trình hoàn chỉnh.

#### **Dùng tham chiếu với Refer to**

1. Trong node bạn đang làm việc, nhấn **+ Refer to**.
2. Nhấn vào node trên Canvas mà bạn muốn dùng làm tham chiếu.
3. Nhấn **Esc** hoặc **Return** để quay lại node đang làm việc. Tham chiếu sẽ được kết nối.

#### **Gắn tag tham chiếu bằng @**

Mỗi tham chiếu node được gắn một tag theo loại và thứ tự kết nối:

* Hình ảnh: **@image1**, **@image2** … **@image9**
* Video: **@video1**, **@video2** …
* Âm thanh: **@audio1**, **@audio2** …

Dùng tag trong prompt để chỉ rõ mô hình cần sử dụng tham chiếu nào. Ví dụ: *"Nhân vật từ @image1 bước vào căn phòng từ @image2."*

* **Tự động kết nối:** Gõ **@** rồi nhập tên node trên Canvas. Node đó sẽ tự động được kết nối làm tham chiếu.
* **Mở node nguồn:** Nhấp đúp vào tag trong prompt để chuyển đến node gốc.
* **Ngắt tham chiếu:** Xóa tag khỏi prompt.

> **Lưu ý:** Số lượng tham chiếu tối đa phụ thuộc vào mô hình bạn chọn. Xem giới hạn tham chiếu trong **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/vi/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.
