Skip to content

A Python script for converting text to speech using the Eleven Labs API.

License

Notifications You must be signed in to change notification settings

willdphan/gpt-eleven-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eleven Labs Text to Speech

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.

Installation

To install the necessary packages, use the command below:

Copy code

pip3 install gradio requests

Usage

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.

License

This script is open-source and licensed under the MIT License. For more details, check the LICENSE file.

About

A Python script for converting text to speech using the Eleven Labs API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages