Skip to content

Do you want your text to "speak" in a natural and realistic voice that rivals a real person? Microsoft Edge browser's built-in "Read Aloud" feature can do just that! It supports dozens of languages and multiple voice options, and the key is that it's completely free.

Based on this feature, the open-source project edge-tts is also very popular, and many free text-to-speech tools are developed based on it. However, as the number of users increases, Microsoft has limited the number of dubbing requests. Now, even slightly higher usage can lead to a 403 error, making it impossible to continue synthesizing speech.

How to Avoid or Reduce 403 Errors?

Since this is an API service provided by Microsoft, not an open-source project, local deployment is not feasible. In any case, speech synthesis must connect to Microsoft's servers.

  1. Deploy to Cloudflare: This can reduce the frequency of 403 errors, but it cannot be completely avoided.

  2. Use a Dynamic IP Proxy: Automatically change the IP every few minutes, which can effectively avoid 403 errors. Stability depends on the quality of the dynamic IP. If the dynamic IP has a reliability of 97%, then the availability of edge-tts can also reach 97%.

    • This seems to be the best solution currently. Of course, high-quality dynamic IP proxy services usually require payment. Free proxies are often of poor quality and cannot meet the needs.

So, how do you configure a dynamic IP proxy, and which services are worth recommending?

Dynamic IPs cannot guarantee 100% availability, and the actual availability may only be 85%-95%

Here, I'll take Proxy302, which I've personally used, as an example. It provides foreign residential IPs, which switch approximately every 5 minutes, and is billed by traffic (USD 1.5/GB).

Here are the detailed opening and usage steps:

I. Register an Account

  1. Visit 302AI to register an account. This account and balance are common to Proxy302. The reason for recommending registration from 302AI is that its minimum recharge amount is USD 5, while Proxy302's minimum recharge amount is USD 20. For first-time attempts, it is recommended to recharge a small amount first to reduce risk.

  2. Open this link to register: https://gpt302.saaslink.net/teRK8Y Register an account using your email and complete email verification.

  3. Recharge your balance: Recharge as shown in the figure below, with a minimum recharge of USD 5.

image.png

II. Log in to Proxy302.com

After recharging, log in to https://dash.proxy302.com/login using the same account and password.

After logging in, you can see the balance.

image.png

III. Create a Dynamic IP Proxy Address

  1. Click Dynamic IP (Short-Term) --> Pay-as-you-go on the left navigation bar as shown in the figure above.

  2. Then click General Proxy Generation --> Generate General Proxy in turn, as shown in the figure below.

image.png

  1. After generation, you can see the newly generated proxy address in Existing Proxy --> Purchased Proxy below. Click the help button behind the address, set the country to which the proxy IP belongs, and copy the proxy address.

image.png

  1. As shown in the figure below, select United States (US) in the country, click to generate a random Session, and copy the address at the bottom.

Important Note: Be sure to click the help button to copy the proxy address each time you need to copy it.

image.png

IV. Apply the Proxy Address to Video Translation Software

First, you must upgrade the video translation software to version v3.50.

  1. In the same directory as pyVideoTrans video translation software's sp.exe (if it is a source code deployment, then in the directory where sp.py is located), create a plain text file named edgetts.txt.

  2. Paste the proxy address copied in the previous step into the edgetts.txt file and save it, as shown in the figure below.

image.png

Now, you can try using edge-tts for speech synthesis.

Billed according to traffic, it is roughly estimated that 1 RMB can synthesize 3-5 hours of speech (if the error is retried, the cost will increase. Please test the actual cost yourself, this is for reference only)