At Kamoto.AI, we offer more than just chatting with your AI Character and personality through its profile page and chat widget. You can also integrate AI Personalities into various applications like websites, mobile apps, and video games using our APIs. This guide will walk you through the process of obtaining and using API keys for seamless integration.
Step 1: Obtain Your API Key and Personality ID
Before you start using our API, you'll need an API key and a Personality ID to authenticate your requests. Here's how you can generate them:
Log in to your Kamoto.AI account and access the Dashboard.
Navigate to the 'APIs & Logs' section.
Click on the '[Create API Key]' button.
You'll be prompted to choose whether you want to create an API key for your own AI Character or for someone else's AI Character (if they have enabled API monetization).
Once created, you'll receive your API Key and Personality ID. Make sure to copy and paste them somewhere safe because they won't be visible again.
Step 2: Using Your API Key
Now that you have your API key and Personality ID, you can start integrating AI Personalities into your projects. We've provided sample code on GitHub to help you get started.
Use the below GitHub code as a reference and paste your API key & Personality ID into it.
You can use any HTTP request sender service or write code in your preferred programming language to send requests and receive responses. If you have basic programming knowledge, this should be straightforward.
Step 3: Explore the API Docs
To delve deeper into the possibilities and functionalities of our API, you can refer to our comprehensive API documentation available at the following link API Documentation.
That's it! You're now ready to harness the power of Kamoto.AI's API to create unique and engaging experiences in your applications. If you have any questions or need further assistance, don't hesitate to reach out to our support team.