rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
5.45k stars 556 forks source link

Integrate into other software like Dify #262

Open taowang1993 opened 3 days ago

taowang1993 commented 3 days ago

I want to integrate edge-tts into Dify, but I am not sure if the license allows that.

Furthermore, will that violate Microsoft's terms?

WillJDunn commented 3 days ago

edge-tts itself uses the GPL V3 license, so you are not allowed to include it in projects with a more permissible license such as Dify's Apache 2.0. If edge-tts were to be used as part of Dify, Dify would also need to be licensed under GPL V3.

Though as a workaround, I think you should be able to host the GPL V3 project, such as edge-tts, as its own Microservice and make API calls to it and only that microservice must be GPL3 V3.

If you require corporate licenses, you might consider the TTS service provided officially by Microsoft: Pricing API Quickstart