Skip to content

karapeng/ttsStt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttsStt — 语音对话机器人(Web + 百炼 STT/TTS + 可切换对话后端)

基于浏览器的按轮语音对话示例:语音识别与合成走阿里云百炼;对话层使用 OpenAI 兼容 HTTP,可接百炼 Qwen 或本机 OpenClaw Gateway。

快速开始

npm install
cp .env.example .env   # 编辑填入密钥与模型
npm run dev

浏览器打开 http://localhost:5173。首次使用请在页面完成声音复刻后再进行语音对话。

文档

技术栈

Vite + React(前端)· Fastify + TypeScript(后端)· 百炼 Fun-ASR / Qwen TTS VC / 声音复刻 · ffmpeg 音频预处理

推送到 GitHub

本地已 git init 并完成首次提交(main 分支)。本机未安装 gh CLI,需你在 GitHub 网页创建仓库后自行关联远程并推送:

  1. 打开 github.com/new,新建仓库(不要勾选 “Add a README”,避免与本地冲突)。
  2. 在项目根目录执行(把 URL 换成你的仓库地址):
cd g:\project\0001_AI\ttsStt
git remote add origin https://github.com/你的用户名/仓库名.git
git push -u origin main

若使用 SSH:git remote add origin git@github.com:你的用户名/仓库名.git

推送前请确认 .env 未入库(已在 .gitignore 中);切勿将 API Key 提交到 GitHub。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors