A super TTS package supporting multiple providers.
Project description
SuperTTS
Star the repository if this was useful. ⭐️
Single TTS Package to use multiple TTS engines.
Installation
pip install supertts
Usage
Add Keys to Environment Variables
# For Openai
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
# For Azure
export AZURE_KEY="YOUR_AZURE_KEY"
export AZURE_REGION="YOUR_AZURE_REGION"
TTS
from supertts import SuperTTS
supertts = SuperTTS()
supertts.tts("Hello World")
Voices
from supertts import SuperTTS
supertts = SuperTTS()
supertts.voices()
Configuration
tts
Openai TTS
- voice: Voice to use for TTS (Default: "alloy")
- model: Model to use for TTS (Default: "tts-1")
from supertts import SuperTTS
supertts = SuperTTS()
supertts.tts("Hello World", model="tts-1-hd")
supertts.tts("Hello World", voice="nova")
supertts.tts("Hello World", model="tts-1-hd", voice="nova")
Supported TTS Engines
- Openai
- Azure
Upcoming TTS Engines
License
MIT
Author
Enjoy using SuperTTS! 🚀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
supertts-0.0.19.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supertts-0.0.19.tar.gz.
File metadata
- Download URL: supertts-0.0.19.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bed7f69db3d056bb9cd0dae5041079f6671972f28bc8ae262ffca7ed21a7942c
|
|
| MD5 |
b14e1d73305b7a8508198526539bfa1c
|
|
| BLAKE2b-256 |
57472cb64abf6a6b14143f86e6835237cea4f9a95ab98194339f36b3eb52448b
|
File details
Details for the file supertts-0.0.19-py3-none-any.whl.
File metadata
- Download URL: supertts-0.0.19-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e9232c0161f55ec39fd326c1c3cc82b63d4ab270eed577629de75b43e528e02
|
|
| MD5 |
49367b00192f7dfab1fd7a5314b26b15
|
|
| BLAKE2b-256 |
c32a4f5123cc9089db0f0d5b63d8972dd79db295a93bdb53bc6678cb719d9436
|