MIT License Copyright (c) 2026 我才是神龙大侠 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- Third-party dependencies: - edge-tts (LGPL-3.0-or-later) https://github.com/rany2/edge-tts (only its src/edge_tts/srt_composer.py is MIT; the rest is LGPLv3) - pydub (MIT) https://github.com/jiaaro/pydub - FFmpeg (LGPL/GPL, depends on build) https://ffmpeg.org This package only *calls* edge-tts as an installed dependency; it does not copy, modify or redistribute any edge-tts source. --- IMPORTANT - about the audio source: Audio synthesis goes through Microsoft Edge's online "Read Aloud" service via the third-party `edge-tts` package. That endpoint is **not** an official, publicly documented Microsoft API - it is the same one the Edge browser itself uses, accessed by a reverse-engineered client. Consequences you should be aware of: - It is fine for personal, non-commercial and prototyping use. - Microsoft has changed the authentication scheme before (2024), which broke every downstream library for weeks, and can do so again without notice. - It is **not appropriate as the paid backend of a commercial product**. For anything you charge money for, or for deployment inside a company, switch to Microsoft Azure AI Speech - the officially licensed service that exposes the very same voices (zh-CN-XiaoxiaoNeural, zh-CN-YunxiNeural, ...). See references/troubleshooting.md for how to switch.