Skip to content

Click to view using domestic AI models instead of OpenAI ChatGPT

Using the Official OpenAI ChatGPT API

If you have a free account, you also have free API usage rights. However, this free API is very limited, allowing only a few requests per minute, making it easy to exceed the limit and fail. Of course, if you don't mind and insist on using it, you can.

1. Open this page: https://platform.openai.com. In the upper right corner, click "Log in" to log in.

2. After logging in, click the "lock icon" on the left to view API information.

3. Then, on the right, click "Create new secret key" to create a secret key (SK).

4. You may need to pass a CAPTCHA to verify that you are human. After that, a text box for creating the secret key will pop up. This key is the information you need to fill in the software. It is only displayed once here. Once you close the pop-up window, you will not be able to see it again. You need to copy it immediately.

Okay, that's it. You can now fill it in and use it in third-party software.

5. Using it in video translation and dubbing software: Click the Settings menu - OpenAI/ChatGPT in the upper left corner. Fill in the secret key you copied in the SK field, keep the other settings as default. When using an official OpenAI account, there is no need to fill in the "API URL"; leave it blank and then save.

Although a free ChatGPT account can use the API, it is limited to only 3 requests per minute. Once the limit is exceeded, various errors will occur, resulting in a very poor user experience. To use a paid account, you must have a foreign credit card, which has a high barrier to entry. Fortunately, there are many domestic relay API services where you can directly purchase and fill in the secret key and API URL address provided by the third party.

Using a Third-Party Relay ChatGPT API Service

There are many third-party relay services, but they vary in quality and have the risk of disappearing. Therefore, no specific recommendations are made here. Please find and choose one yourself. This section only describes how to use their API address and fill in the secret key.

1. For example, if you have already purchased a third-party API, find the location of the secret key, create it, and copy it.

  1. Paste the copied key into the SK text box of the video translation and dubbing software.

3. Note that when using a third-party relay API, you must correctly fill in the "API URL." This API URL is provided by the third party and is written in their documentation or directly ask their customer service.

For example, the third-party API I use provides these API URLs on the page. After local testing, I chose to copy the fastest one and fill it in the text box after the "API URL" in the software.

  1. The effect after filling in is as follows:

Regardless of which third-party API service you use, it is similar. The most important things are these two pieces of information: one is the key (i.e., SK or secret key), and the other is the third party's API URL address.

Similarly, if you want to fill it in "Immersive Translate", the filling method is the same. "APIKEY" corresponds to the key, and "Custom API interface address" corresponds to the API URL address. However, you need to add /v1/chat/completions after its address, that is, the API address in "Immersive Translate" is third-party API address/v1/chat/completions.

Precautions:

  1. 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 click "Translation Channel ↓" on the software's main interface. In the pop-up window, change the pause seconds to 10, which means waiting for 10 seconds after each translation before initiating the next translation request, with a maximum of 6 times per minute, to prevent exceeding the frequency limit.

  2. If the selected model is not intelligent enough, especially local deployment models are limited by hardware resources and are usually smaller, it may not be able to accurately return translations that meet the required format according to the instructions. There may be too many blank lines in the translation results. At this time, you can try using a larger model or open Menu--Tools/Options--Advanced Options--Send complete subtitle content when using AI translation, and uncheck it.