metadata
license: mit
language:
- th
pipeline_tag: text-to-speech
Vachana TTS
VachanaTTS คือโมเดล Text-to-Speech (TTS) สำหรับภาษาไทย
สร้างเสียงพูดจากข้อความอย่างรวดเร็ว รองรับการใช้งานทั้ง CPU และ GPU ผ่าน onnxruntime
🚀 เริ่มต้นใช้งาน
ติดตั้ง
pip install vachanatts
การใช้งาน
from vachanatts import TTS
text = "สวัสดีครับ/ค่ะ นี่คือเสียงพูดภาษาไทย"
# เสียงพูดที่รองรับ th_f_1, th_m_1, th_f_2, th_m_2
TTS(text,
voice="th_f_1",
output="output.wav",
volume=1.0,
speed=1.0
)