This application converts text to speech using the Eleven Labs API, providing natural-sounding voice outputs from written text.
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.envfile in the root directory with your Eleven Labs API key:ELEVEN_LABS_API_KEY=your_api_key_here - Run the application:
python app.py
- Create an account at Eleven Labs
- Navigate to your profile settings
- Copy your API key
- Paste it into your
.envfile
- Convert text to speech using Eleven Labs' high-quality voices
- Adjust voice settings like stability and clarity
- Save the generated audio to a file
- Simple, user-friendly interface
- Python 3.8+
- Internet connection (to access the Eleven Labs API)