Are you ready to dive into the world of AI chatbots? Meet Janitor AI, your new digital companion that’s set to revolutionize your chatting experience. Whether you’re a tech enthusiast or just curious about artificial intelligence, our step-by-step guide will walk you through the process of harnessing the full potential of Janitor AI API.
In this guide, we’ll show you how to seamlessly integrate Janitor AI API into your projects using OpenAI API keys and Kobold AI URLs. Don’t worry if you’re not a tech wizard; we’ve got you covered with simple, easy-to-follow instructions. So, let’s get started and elevate your chat experience to new heights!
What is Janitor AI API?
Janitor AI API is a user interface for interacting with Janitor AI, a chatbot service that allows for discussions with a variety of characters. The API key for Janitor AI can be obtained from OpenAI or Kobold AI, but these keys are not free.
Users can configure the API by enrolling or joining in to their OpenAI account, creating a new secret key, and then copying and pasting the API key into Janitor AI to chat with characters. Remember that the API key is required to access all of Janitor AI’s features, especially if you wish to use it on other platforms or for development.
How to Add API keys to Janitor AI API?
- Visit the Janitor AI website and create your own login by signing up.
- Once you have logged in, you will be presented with various characters to chat with. Choose the character you prefer for your conversation.
- Click on the “Chat” option associated with the selected character. You can also chat with characters in Janitor AI without an API key.
- To obtain an API key, click on the hamburger icon at the top of the screen to access API settings.
- Click on the API settings. This action will open a dialog box with further instructions.
- Within the dialog box, you will be asked to select the API key you prefer for your chatbot.
- You can configure either OpenAI or Kobold AI.
Configure OpenAI API key on Janitor AI
- To configure OpenAI API key on Janitor AI, select OpenAI from the Janitor AI API settings.
- There you have to select the OpenAI models and My Own API Key to configure OpenAI API key.
- To get an OpenAI API key, you need to create an account and then generate a new key.
- Create an account or sign in to your existing OpenAI account.
- After signing in, click on the OpenAI icon in the left right corner of the page and select “API Keys.“
- Click on the “Create New Secret Key” button.
- A new window will pop up. Enter any text that you like and click Create secret key.
- Copy the key and save it in a safe place. You will need it to access the OpenAI API on Janitor AI.
- Now return to Janitor AI, enter the OpenAI key, and save the settings.
- Once the settings are saved, you can now start using the Janitor AI API and engage in conversations with your chosen character.
Configure Kobold AI API URL
- To configure Kobold AI, you need to run Kobold AI in a machine with GPU and generate API URL.
- Choose Kobold AI in the Janitor AI API section. Here you need to enter the API URL generated by Kobold AI.
- To generate the Kobold AI API URL, go to the Google Colab Kobold AI GPU link and run the setup.
- You need to click the Play button to start the configuration.
- The first step will generate an audio to play to prevent any timeouts.
- In the second setup, select Nerys V2 6B model, United version, and Cloudflare provider with Google Drive disabled.
- Then you can click the play button which configures Kobold AI.
- This will take around 7 – 10 min to complete.
- Once the setup is complete you will see the API urls as shown above.
- If you look at the generated URL you will see the Kobold AI page where you can generate image or make an interesting story.
- Now you can configure the Kobold AI API URL in Janitor AI by entering the API URL and clicking Check Kobold URL. Save the settings.
- Next go to Generation Settings and select the below settings.
- Save the settings to “Kobold AI Default” preset and begin chatting with Janitor AI.
Configure OpenAI Reverse Proxy
To get the OpenAI reverse proxy URL you can follow one of the below guides.
- OpenAI Reverse Proxy in Hugging Face: Create OpenAI Reverse Proxy with Docker for Janitor AI.
- OpenAI Reverse Proxy in your Local environment: Create OpenAI Reverse Proxy with Nginx for Janitor AI.
- Once you have created your OpenAI endpoint you can add it to the Janitor AI OpenAI reverse proxy screen.
- Choose Reverse Proxy in Access OpenAI API on Janitor AI API.
- If you have configured any secret key in your
.env
file while deploying, you need to add that secret key in the Reverse Proxy Key. - Enter your Open AI Reverse Proxy URL that you get from the above mentioned article.
- Click “Check Proxy” to ensure connectivity success, then save your settings.
Frequently Asked Questions
How to Set up API on Janitor AI Free?
To get an API key for Janitor AI API, users need to create an account on the official Janitor AI website and generate a unique API key. The API key provides authenticated access to the OpenAI’s GPT-3 language model, which powers the conversational abilities of Janitor AI.
How to use Janitor AI API Key?
To use Janitor AI API key, users need to download the JSON file of their chosen character from the Janitor AI website and load it into their programming language. Then, they need to parse the JSON file and access its components based on the defined structure.
What are the Alternatives to Janitor AI API?
Some of the alternatives to Janitor AI API are: Kobold AI, Pawan Krd, and BeepAI.
What are the Benefits of using JanitorAI API?
It enables users to create engaging and interactive chatbots with human-like responses and personalities. It allows users to customize their chatbots according to their needs and preferences.
Conclusion
In this article, we have learned how to use Janitor AI API, a powerful and versatile chatbot that can converse with different characters using OpenAI or Kobold AI. We have also seen how to configure and integrate the API keys for both OpenAI and Kobold AI, as well as how to use the OpenAI reverse proxy option.
Following these steps enables us to enjoy Janitor AI API benefits: crafting engaging chatbots with human-like responses, tailoring chatbots to our needs, simplifying integration across platforms, and tapping into OpenAI’s advanced GPT-3 language model features.
Leave your Reply