feat: remove frontend configuration and API section from README files
This commit is contained in:
27
README.md
27
README.md
@@ -283,14 +283,6 @@ ALIYUN_MODEL_VD=qwen3-tts-vd-realtime-2026-01-15
|
||||
- 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/)
|
||||
|
||||
### Frontend Configuration
|
||||
|
||||
Frontend `.env`:
|
||||
|
||||
```env
|
||||
VITE_API_URL=http://localhost:8000
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Switching Between Backends
|
||||
@@ -311,25 +303,6 @@ VITE_API_URL=http://localhost:8000
|
||||
4. The system will verify the key before saving
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user