How to Set Up API on Janitor AI

AI in 5 Minutes
3 Nov 202303:15

TLDRThis video tutorial guides viewers on setting up an API using Janitor AI. It begins with account registration and character creation, followed by character customization. The video then demonstrates how to set up the API by selecting the desired API type, obtaining an API key from OpenAI, and configuring it within Janitor AI. It concludes with adding custom prompts and saving settings, providing a clear and concise guide for users interested in integrating APIs with Janitor AI.

Takeaways

  • 🔑 Register or log in to Janitor AI to start setting up an API.
  • 👤 Create a new character by uploading an avatar image, choosing gender, and setting privacy and rating options.
  • 💬 Add character definition and example dialogues to your character profile.
  • 🖼️ Upload an image to represent your character's avatar.
  • 🔗 Access the API setup by clicking on 'My Characters' and selecting your character to chat with it.
  • 🛠️ Choose 'Open AI' as the API you want to use for your character.
  • 🔗 Obtain an Open AI API key by logging into the Open AI website and creating a new secret key.
  • 📋 Copy the API key from Open AI and paste it into the Janitor AI platform.
  • 🔄 Check the API key to ensure it's valid before proceeding.
  • 📝 Add a custom prompt or choose a preset for your character's responses.
  • 🎬 This video provides a step-by-step guide to setting up an API for character interaction on Janitor AI.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is setting up an API using Janitor AI.

  • How do you begin the process of setting up an API on Janitor AI?

    -You start by logging in or registering a new account on Janitor AI.

  • What is the first step after registering an account on Janitor AI?

    -The first step is to create a character by uploading an avatar image, choosing the gender, setting the privacy and rating, and adding character definition and scenarios.

  • Why is it necessary to have a character before setting up the API?

    -Having a character is necessary because the API will interact with it, and you need to ensure it exists before proceeding with the API setup.

  • Where can you find the option to chat with your character on Janitor AI?

    -You can find the option to chat with your character by going to 'My Characters' and selecting the character you want to chat with.

  • What does the 'API not ready' message indicate?

    -The 'API not ready' message indicates that the API for your character has not been set up yet.

  • Which API does the video suggest using for Janitor AI?

    -The video suggests using the OpenAI API for Janitor AI.

  • How do you obtain an OpenAI API key?

    -You obtain an OpenAI API key by logging into the OpenAI website, navigating to the API section, and creating a new secret key.

  • What should you do after obtaining the OpenAI API key?

    -After obtaining the OpenAI API key, you should copy it and paste it into the Janitor AI platform to check and save the settings.

  • Can you use your own API key or must you use the one provided by Janitor AI?

    -You can use your own OpenAI API key if you have one, or you can use the reverse proxy option for your own API key.

  • What additional steps are required after setting the API key on Janitor AI?

    -After setting the API key, you should add a custom prompt or choose a preset, and then save the settings to complete the API setup.

Outlines

00:00

😀 Setting Up an API with Janitor AI

This video tutorial guides viewers on setting up an API using Janitor AI. The process begins with registering or logging into Janitor AI, and then creating a new character by uploading an avatar image, selecting gender, and setting the character's privacy and rating. After creating the character, the video instructs viewers to set up the API by navigating to the character's chat interface and selecting the desired API, in this case, OpenAI. The tutorial then proceeds to demonstrate how to obtain an OpenAI API key by logging into the OpenAI website, creating a new secret key, and copying it to the Janitor AI platform. Finally, the video shows how to add a custom prompt and save the settings to complete the API setup.

Mindmap

Keywords

API

An API, or Application Programming Interface, is a set of rules and protocols for building and interacting with software applications. In the context of the video, setting up an API on Janitor AI involves integrating external software with Janitor AI's platform to enable communication and data exchange. The video guides viewers through the process of selecting an API, such as OpenAI, and using an API key to authenticate and authorize the connection.

Janitor AI

Janitor AI is the platform being discussed in the video, where users can create and interact with AI characters. It is a service that allows for the creation of virtual characters with specific attributes and capabilities, which can be used for various applications, including chatbots and virtual assistants. The video focuses on how to set up an API for these AI characters to enhance their functionality.

Register

Registration is the process of creating an account with a service, which is a necessary step before using most online platforms. In the video, the speaker instructs viewers to register for a new account on Janitor AI, either by logging in with existing credentials or by creating a new account, to gain access to the platform's features.

Avatar Image

An avatar image is a visual representation of a user or a character in a digital environment. In the context of the video, users are prompted to upload an avatar image for their AI character on Janitor AI, which serves as the character's face in interactions. This personalizes the AI character and makes it more relatable for users.

Gender

Gender refers to the socially constructed roles, behaviors, and attributes typically associated with being male or female. In the video, when creating an AI character, users are given the option to assign a gender to their character, which can influence the character's responses and interactions within the platform.

Public/Private

These terms refer to the accessibility settings of an AI character. A public character is accessible to everyone on the platform, while a private character is only available to the creator or specific users. The video mentions the option to set the character as public or private, which determines who can interact with the AI character.

Rating

Rating in the context of the video refers to the content rating of the AI character, which can be either 'Limited' or 'Limitless'. This setting likely controls the type of content the character can generate or engage with, ensuring it aligns with certain guidelines or user preferences.

Character Definition

A character definition is a set of attributes and traits that describe an AI character's personality, abilities, and other characteristics. In the video, users are instructed to choose a character definition for their AI, which helps shape how the character behaves and interacts within the platform.

Scenario

A scenario in this context is a predefined situation or setting for the AI character to operate within. The video mentions adding a scenario to the AI character, which could include specific dialogues or interactions tailored to particular use cases or themes.

OpenAI

OpenAI is an organization that develops AI technologies and provides APIs for various applications, including natural language processing. In the video, OpenAI is mentioned as the API provider that can be integrated with Janitor AI to enhance the capabilities of the AI characters. The video demonstrates how to obtain an API key from OpenAI to use in the Janitor AI platform.

API Key

An API key is a unique code passed in by computer programs calling an API to identify the calling program, its developer, or its user. In the video, the speaker guides viewers on how to obtain an API key from OpenAI, which is then used to authenticate and authorize the API connection between Janitor AI and OpenAI's services.

Highlights

Introduction to setting up an API using Janitor AI

Registration or login to Janitor AI platform

Continuing registration with Google or Discord

Accessing the character creation interface

Uploading an avatar image for the character

Selecting the gender and privacy settings for the character

Adjusting the character's rating and definition

Adding example dialogues to the character

Finalizing character creation

Navigating to the API setup section

Choosing the API type and selecting OpenAI

Accessing OpenAI to obtain an API key

Creating a new secret key in OpenAI

Copying the API key from OpenAI

Pasting the API key into Janitor AI

Verifying the API key and saving settings

Adding custom prompts or selecting presets

Completion of the API setup tutorial