Skip to content

Baidu Translate API

1. Applying for the Baidu Translate API

Open the Baidu Translate API console: https://fanyi-api.baidu.com/api/trans/product/desktop. If you haven't logged in, you will be redirected to the registration and login page. Please log in and reopen the page.

After opening the page, click "Enable other translation services".

If you haven't applied before, click "General Text Translation", then click "Next" at the bottom.

On the next page, fill in the relevant information. Note: Do not fill in the "Server Address", otherwise it can only be called on the IP address you filled in. Once your IP changes or you change computers, the interface will report an error. This is a problem many people encounter when 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 and 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 corresponding APPID and Secret Key.

3. Free Quota

Starting August 1, 2022, the free call volume for the Baidu General Translation API Standard Edition has been adjusted to 50,000 characters/month, and the Advanced Edition to 1 million characters/month.

As you can see, the free quota provided by Baidu is very low and basically insufficient. For heavy use, you need to pay for an upgrade.

Compared to Baidu, Tencent Translate's free quota is as high as 5 million characters per month.

Notes:

Most AI translation channels may limit the number of requests per minute. If an error message indicates exceeding the request frequency, you can set a number of seconds through the software Menu -- Tools/Advanced Settings -- Advanced Settings/set.ini -- Pause time after translation, such as 30, meaning that after each translation, wait 30s before the next translation to avoid exceeding the limit frequency and reporting errors.

image.png