> 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/huong-dan/get-started/avis-api-vs-studio.md).

# Avis API hay Avis Studio: nên dùng cái nào?

Avis cung cấp hai cách để sử dụng cùng danh mục mô hình AI. **Avis API** (Gateway) dành cho nhà phát triển gọi mô hình từ code, script hoặc công cụ như Claude Code. **Avis Creative Studio** là canvas trực quan cho người sáng tạo nội dung, để tạo hình ảnh, video và âm thanh mà không cần viết code. Cả hai dùng chung một số dư credit; điểm khác biệt nằm ở cách làm việc và phí nền tảng.

***

## So sánh nhanh

|                  | **Avis API**                                                                                            | **Avis Creative Studio**                                                                                |
| ---------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| Phù hợp nhất cho | Nhà phát triển, sản phẩm, tự động hóa                                                                   | Nhà thiết kế, biên tập viên video, đội ngũ sản xuất                                                     |
| Cách sử dụng     | HTTP request, SDK, CLI, tích hợp                                                                        | Canvas trực quan với các node được kết nối                                                              |
| Cần viết code    | Có                                                                                                      | Không                                                                                                   |
| Phí nền tảng     | **10%** chi phí mô hình                                                                                 | **20%** chi phí mô hình                                                                                 |
| Thanh toán       | Cùng số dư credit trả trước                                                                             | Cùng số dư credit trả trước                                                                             |
| Bắt đầu          | [Quickstart](https://github.com/coin98/documentation/tree/docs_avis_vi/guide/get-started/quickstart.md) | [Avis Creative Studio là gì?](/vi/avis-creative-studio/getting-started/what-is-avis-creative-studio.md) |

***

## Chọn API nếu bạn...

* Đang xây dựng ứng dụng, website hoặc sản phẩm có gọi AI
* Muốn chạy AI từ các agent lập trình như Claude Code, Codex hoặc Gemini CLI. Xem [Tích hợp](/vi/tich-hop/overview.md)
* Cần chạy batch job, tác vụ theo lịch hoặc pipeline tự động
* Muốn mức phí thấp hơn

## Chọn Studio nếu bạn...

* Muốn sáng tạo và chỉnh sửa trực quan, kết nối chuỗi hình ảnh → video → âm thanh → VFX
* Làm việc trong một dự án cùng đồng đội
* Thích thao tác bằng chuột hơn viết code

***

## Câu hỏi thường gặp

### Tôi có cần hai tài khoản không?

Không. Một tài khoản Avis và một số dư dùng được cho cả hai.

### Tôi có phải trả phí hai lần nếu Studio gọi API không?

Không. Mỗi request chỉ bị tính phí một lần, theo mức phí của cách chạy mà request đó đi qua.

### Tôi có thể dùng cùng các mô hình ở cả hai nơi không?

Nhìn chung là có.


---

# 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/huong-dan/get-started/avis-api-vs-studio.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.
