feat: remove frontend configuration and API section from README files

This commit is contained in:
2026-03-06 17:44:50 +08:00
parent a7c726195c
commit 37693eb60a
2 changed files with 0 additions and 54 deletions

View File

@@ -283,14 +283,6 @@ ALIYUN_MODEL_VD=qwen3-tts-vd-realtime-2026-01-15
- Superuser can enable/disable local model access for all users - Superuser can enable/disable local model access for all users
- To obtain an Aliyun API key, visit the [Aliyun Console](https://dashscope.console.aliyun.com/) - To obtain an Aliyun API key, visit the [Aliyun Console](https://dashscope.console.aliyun.com/)
### Frontend Configuration
Frontend `.env`:
```env
VITE_API_URL=http://localhost:8000
```
## Usage ## Usage
### Switching Between Backends ### Switching Between Backends
@@ -311,25 +303,6 @@ VITE_API_URL=http://localhost:8000
4. The system will verify the key before saving 4. The system will verify the key before saving
5. You can delete the key anytime using the delete button 5. You can delete the key anytime using the delete button
## API
```
POST /auth/register - Register
POST /auth/token - Login
POST /tts/custom-voice - Custom voice (supports backend parameter)
POST /tts/voice-design - Voice design (supports backend parameter)
POST /tts/voice-clone - Voice cloning (supports backend parameter)
GET /jobs - Job list
GET /jobs/{id}/download - Download result
```
**Backend Parameter:**
All TTS endpoints support an optional `backend` parameter to specify the TTS backend:
- `backend: "local"` - Use local Qwen3-TTS model
- `backend: "aliyun"` - Use Aliyun TTS API
- If not specified, uses the user's default backend setting
## Acknowledgments ## Acknowledgments
This project is built upon the excellent work of the official [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) repository by the Qwen Team at Alibaba Cloud. Special thanks to the Qwen Team for open-sourcing such a powerful text-to-speech model. This project is built upon the excellent work of the official [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) repository by the Qwen Team at Alibaba Cloud. Special thanks to the Qwen Team for open-sourcing such a powerful text-to-speech model.

View File

@@ -283,14 +283,6 @@ ALIYUN_MODEL_VD=qwen3-tts-vd-realtime-2026-01-15
- 超级管理员可以控制是否为所有用户启用本地模型 - 超级管理员可以控制是否为所有用户启用本地模型
- 获取阿里云 API 密钥,请访问 [阿里云控制台](https://dashscope.console.aliyun.com/) - 获取阿里云 API 密钥,请访问 [阿里云控制台](https://dashscope.console.aliyun.com/)
### 前端配置
前端 `.env`
```env
VITE_API_URL=http://localhost:8000
```
## 使用说明 ## 使用说明
### 切换后端 ### 切换后端
@@ -311,25 +303,6 @@ VITE_API_URL=http://localhost:8000
4. 系统会在保存前验证密钥的有效性 4. 系统会在保存前验证密钥的有效性
5. 可随时使用删除按钮删除密钥 5. 可随时使用删除按钮删除密钥
## API
```
POST /auth/register - 注册
POST /auth/token - 登录
POST /tts/custom-voice - 自定义语音(支持 backend 参数)
POST /tts/voice-design - 语音设计(支持 backend 参数)
POST /tts/voice-clone - 语音克隆(支持 backend 参数)
GET /jobs - 任务列表
GET /jobs/{id}/download - 下载结果
```
**Backend 参数:**
所有 TTS 接口都支持可选的 `backend` 参数来指定使用的 TTS 后端:
- `backend: "local"` - 使用本地 Qwen3-TTS 模型
- `backend: "aliyun"` - 使用阿里云 TTS API
- 如果不指定,则使用用户的默认后端设置
## 特别鸣谢 ## 特别鸣谢
本项目基于阿里云 Qwen 团队开源的 [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) 官方仓库构建。特别感谢 Qwen 团队开源如此强大的文本转语音模型。 本项目基于阿里云 Qwen 团队开源的 [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) 官方仓库构建。特别感谢 Qwen 团队开源如此强大的文本转语音模型。