OpenGithubs / OpenGithubs/weekly

【开源自荐】TTS-API:开箱即用的流式双引擎 TTS(UI + REST/WebSocket)

Open
#133 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1.7k
Forks
71
PR merge metrics
No merged PRs in 30d

Description

1). 项目名称:TTS-API

2). 项目地址:https://github.com/babutree/TTS-API

3). 项目简介:
开箱即用的流式文字转语音服务:一条 docker compose up 即可得到开箱即用的界面与 API 接口。本机 Kokoro(CPU、可离线)+ 微软 Edge 云端音色;支持中英 Auto 路由、Markdown 清理、REST 流式 MP3 与 WebSocket PCM。

4). 推荐原因:

  • 开箱即用:Docker 一键起,打开 /index.html 就能粘贴文本朗读;默认示例含 Markdown,方便体验「标记不读出」。
  • 人机两用:页面给用户,REST POST /api/tts(MP3)与 /ws/tts(24kHz PCM)给扩展/脚本/后端;/api 自带交互测试器。
  • 双引擎分工:Kokoro 本地免费离线;Edge 自然在线(含普通话/方言/粤语/台湾等)。
  • 中英混排友好:UI Auto 按句切到对应语言的音色,无需手切段落。
  • 部署可控:CPU-only,可选 API Key、超时/并发闸门、健康检查,适合VPS与局域网部署。

5). 项目图片:

Image Image

分类:语音合成 / TTS / 自托管 / Docker / API / 效率工具

Browser (index.html)
  |  WebSocket /ws/tts  → PCM 流式播放
  |  REST  POST /api/tts → MP3 流
  v
FastAPI:Kokoro(本机) + Edge(云端) + ffmpeg

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no target file, test, or entry point; it is a project recommendation rather than a defined change. First inspect the weekly repository’s contribution guidance and how project submissions are represented. Done would require a maintainer-confirmed location and format for adding this TTS-API entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, fastapi, html
Domain
content
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.