How to Set Up API on Janitor AI

AI in 5 Minutes
3 Nov 202303:15

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

00:00

📝 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

API stands for Application Programming Interface, which is a set of rules and protocols used for building and interacting with software applications. In the context of the video, setting up an API for Janitor AI involves creating a bridge that allows other software to communicate with the AI service, enabling automation and integration of various functionalities. The script guides the user through the process of selecting an API, obtaining an API key, and configuring it with Janitor AI to establish this connection.

💡Janitor AI

Janitor AI appears to be the name of a platform or service that offers AI-driven capabilities, possibly including chatbot or virtual assistant features. The main theme of the video revolves around the registration and setup process of this service. Users are taught how to create an account, generate a character, and ultimately set up an API for further customization and interaction with the Janitor AI platform.

💡Register

The term 'register' refers to the process of creating an account or signing up for a service. In the video, the first step to use Janitor AI is to register either by logging in with an existing account (like Google or Discord) or by creating a new account. This is essential for users to gain access to the features and functionalities of Janitor AI, such as creating characters and setting up APIs.

💡Character

In the context of the video, a 'character' seems to be a virtual representation or avatar that users can create and customize on the Janitor AI platform. This includes uploading an avatar image, selecting gender, and defining the character's traits. The character is likely used for interactive purposes within the AI service, and users can 'chat with' their character, indicating a conversational or engagement aspect.

💡Avatar Image

An 'avatar image' is a visual representation or icon that users can upload to personalize their character on the Janitor AI platform. This image serves as the face of the user's character, making the interaction more engaging and personalized. The script instructs users to upload an avatar image as part of the character creation process, enhancing the user experience and individuality of their AI-driven character.

💡Gender

The term 'gender' refers to the characteristics pertaining to the sex of the character that users can select during the character creation process on Janitor AI. Assigning a gender to the character adds a layer of personalization and human-like interaction for the user. The video mentions choosing the gender as one of the steps in creating a character, indicating the importance of diversity and user preference in the platform's design.

💡Public or Private

In the context of the video, 'Public' or 'Private' refers to the accessibility settings for the user's character on the Janitor AI platform. A public character can be accessed and interacted with by others, while a private character is restricted and only accessible to the creator. This feature allows users to control the level of privacy and sharing of their AI-driven characters.

💡Rating

The 'rating' in the video refers to the content restriction level assigned to the user's character on Janitor AI. The options 'limited' or 'Limitless' indicate the range of interactions and dialogues that the character can engage in. A limited rating suggests some restrictions on content, possibly to ensure appropriateness for a wider audience, while limitless implies fewer or no content limitations, allowing for more diverse and potentially mature interactions.

💡Custom Prompt

A 'custom prompt' is a user-defined input or question that can be used to guide the interaction with the AI character on Janitor AI. By setting a custom prompt, users can tailor the conversation and behavior of their character to specific contexts or topics. The video mentions adding a custom prompt after setting up the API, which allows for further personalization and control over the AI's responses.

💡Open AI

Open AI is referenced in the video as the API provider that users can select for their Janitor AI character. It is likely a service offering advanced AI models and capabilities that can be integrated with third-party platforms like Janitor AI. By choosing Open AI, users can leverage its models to enhance the functionality and intelligence of their AI-driven characters, providing a more sophisticated and interactive experience.

💡API Key

An 'API key' is a unique code that is used to authenticate requests to an API. In the video, users are guided to obtain an API key from Open AI, which is then used to configure and enable the API connection for their Janitor AI character. The API key serves as a security measure, ensuring that only authorized users can access and use the AI service.

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.