# 有道翻译

{% hint style="success" %}
有道翻译：<https://ai.youdao.com/product-fanyi-text.s>
{% endhint %}

### 登录 & 注册开发者

* 打开有道智云-文本翻译
* 点击右上角登录，使用个人的有道账号登录（若无，则自行注册）
* 登录后，有道云会赠送 50 元代金券（不定期活动）

### 开通翻译服务

* 登录后在「业务总览」中部点击「创建应用」
* 在应用信息页面按照后面填写模板填写。
* 此处信息有 3 项内容必填：文本翻译、语音合成、API 接入方式（建议也一起勾选文本识别）
* 填写完成后，点击确认即可。

![](/files/lKTSpO0cvbHt905dw96D)

### 获取并设置 API

完成翻译服务开通后，在左边导航栏点击「应用总览」，就可以看到有道翻译的 API 信息了。

![](/files/xe1gzdD6U08kqv7XslA0)

在 HapiGo 的翻译设置中，选择「自定义」，然后点击 + 添加有道翻译。在弹出的对话框中填入上图「APP ID」及「密钥」，点击完成后即可。

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

### 增加朗读语言

倘若你在上面的设置中忘记勾选「语音合成」权限，那么有道翻译提供的单词朗读功能将不能使用。此时，你需要登录到有道智云管理后台重新勾选。

左侧导航定位到「应用总览」，右边区域找到你的应用并点击修改。在此修改界面上勾选智能语音服务-语音合成，然后确定保存。

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


---

# 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/youdao.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.
