Documentation Index
Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
Use this file to discover all available pages before exploring further.
沉浸式翻译 是一款浏览器翻译扩展,支持网页双语对照显示。通过接入 DeerAPI,可使用 GPT、DeepSeek 等大模型提升翻译质量。
准备工作
获取 DeerAPI API Key
登录 DeerAPI,进入 API Key 页面,点击「添加 API Key」,获取:
- API Key:
<DEERAPI_KEY>
- Base URL:
https://api.deerapi.com
API 配置
打开扩展设置
右键点击沉浸式翻译图标,进入扩展设置,定位至「翻译服务」选项。
添加 OpenAI 兼容服务
点击「添加 OpenAI 兼容服务」,填写:
- API 地址:
https://api.deerapi.com/v1/chat/completions
- API Key:粘贴你的
<DEERAPI_KEY>
调用测试
点击「测试服务」,若验证成功,说明配置正确。
可在设置页面添加自定义模型,填入当前模型 ID 后即可按需切换。