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.16.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for supertts-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddeaac41c73f8a3459d66bfe78afb8ec4454be0320bd09844b4c5ca83b8c9dcd |
|
MD5 | f8f0c5b8f00a4e232cad6902920b45d8 |
|
BLAKE2b-256 | 75ed6b3d6f6dd2c73717684ed813e3d240b0651f6d155619bf6906b837cab7c2 |