Skip to content

Live speech to speech bot utilizing the elevenlabs API.

License

Notifications You must be signed in to change notification settings

cavoq/elevenlabs-live-vc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elevenlabs-live-vc

Live speech to speech bot using Eleven Labs API.

██╗     ██╗██╗   ██╗███████╗    ██╗   ██╗ ██████╗
██║     ██║██║   ██║██╔════╝    ██║   ██║██╔════╝
██║     ██║██║   ██║█████╗█████╗██║   ██║██║
██║     ██║╚██╗ ██╔╝██╔══╝╚════╝╚██╗ ██╔╝██║
███████╗██║ ╚████╔╝ ███████╗     ╚████╔╝ ╚██████╗
╚══════╝╚═╝  ╚═══╝  ╚══════╝      ╚═══╝   ╚═════╝

Description: A live voice-changer utilizing elevenlabs voice-cloning API.
Author: https://github.com/cavoq

Environment Setup

Create a file named .env in the root directory of the project and add the following environment variables:

API_KEY=<YOUR_ELEVENLABS_API_KEY>
VOICE_ID=<YOUR_ELEVENLABS_VOICE_ID>
SAMPLE_RATE=<YOUR_DESIRED_SAMPLE_RATE>
CHANNELS=<NUMBER_OF_AUDIO_CHANNELS>

Installation

You need ffmpeg installed on your system to run this project. https://ffmpeg.org/download.html

pip install -r requirements.txt

Usage

Command Line

python live_vc.py

Docker

docker build -t el-live-vc .
docker run --env-file .env -it --privileged -v /dev/input:/dev/input el-live-vc

About

Live speech to speech bot utilizing the elevenlabs API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published