Skip to main content

SuperTTS

Star the repository if this was useful. ⭐️

PyPI version Downloads Downloads Downloads

GitHub license

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

  • Google

License

MIT

Author

Aman | X (Twitter)

Enjoy using SuperTTS! 🚀

Metadata

Release files for supertts 0.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supertts 0.0.19
File Size Uploaded Provenance Actions
supertts-0.0.19.tar.gz 6.5 kB Without provenance Details for supertts-0.0.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for supertts 0.0.19
File Interpreter ABI Platform Actions
supertts-0.0.19-py3-none-any.whl Python 3 none any Details for supertts-0.0.19-py3-none-any.whl

Total release size: 15.0 kB

Release files / supertts-0.0.19.tar.gz

Download URL supertts-0.0.19.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bed7f69db3d056bb9cd0dae5041079f6671972f28bc8ae262ffca7ed21a7942c
BLAKE2b-256 checksum
How to use checksums
57472cb64abf6a6b14143f86e6835237cea4f9a95ab98194339f36b3eb52448b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / supertts-0.0.19-py3-none-any.whl

Download URL supertts-0.0.19-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e9232c0161f55ec39fd326c1c3cc82b63d4ab270eed577629de75b43e528e02
BLAKE2b-256 checksum
How to use checksums
c32a4f5123cc9089db0f0d5b63d8972dd79db295a93bdb53bc6678cb719d9436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Security for supertts 0.0.19

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page