> For the complete documentation index, see [llms.txt](https://docs-cn.hapigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-cn.hapigo.com/extention/translate/addtranslate/deepl-1.md).

# ChatGPT 翻译

{% hint style="warning" %}
ChatGPT 未在中国大陆开通服务。这意味着：你必须要具备访问海外服务的网络环境、能接收短信的海外电话或虚拟服务才能注册 ChatGPT​，具备海外开办的信用卡（虚拟海外信用卡可能导致 Plus 封禁）或相关支付方式才能开通 Plus 服务。

基于此项原因，请大家自行搜索注册方法，本文不提供相关指导。
{% endhint %}

{% hint style="success" %}
ChatGPT 翻译：<https://platform.openai.com/overview>
{% endhint %}

### 获取并设置 API Key

假设你已经成功注册 ChatGPT，打开上面链接，点击右上角的 Login 按钮登录。

登录成功后，点击右上角头像，在下拉菜单中点击「View API Keys」。在这里，你可以查看或创建 API key。如果创建新 Key，请自行复制保存，后续无法再次复制。

获取 API key 后，进入 HapiGo 设置 - 翻译与 OCR。在下方设置中选择自定义翻译服务，然后通过右下方的 + 号按钮添加 ChatGPT 翻译服务。在对话框中输入 API Key 即可。

<figure><img src="/files/iGXmjKlGTIT3isSRcUFa" alt=""><figcaption></figcaption></figure>
