This repository provides a Python script for converting text to speech using the Eleven Labs API. The script takes in text input, along with the user's Eleven Labs voice ID and API key, and returns the corresponding audio output.
To install the necessary packages, use the command below:
pip3 install gradio requests
Run the script with the following command:
python3 genius.py
This will open a Gradio interface where you can input the desired text, voice ID, and API key. The output will be audio corresponding to the input text.
Note: You need to have an account with Eleven Labs to obtain an API key and a voice ID.
This script is open-source and licensed under the MIT License. For more details, check the LICENSE file.