Skip to content

JayFarei/narrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Narration of your webcam feed using 11labs voices

Setup

Clone this repo, and setup and activate a virtualenv:

python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate

Then, install the dependencies: pip install -r requirements.txt

Make a Replicate, OpenAI, and ElevenLabs account and set your tokens in the .env file:

OPENAI_API_KEY=<your-openai-token>
REPLICATE_API_KEY=<your-replicate-token>
ELEVENLABS_API_KEY=<your-elevenlabs-token>

Make a new voice in Eleven and get the voice id of that voice. Custom voices requires a paid subscription (Standard+ minimum).

Enter the VOICE_ID in the .env file:

ELEVENLABS_VOICE_ID=<voice-id>

Run it!

In on terminal, run the webcam capture:

python capture.py

In another terminal, run the narrator:

python narrator.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages