Skip to main content

Vanira TTS

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

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

ติดตั้ง

pip install vaniratts

การใช้งาน

from VaniraTTS import VaniraTTS

tts = VaniraTTS()
text = "สวัสดีครับ/ค่ะ นี่คือเสียงพูดภาษาไทย"

# เสียงพูดที่รองรับ 
# - 1: เสียงผู้หญิง 1
# - 2: เสียงผู้หญิง 2
# - 3: เสียงผู้ชาย 1
# - 4: เสียงผู้ชาย 2

tts.infer(text,
    speaker=1, # 1-4
    output="output.wav",
    volume=1.0,
    speed=1.0
)

Metadata

Release files for vaniratts 0.0.3

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

Source distribution (sdist)

Source distribution for vaniratts 0.0.3
File Size Uploaded
vaniratts-0.0.3.tar.gz 118.3 kB Details

Built distribution (wheel)

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

Total release size: 240.3 kB

Release files / vaniratts-0.0.3.tar.gz

Download URL vaniratts-0.0.3.tar.gz
Size 118.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ac3f8d6144c268d510a4dc2057f855af7c70e5e0e522baaf24dcc2ee851dfac9
BLAKE2b-256 checksum
How to use checksums
51da60dbb75264ead4ec220a858dc2375eb62a74a8ab5e958246eb1e285afff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release files / vaniratts-0.0.3-py3-none-any.whl

Download URL vaniratts-0.0.3-py3-none-any.whl
Size 122.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b49b9eafef7d60f32059375a4be24531f62c88bb50a6e0fd9cb5fc9ba2bdeeba
BLAKE2b-256 checksum
How to use checksums
7969d98a960691739afebed4193b738be9adf2b0a413e624b1aa55c92956b15e
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.3 This release

2 release files

0.0.2

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