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 and login page. Please log in and reopen the page.
After opening the page, click "Activate other translation services".
If you have not applied before, click "General Text Translation", and then click "Next" at the bottom.
On the next page, fill in the relevant information. Note: Do not fill in the "Server Address" field. Otherwise, the API can only be called from the IP address you filled in. Once your IP changes or you change computers, the interface will report an error. This is a common problem encountered by many people using 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. Top left corner settings menu - Baidu Translation Settings, fill in the APPID and Secret Key accordingly.
3. Free Quota
From August 1, 2022, the free call volume of the Baidu General Translation API Standard Edition will be adjusted to 50,000 characters/month, and the free call volume of the Advanced Edition will be 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 Translation provides a free quota of up to 5 million characters per month.
Precautions:
Most AI translation channels may limit the number of requests per minute. If an error message indicates that the request frequency is exceeded, you can set a delay in the software Menu--Tools/Advanced Settings--Advanced Settings/set.ini--Pause time after translation
, such as 30, which means wait 30 seconds after each translation before performing the next translation to avoid exceeding the limit frequency error.