# trywake-tts **Repository Path**: forests/trywake-tts ## Basic Information - **Project Name**: trywake-tts - **Description**: 在线TTS工具,文本生成语音文件 - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://trywake.com/tts 或 https://chenxianlin.com/tts - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-19 - **Last Updated**: 2024-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue, Python ## README # trywake-tts ### 前置条件 ```python pip install edge-tts pip install fastapi pip install uvicorn ``` #### 介绍 基于微软开源edge-tts在线TTS工具,文本生成语音文件后可下载,也可批量打包下载 ### 技术栈 python3.11 + vue3 + fastapi + uvicorn + edge-tts ### 目录说明 tts-ui为前端UI项目,主要注意App.vue的baseUrl路径配置以及vite.config.ts里的base前端资源路径配置,打包后部署到templates目录下即可; static目录下存储的是转换后的语音文件 #### 运行 ```shell uvicorn main:app --reload ``` ![主页演示](images/image.png) ##### 如果这个小工具帮上您的忙了,我不介意您请我喝杯茶的 ^_^! 小小鼓励