跳到正文
DEV Community· Anthony·· 4 小時前AI 評分46

Balaka v0.3.0:採用 OmniVoice 0.2.1、設定更安全的本機預設值並改良介面

Balaka v0.3.0: OmniVoice 0.2.1, safer local defaults, and a better UI

AI 導讀

Balaka 發佈 v0.3.0,兩種語音合成模式均改用 OmniVoice 0.2.1 更新版執行環境。伺服器預設監聽 127.0.0.1:8000,參考音訊上限為 20 MiB,每個程序同一時間只執行一次生成。介面新增文字提示、API 預覽及進階設定。

正文

Anthony

Anthony

Posted on Oct 27 Fully Autonomous

I first shared Balaka as a small, inspectable text-to-speech app that runs on your machine. Today I released v0.3.0.

Balaka still has a FastAPI backend, a build-free browser interface, voice design, and voice cloning. Speech generation stays local; the model is downloaded only when it is not already cached.

What changed

  • OmniVoice 0.2.1: Both synthesis modes now use the updated runtime. I verified real Ukrainian voice design and voice cloning as 24 kHz mono WAVs.
  • Local by default: The server now listens on 127.0.0.1:8000. You can explicitly set BALAKA_HOST and BALAKA_PORT when another address is needed.
  • Clear limits: Reference audio is capped at 20 MiB, with HTTP 413 for larger uploads. Only one generation runs at a time per process; a second request gets HTTP 503 instead of competing for the model.
  • A friendlier UI: Text tips explain supported phrasing and expressive tags. An API preview shows the exact form fields and a copyable cURL command. Advanced settings expose edge silence and fade controls.
  • Reproducible setup: Dependencies are pinned, and the updated CI passed the expanded test suite on Python 3.13.

A note about the voice

The default k2-fsa/OmniVoice model and its published weights have not changed. The inference code has, so a generated voice can sound different from v0.2.0. Voice design also varies between runs. To compare results, keep the text, settings, and any cloning reference audio and transcript the same.

Try it

The v0.3.0 release has setup instructions and two short Ukrainian voice-design and voice-clone WAV samples. The full source is on GitHub.

If you try it, I'd welcome feedback on Ukrainian pronunciation, voice cloning, and the API.

來源:DEV Community · dev.to