Meta: Transform job descriptions into real-time interview videos using AI. Simplify your hiring process, cut down interview time, and attract top talent.
According to Statistics by the Genius, 60% of job seekers quit because the interview process is too long or complicated, and the average process takes about 23 days.
The traditional recruitment process is time-consuming and prone to bias. Instead of interviewing each candidate individually, you can use an AI avatar to simultaneously conduct interviews with all candidates. This way, you no longer need to wait as long as 23 days as the recruitment process can be completed in two to three days.
This article will guide you through building a recruitment AI video avatar that will interview prospective candidates using Simli’s API. It will show how to build an application that can turn job descriptions into interactive interviews, streamlining your hiring process and improving the candidate experience.
Prerequisites
To follow along with this tutorial, make sure you have the following:
- An understanding of JavaScript and React.
- Node and the Node Package Manager installed.
- A Simli account. To get started, create a free Simli account.
- An OpenAI account.
You can find the complete source code on GitHub.
Generate Interview Questions With OpenAPI
OpenAI provides APIs that use a large language model trained on large quantities of data to generate text from a prompt. One of these APIs is the chat completions endpoint. By using this endpoint and providing a job description as a prompt, you can generate customized interview questions.
Once the questions are generated, the next step is to convert them to audio so they can be sent to the SimliClient API, which will generate a Lipsynced AI avatar to interview the applicant. Simli is an AI video generator that provides you with a speech-to-video API to create video AI avatars.
Also, OpenAI provides an audio API with a speech endpoint based on its TTS (text-to-speech) model. This speech endpoint requires three key inputs: the model, the text to be converted into audio, and the voice for audio generation. This functionality will be used to convert the generated questions to audio.
Here’s How The Application Will Work
- The recruiter enters a job description that is sent to OpenAI’s chat completions API.
- The API returns a list of interview questions as text.
- These questions are then sent to the speech endpoint, where they are converted into audio.
- Finally, the audio is sent to Simli’s API, which generates a realistic, lip-synced video avatar to deliver the questions, creating an interactive and engaging interview experience for candidates.
## Set Up Your API Environment
Simli’s endpoint requires an API key, which you can get by creating a Simli account. Once you’ve successfully created an account, you will be redirected to the user profile dashboard, where you can generate your API key and track your API usage.
Click the copy button and save it.
In the API keys section, click Create new secret key, give the key a name, and click Create secret key button.
Once you’ve selected your avatar, let’s bring it to life by building a Next.js application.
Setting Up the Next.js Project
To get started, create a Next.js app by running the following command:
npx create-next-app@latest interview-simli
This command will prompt a few questions about configuring the Next.js application. Here's the response to each question:
to see how the application works:
Conclusion
By leveraging SimliClient and OpenAI, this guide provides a comprehensive solution to the problem of time-consuming recruitment by building an application that converts static job descriptions into dynamic, interactive interview videos. Combining these tools is a game-changer because together they can be utilized to automate the initial candidate screening process and ease the stress of going through the traditional recruitment process.
Simli’s API comes with a free plan. Sign up on Simli today to get started.
SOCIAL SHARE CARD GENERATOR