> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yelinai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 沉浸式翻译 配置指南

> 在沉浸式翻译插件里配置 OpenAI 兼容接口，接入 YeLin AI。

<Info>
  你只需要 base URL 和 **API key**。
  base URL 固定为 `https://api.yelinai.com/v1`。
</Info>

## 你先准备什么

1. 你在 **Console** 创建 **API key**。
2. 你已安装沉浸式翻译插件。

## 配置步骤

1. 打开插件的 **Settings**。
2. 选择 **OpenAI** 或 **Custom** 提供商。
3. 填入以下参数。

| 字段       | 你要填什么                        |
| -------- | ---------------------------- |
| Base URL | `https://api.yelinai.com/v1` |
| API key  | 你在 **Console** 复制的 key       |
| Model    | 例如 `gpt-4o-mini`             |

## 验证

你打开一个网页并开启翻译。
你能看到翻译结果就说明成功。
