Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page