API Reference Overview
Welcome to the AI Studio API Reference. This documentation provides detailed information on how to interact with the AI Studio API. You'll find endpoints, request parameters, response formats, and example requests and responses.
Introduction
The AI Studio API allows developers to integrate powerful AI capabilities into their applications. With endpoints for chat, knowledge base management, persona customization, model management, and integrations, you can leverage AI to enhance your product's functionality.
Authentication
To use the AI Studio API, you must authenticate your requests. Authentication is handled via API keys, which can be obtained from your AI Studio account.
Obtaining an API Key
- Log in to your AI Studio account.
- Navigate to the Integrations section in AI Studio.
- Generate a new API key.
Using the API Key
Include the API key in the SDK as TrorGenAI(api_key) while creating an instance of SDK