A TTS Wrapper for Naver Clova Speech Synthesis API
Project description
clovaTTS
clova-tts performs text-to-speech using Naver Clova Speech Synthesis API.
Installation
pip install clovaTTS
Quickstart
from clovaTTS import clovaTTS
# clovaTTS can save sound data in an internal cache and reuse it. cache_dir should exist.
# Default: use_cache=False
tts = clovaTTS("mijin", "<client_id>", "<client_secret>", use_cache=True, cache_dir="/home/ttscache")
# Input text (in Korean)
text = "그래요. 많은 분들이 저를 찾고 있지요."
# Perform Text-to-Speech
speech = tts.tts(text)
# Save the output into a file
tts.save("output.mp3", speech)
Contact
Any questions or assistance? Please contact me at minsu(at)etri.re.kr.
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
clovaTTS-0.1.2.tar.gz
(3.1 kB
view details)
File details
Details for the file clovaTTS-0.1.2.tar.gz
.
File metadata
- Download URL: clovaTTS-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b432989b41cb1983a3a1a948fd198e869950cbb73ac5976c99892c9a189167 |
|
MD5 | f6d407bb4d462b1c5ee05b3f07e90f89 |
|
BLAKE2b-256 | 0b5e77393e757e4fdba0c0a665e770bb4c8482eff6462455b67dcbc7de359d76 |