Skip to content

A simple python wrapper for Naver Clova Speech Synthesis API

License

Notifications You must be signed in to change notification settings

zebehn/clovaTTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple python wrapper for Naver Clova Speech Synthesis API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages