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

# Quickstart

You need three settings to connect to the API:

| Setting | What to enter |
| - | - |
| **API URL** | `https://api.viviai.cc` |
| **API key** | A key starting with `sk-`, created in Token management |
| **Model selection** | Select the group for your chosen models when creating a token. |

## 1. Sign up and create an API key

**1. Create an account**

* **Sign-up URL:** [api.viviai.cc](https://api.viviai.cc)
* **Alternative URL:** [api.viviai.top](https://api.viviai.top)

> [!NOTE]
>
> If the main site is unavailable, use the alternative URL.

**2. Redeem credit**

Go to **Dashboard → Wallet management**, enter your redemption code, and redeem it.

The credit added matches the amount you paid. See [Model pricing](https://docs.viviai.cc/en/pricing.md) for usage costs.

**3. Create an API key**

Your API key authorizes API requests. Go to **Token management → Create token**, then:

1. **Name the token:** Use any name that helps you identify its model or purpose.
2. **Select a group:** Choose the group that supports your models. See [Model pricing](https://docs.viviai.cc/en/pricing.md).
3. **Keep the other defaults:** Change them only if you have specific requirements.
4. **Save the key:** Enter the generated `sk-` key in your application's API key setting.

## 2. Choose how to connect

> [card] [App setup](https://docs.viviai.cc/en/scenarios.md)
>
> Connect an existing app. View setup instructions.

> [card] [API integration](https://docs.viviai.cc/en/api-overview.md)
>
> Connect with code. View integration guides.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.