# DeepL 翻译

{% hint style="warning" %}
DeepL 仅在美国、加拿大、日本及欧洲大部分国家提供 Pro 服务。这意味着，你只有使用以上国家办理的信用卡及地址才能成功订阅免费或付费的 Pro 服务。​
{% endhint %}

{% hint style="success" %}
DeepL 翻译：<https://www.deepl.com/zh/pro#developer>
{% endhint %}

### 注册 & 登录

如果你具备开头所说的海外信用卡及地址，那么就可以打开上面链接注册 DeepL 账户了。

点击「DeepL API Free」计划栏的免费注册，后续按照引导填写相关信息。

![](/files/h1hTjIHALZc2M8sGeYHg)

### 获取并设置 API

注册并订阅免费计划成功后，就可以点击右上角登录邮箱处，进入我的账户。在「账户」标签的最下方就可以看到 DeepL 的 API Key 了。**请注意，这个 Key 只要注册了账户就会有，但是只有订阅了免费或付费计划后才能使用。​**

![打开我的账户，滚动到最下方](/files/C72CkciOVnBKagBxvmv6)

![](/files/mioieNvSJ0dVrISJNrae)

在 HapiGo 的翻译设置中，选择「自定义」，然后点击 + 添加 DeepL 翻译。在弹出的对话框中填入上图「API Key」，点击完成后即可。

需要注意的是：DeepL 的 API 分为免费版和付费版，两者不能互通。所以，在填写 API Key 时，请根据自己的账号，选择对应的 API。

![设置 API 密钥](/files/MiQiGzehxWNHBRlrZFTK)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.hapigo.com/extention/translate/addtranslate/deepl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
