Skip to main content

Vachana TTS

VachanaTTS คือโมเดล Text-to-Speech (TTS) สำหรับภาษาไทย
สร้างเสียงพูดจากข้อความอย่างรวดเร็ว รองรับการใช้งานทั้ง CPU และ GPU ผ่าน onnxruntime

  • 🔥 สถาปัตยกรรม: VITS
  • ⚡ โค้ดหลักและการเทรน: PiperTTS

🚀 เริ่มต้นใช้งาน

ติดตั้ง

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
)

Metadata

Release files for vachanatts 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vachanatts 0.0.7
File Size Uploaded
vachanatts-0.0.7.tar.gz 6.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for vachanatts 0.0.7
File Interpreter ABI Platform
vachanatts-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 MB

Release files / vachanatts-0.0.7.tar.gz

Download URL vachanatts-0.0.7.tar.gz
Size 6.5 MB
Tags Source
SHA-256 checksum
How to use checksums
c5e203446242076d70e61d1ca109d721e0bb031824dc93fed3d182db67a80bad
BLAKE2b-256 checksum
How to use checksums
f253c64e7b9a71db53867f90f5a21ecca3655cd0a9ac70725d3fd988e59e004c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release files / vachanatts-0.0.7-py3-none-any.whl

Download URL vachanatts-0.0.7-py3-none-any.whl
Size 6.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
87244b82bc15711558ca5fd735379f3b77887ec655254c80ff6ad99c57686ad6
BLAKE2b-256 checksum
How to use checksums
e186896500e5ca2a063f2fde2a90cfa327083306b1fd3e8f5edcccb8bdfe0a3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page