Baidu Translate API
1. Apply for Baidu Translate API
Open the Baidu Translate API console: https://fanyi-api.baidu.com/api/trans/product/desktop. If you are not logged in, you will be redirected to the registration/login page. Please log in and reopen the link.
After opening the page, click on "Activate Translation and Other Services".
If you haven't applied before, click on "General Text Translation" and then click "Next" at the bottom.
On the next page, fill in the relevant information. Important: Do not fill in the "Server Address". Otherwise, the API can only be called from the IP address you specified. Once your IP changes or you change your computer, the interface will report an error. This is a common problem for many users of the Baidu Translate API, the account is fine, but it reports an "Unauthorized" error.
After the application is approved, return to the management console. Scroll to the bottom to see your APP ID and Secret Key.
Fill them in where needed.
2. Fill in the software settings. In the upper left corner, find the settings menu - Baidu Translate Settings, and fill in the corresponding APPID and Secret Key.
3. Free Tier
From August 1, 2022, the free quota for the Baidu General Translation API Standard Edition is adjusted to 50,000 characters/month, and the free quota for the Advanced Edition is adjusted to 1 million characters/month.
As you can see, Baidu's free quota is very low and basically not enough. If you want to use it heavily, you need to pay to upgrade.
Compared to Baidu, Tencent Translate offers a much more generous free quota of 5 million characters per month.
Precautions:
Most AI translation channels may limit the number of requests per minute. If you encounter an error message indicating that you have exceeded the request frequency, you can set a pause time in the software via Menu -- Tools/Advanced Settings -- Advanced Settings/set.ini -- Pause time after translation
, for example, 30, which means waiting for 30 seconds after each translation before performing the next translation to avoid exceeding the limit frequency and causing an error.