個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Pure Rust implementation of GPT-SoVITS
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Turn GPT-SoVITS voices into a local HTTP service, without a Python runtime.
For people who already use GPT-SoVITS and want their assistant or application to speak with a configured voice. Conversion and inference run in Rust. Training stays in upstream GPT-SoVITS.
Try it | Listen | 中文上手 | Use your models | API
Listen to Sun / download the generated WAV:
你好,欢迎回来。今天有什么想和我聊聊的吗?
Actual CPU inference with the maintainer's local Sun v2Pro + SV voice. Only generated audio is shared, not the model, SV embedding, or reference. Settings and provenance. This short example is not a quality or speed benchmark; long text can still lose words. There is also a service confirmation sample and a browser listening page. The downloadable first-run demo below uses standard v2 weights, not Sun.
Linux x86_64, Docker Engine + Compose v2, Bash, curl, and SHA-256 tools. Allow at least 6 GiB free disk and 4 GiB available memory. Downloads are about 1.1 GB plus the container; conversion and the first model load take time. No Rust, Python, API key, or GPU is needed for this CPU demo.
The script downloads weights directly from their publisher, verifies checksums, converts all four models inside the published 1.2.1 image, and checks the setup. Read what it downloads and the script before running it. Model licenses remain separate from this project's MIT license.
git clone https://github.com/ricardomlee/gpt-sovits-rs.git
cd gpt-sovits-rs
bash examples/first-run/prepare.sh "$HOME/gpt-sovits-demo"
cd "$HOME/gpt-sovits-demo"
docker compose up -d --wait --wait-timeout 900
curl --fail-with-body --max-time 300 http://127.0.0.1:9881/tts \
-H 'Content-Type: application/json' --data-binary @request.json \
--output first.wav
Play first.wav with your usual audio player. The demo uses its own directory,
Compose project, and localhost-only port 9881, without changing a service on 9880.
Stop it with docker compose down in the demo directory; downloaded files stay there.
If preparation is interrupted, rerun the same command: verified downloads are reused.
Use a new directory, not an existing models or deployment directory.
Already have weights or use another platform?
| Your setup | Start here |
|---|---|
| Your own v2 / v2Pro voice | Conversion and SV requirements, then deployment |
| NVIDIA GPU | CUDA images and architecture tags |
| Linux / macOS without Docker | Download binaries, then binary setup |
| ARM Linux / NAS | Build from source; Docker images are currently amd64 |
Once a voice is configured, send only its name and the text:
curl --fail-with-body http://127.0.0.1:9881/tts \
-H 'Content-Type: application/json' \
-d '{"voice":"demo","text":"The backup is complete."}' --output reply.wav
An OpenAI-compatible speech endpoint, sentence streaming, and multiple voice profiles are also available. For an LLM assistant, submit completed short sentences in order; agent integration covers playback and errors. The service is not an authenticated public API.
If the first request fails, check docker compose logs --tail 100 in the demo directory.
First-run troubleshooting covers downloads, memory, ports,
and readiness. Tell us where you got stuck, or what worked.
Do not attach private models, recordings, or credentials.
Deployment | API | Development | Product goal
Code: MIT. Models keep their publishers' licenses. The public sample has separate provenance. Built on GPT-SoVITS and Hugging Face Candle.