
git clone https://github.com/dangvansam/viet-tts.git▶️ Usage summary
- Install:
git clone https://github.com/dangvansam/viet-tts.git - Command Line Interface (CLI):
# Usage - You need to set environment variables for the OpenAI Client:
# Set base_url and API key as environment variables - To create speech from input text:
from pathlib import Path - CURL:
# Get all built-in voices - Node:
import fs from "fs";
viet-tts — An open-source Vietnamese TTS toolkit with natural-sounding speech and solid voice cloning from a single audio sample.
What is viet-tts?
viet-tts is an open-source app on GitHub (dangvansam/viet-tts). An open-source Vietnamese TTS toolkit with natural-sounding speech and solid voice cloning from a single audio sample.
What can viet-tts do?
- Text-to-speech in any voice from a single audio sample
- Compatible with the OpenAI text-to-speech API format
How to install viet-tts
See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.
Frequently asked questions about viet-tts
Is viet-tts free?
Yes. viet-tts is an open-source project on GitHub, so you can download and use it for free.
Is viet-tts hard to install?
No. You only need to run one command above.
Download & source code
The source code, README and latest updates of viet-tts are at github.com/dangvansam/viet-tts. The star count and update date on this page sync automatically from GitHub.
📖 Full guide
Loading the guide…