docs: make English the default docs language and fix link paths

This commit is contained in:
zhayujie
2026-05-31 17:52:22 +08:00
parent 126649f70f
commit 7bf4ef3d05
231 changed files with 8999 additions and 8974 deletions

View File

@@ -1,15 +1,15 @@
---
title: LinkAI
description: 通过 LinkAI 平台统一接入文本、视觉、图像、语音与向量能力
description: Access text, vision, image, speech, and embedding capabilities through the LinkAI platform
---
通过一份 `linkai_api_key` 即可访问 OpenAIClaudeGeminiDeepSeekMiniMaxQwenKimi、豆包 等主流厂商的全部能力。
A single `linkai_api_key` gives you access to all capabilities of mainstream vendors such as OpenAI, Claude, Gemini, DeepSeek, MiniMax, Qwen, Kimi, and Doubao.
<Tip>
通过 Web 控制台的「模型管理」页面可一站式配置以下全部能力,无需手动改配置文件。
All capabilities below can be configured in one place via the "Model Management" page in the Web Console, with no need to manually edit the configuration file.
</Tip>
## 文本对话
## Text Chat
```json
{
@@ -18,17 +18,17 @@ description: 通过 LinkAI 平台统一接入文本、视觉、图像、语音
}
```
| 参数 | 说明 |
| Parameter | Description |
| --- | --- |
| `use_linkai` | 设为 `true` 启用 |
| `linkai_api_key` | 在 [控制台](https://link-ai.tech/console/interface) 创建 |
| `model` | 可填写 [模型列表](https://link-ai.tech/console/models) 中任意编码 |
| `use_linkai` | Set to `true` to enable |
| `linkai_api_key` | Create one in the [Console](https://link-ai.tech/console/interface) |
| `model` | Can be any code from the [model list](https://link-ai.tech/console/models) |
前往 [模型服务](https://link-ai.tech/console/models) 了解更多。
See [Model Service](https://link-ai.tech/console/models) for more.
## 图像理解
## Image Understanding
配置完成后 Agent 的 Vision 工具会自动调用网关上的多模态模型,无需额外配置。如需手动指定 Vision 模型:
Once configured, the Agent's Vision tool automatically calls multimodal models via the gateway, with no extra setup required. To manually specify a Vision model:
```json
{
@@ -40,9 +40,9 @@ description: 通过 LinkAI 平台统一接入文本、视觉、图像、语音
}
```
可选模型:`gpt-4.1-mini``gpt-5.4-mini``qwen3.6-plus``doubao-seed-2-0-pro-260215``kimi-k2.6``claude-sonnet-4-6``gemini-3.1-flash-lite-preview` 等。
Available models: `gpt-4.1-mini`, `gpt-5.4-mini`, `qwen3.6-plus`, `doubao-seed-2-0-pro-260215`, `kimi-k2.6`, `claude-sonnet-4-6`, `gemini-3.1-flash-lite-preview`, etc.
## 图像生成
## Image Generation
```json
{
@@ -54,14 +54,14 @@ description: 通过 LinkAI 平台统一接入文本、视觉、图像、语音
}
```
| 模型 ID | 别名 |
| Model ID | Alias |
| --- | --- |
| `gpt-image-2` | OpenAI |
| `gemini-3.1-flash-image-preview` | Nano Banana 2 |
| `gemini-3-pro-image-preview` | Nano Banana Pro |
| `seedream-5.0-lite` | 字节豆包 Seedream |
| `seedream-5.0-lite` | ByteDance Doubao Seedream |
## 语音识别
## Speech-to-Text (ASR)
```json
{
@@ -69,11 +69,11 @@ description: 通过 LinkAI 平台统一接入文本、视觉、图像、语音
}
```
ASR 固定使用 Whisper,凭证自动复用 `linkai_api_key`
ASR uses Whisper by default; credentials are automatically reused from `linkai_api_key`.
## 语音合成
## Text-to-Speech (TTS)
语音合成网关下支持多个底层 TTS 引擎,按 `text_to_voice_model` 选择引擎,音色随引擎切换。
The TTS gateway supports multiple underlying engines. The engine is selected by `text_to_voice_model`, and the available voices change with the engine.
```json
{
@@ -83,15 +83,15 @@ ASR 固定使用 Whisper凭证自动复用 `linkai_api_key`。
}
```
| `text_to_voice_model` | 引擎说明 |
| `text_to_voice_model` | Engine |
| --- | --- |
| `tts-1` | OpenAI · 多语种通用(音色 `alloy` / `nova` / `echo` 等) |
| `doubao` | 字节豆包 · 中文音色丰富 |
| `baidu` | 百度 · 中文主播音色 |
| `tts-1` | OpenAI · Multi-language (voices like `alloy` / `nova` / `echo`, etc.) |
| `doubao` | ByteDance Doubao · Rich Chinese voices |
| `baidu` | Baidu · Chinese broadcaster voices |
不同引擎对应的音色不同,建议在 Web 控制台「模型管理 → 语音合成」中可视化选择。
Voices differ by engine; we recommend selecting them visually in the Web Console under "Model Management → Text-to-Speech".
## 向量
## Embedding
```json
{
@@ -100,4 +100,4 @@ ASR 固定使用 Whisper凭证自动复用 `linkai_api_key`。
}
```
默认模型 `text-embedding-3-small`OpenAI 兼容)。修改 embedding 后需执行 `/memory rebuild-index` 命令重建索引。
The default model is `text-embedding-3-small` (OpenAI-compatible). After changing the embedding, run `/memory rebuild-index` to rebuild the index.