# 沉浸式翻译

## 安装

* [Chrome 版](https://chrome.google.com/webstore/detail/immersive-translate/bpoadfkcbjbfhfodiogcnhhhpibjhbnh)
* [Firefox 版](https://addons.mozilla.org/zh-CN/firefox/addon/immersive-translate/)
* [Edge 版](https://microsoftedge.microsoft.com/addons/detail/amkbmndfnliijdhojkpoglbnaaahippg)
* [离线下载](https://www.123pan.com/s/oAHxjv-xrBiH.html)

> 离线版的插件文件当中，.crx结尾的文件是chrome版、.xpi结尾的是Firefox版

## 配置教程

1. 安装好后点击插件栏中沉浸式翻译的logo
2. 在弹出窗口中点击左下角设置
3. 进入设置页面后`翻译服务`选择`OpenAI`
4. 选择`自定义API Key`
5. `APIKEY`填写你在ocoolAPI获取到的Key，如果没有或者不会生成可以查看获取秘钥教程
6. `模型`按照自己喜好选择，如果没有你想要的模型可以选择自定义模型，模型名到价格页选择你想要的面抄过去就行
7. `每秒最大请求数`建议不要太高，否则容易触发限制，如果页面过长也可能会导致浏览器卡死
8. 点击`展开更多自定义选项`
9. `每秒请求最大文本长度`建议短一点，太长翻译速度会很慢
10. `每次请求最大段落数`同样建议不要太长，太长也可能会导致浏览器卡死
11. `自定义API接口地址`填`https://one.ooo.cool`或`https://one.ocoolai.com`
12. 其余保持默认或按自己需求设置


---

# 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://documentation.ocoolai.com/app_guides/plugins/cjsfy.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.
