> ## 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.

# API integration

Call ViVi-API from your code, an SDK, or an HTTP client. Choose a protocol to find integration instructions, request parameters, and examples.

## Choose a protocol

| Protocol | Request path | Documentation |
| - | - | - |
| **OpenAI Chat** | `/v1/chat/completions` | [Integration and parameters](https://docs.viviai.cc/en/openai-chat.md) |
| **Gemini** | `/v1beta/models/{model}:generateContent` | [Integration and parameters](https://docs.viviai.cc/en/gemini.md) |
| **Anthropic** | `/v1/messages` | [Integration and parameters](https://docs.viviai.cc/en/anthropic.md) |

API service URL: `https://api.viviai.cc`. Use your token's API key and confirm that your model supports the selected protocol.

## Before you start

* [Quickstart](https://docs.viviai.cc/en/index.md): Create an account, redeem credit, and generate an API key.
* [Model pricing](https://docs.viviai.cc/en/pricing.md): Check group multipliers, savings, model IDs, and supported use cases.

For troubleshooting, see the [FAQ](https://docs.viviai.cc/en/faq.md). If you use an existing app, visit [App setup](https://docs.viviai.cc/en/scenarios.md) to find instructions by use case.


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