diff --git a/src/edge_tts/constants.py b/src/edge_tts/constants.py index e31823e..ab62b28 100644 --- a/src/edge_tts/constants.py +++ b/src/edge_tts/constants.py @@ -2,8 +2,8 @@ Constants for the Edge TTS project. """ +BASE_URL = "speech.platform.bing.com/consumer/speech/synthesize/readaloud" TRUSTED_CLIENT_TOKEN = "6A5AA1D4EAFF4E9FB37E23D68491D6F4" -BASE_URL = "speech.platform.bing.com/consumer/speech/synthesize" -WSS_URL = f"wss://{BASE_URL}/readaloud/edge/v1?TrustedClientToken={TRUSTED_CLIENT_TOKEN}" -VOICE_LIST = f"https://{BASE_URL}/readaloud/voices/list?trustedclienttoken={TRUSTED_CLIENT_TOKEN}" +WSS_URL = f"wss://{BASE_URL}/edge/v1?TrustedClientToken={TRUSTED_CLIENT_TOKEN}" +VOICE_LIST = f"https://{BASE_URL}/voices/list?trustedclienttoken={TRUSTED_CLIENT_TOKEN}"