Instructions to use Supertone/supertonic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Supertonic
How to use Supertone/supertonic with Supertonic:
from supertonic import TTS tts = TTS(auto_download=True) style = tts.get_voice_style(voice_name="M1") text = "The train delay was announced at 4:45 PM on Wed, Apr 3, 2024 due to track maintenance." wav, duration = tts.synthesize(text, voice_style=style) tts.save_audio(wav, "output.wav")
- Notebooks
- Google Colab
- Kaggle
Korean language support?
It looks like given onnx files have only english language support.
For korean language any support?
Hello! The current open-weight model supports English only. While we may consider additional languages in the future, there is no specific plan at this time.
The Korean language works with v2, but you have to manually load the model and use the example with the helper module. Now I'm waiting for the pip package to be updated to make installation easier for users.
Thanks for the question, and sorry for the delayed update.
Korean is supported in Supertonic 3 (and 2). The updated release expands language support to 31 languages, including Korean (ko), and the Python package can now download and use the updated model automatically.
You can install it with:
pip install supertonic
Example:
from supertonic import TTS
tts = TTS(auto_download=True)
style = tts.get_voice_style("M1")
wav, duration = tts.synthesize(
"νμλ κ³§ μμλκ³ λͺ¨λ μ‘°μ©ν μ리μ μμ λ£κ³ μμ΅λλ€.",
voice_style=style,
lang="ko",
)
tts.save_audio(wav, "korean.wav")
You can also try the updated release here:
Hugging Face demo: https://huggingface.co/spaces/Supertone/supertonic-3
Model: https://huggingface.co/Supertone/supertonic-3
GitHub: https://github.com/supertone-inc/supertonic