How to Set Up API on Janitor AI
TLDRThis tutorial guides viewers on setting up an API with Janitor AI. It starts with registration and character creation, including avatar and dialogue setup. The video then instructs on accessing the API through character settings, selecting Open AI, and obtaining an API key from open.com. The process concludes with pasting the key into Janitor AI, verifying it, and customizing settings to enable API functionality.
Takeaways
- 📝 Start by visiting the Janitor AI website and log in or register for a new account.
- 🔗 Choose to continue with Google or Discord for registration.
- 👤 After registration, navigate to 'My Characters' and ensure you have a character or create one if needed.
- 🎨 Upload an avatar image, select the gender, type (public or private), and rating (limited or limitless) for your character.
- 💬 Add character definition, scenario, and example dialogues to personalize your character.
- 🗂️ Once the character is created, go back to the main page and click on the character to chat with it.
- 🔧 To set up the API, click on 'API not ready' at the top right, and select the desired API (Open AI is used in this example).
- 🔑 Obtain an Open AI API key by logging into open.com with your Google account and creating a new secret key.
- 📋 Paste the copied API key into Janitor AI and verify it.
- 📝 Add a custom prompt and choose a preset (e.g., default) to save your settings.
- 🎥 The video provides a step-by-step guide on setting up an API for Janitor AI characters.
Q & A
What is the first step in setting up an API on Janitor AI?
-The first step is to head over to Janitor AI and log in or register for a new account, continuing with Google or Discord.
How do you create a character on Janitor AI?
-After logging in, go to 'My Characters', and if you don't have a character, hit 'Create a Character'. Then, upload an avatar image, choose the gender, type (public or private), rating (limited or limitless), character definition, scenario, and add example dialogues.
What are the different options you can select when creating a character on Janitor AI?
-You can choose the character's gender, whether the character is public or private, its rating (limited or limitless), character definition, and the scenario.
How do you set up the API for your character on Janitor AI?
-After creating your character, go to 'My Characters', click on it, and then 'Chat with it'. When it loads, click on 'API not ready' at the top right, choose the desired API (Open AI in this case), and proceed with the setup.
Where do you find your Open AI API key?
-You can find your Open AI API key by visiting open.com, logging in with your Google account, going to 'API' at the top, and then selecting 'Personal' or 'View API keys' to see your keys.
What does 'Reverse proxy for your own API key' mean in the context of setting up the API on Janitor AI?
-It means that if you have your own API key, you can use it directly, or you can use a reverse proxy to manage your API key for additional security or functionality.
How do you copy your Open AI API key after creating it?
-After creating a new secret key on open.com, simply hit 'copy' once it's generated, and then proceed to paste it on Janitor AI when prompted.
What is the purpose of adding a custom prompt when setting up the API on Janitor AI?
-Adding a custom prompt allows you to tailor the interaction with your character to specific queries or behaviors, making the API more personalized and relevant to your needs.
What are the benefits of selecting a preset when setting up the API on Janitor AI?
-Selecting a preset, such as 'default', provides a pre-configured set of parameters for the API, simplifying the setup process and ensuring a baseline level of functionality.
How do you finalize the API setup on Janitor AI?
-After pasting your Open AI API key and adding your custom prompt (if desired), click 'Save settings' to complete the API setup on Janitor AI.
What is the final step in the video tutorial for setting up an API on Janitor AI?
-The final step is to confirm that the API key has been checked and the settings saved, which will enable the API for your character on Janitor AI.
Outlines
📝 Setting Up an API with Janitor AI
The video begins by introducing the process of setting up an API using Janitor AI. The first step involves navigating to the Janitor AI website and either logging in or registering for a new account, with the option to continue with Google or Discord. After successful registration, the user is instructed to access the 'My Characters' section. Before proceeding, it's important to have a character ready; if not, one can be created by uploading an avatar image and selecting the character's gender, whether the character is for public or private use, and setting a rating (limited or limitless). The character's definition and scenario are also chosen, along with example dialogues. Once the character setup is complete, the user can chat with it. To set up the API, the user returns to the 'My Characters' section, selects the character, and clicks 'Chat with it.' Upon loading, the user is prompted to set up the API, choosing the desired API and using an Open AI model. The user then accesses their Open AI API key through open.com, creates a new secret key, and copies it. Back on Janitor AI, the API key is pasted, checked, and custom prompts can be added before saving the settings. The video concludes with a thank you and goodbye.
Mindmap
Keywords
💡API
💡Janitor AI
💡Register
💡Character
💡Avatar Image
💡Gender
💡Public or Private
💡Rating
💡Custom Prompt
💡Open AI
💡API Key
Highlights
Learn how to set up an API using Janitor AI.
Begin by logging into Janitor AI or registering a new account.
Choose to continue with Google or Discord for registration.
Navigate to 'My Characters' after logging in.
Create a new character if you don't have one.
Upload an avatar image and select the gender for your character.
Choose whether your character is public or private and its rating.
Define your character and add example dialogues.
Set up the API by selecting 'Open AI' as the desired API.
Get an Open AI API key from open.com.
Create a new secret key in your Open AI account.
Copy the API key and return to Janitor AI to complete the setup.
Paste the API key in Janitor AI and verify it.
Customize your prompt and choose a preset for your character.
Save your settings to finalize the API setup.
The video provides a step-by-step guide for API setup on Janitor AI.
Thank you for watching and goodbye.