/models获取当前 API Key 可调用的模型。
2. Select **DeepChat** from the token actions
@@ -40,18 +40,18 @@ description: DeepChat guide — connect this open-source, commercial-friendly fu
4. Confirm the configuration in DeepChat's Provider import preview

-5. Open the model list and select a New API model to start using it
+5. Open the model list and select a LFAPI model to start using it

### Method 2: Manual Import
-1. Copy the API Key and site address from the New API console
- 
+1. Copy the API Key and site address from the LFAPI console
+ 
-2. In DeepChat settings, add or edit the New API Provider, then fill in the API address and API Key
+2. In DeepChat settings, add or edit the LFAPI Provider, then fill in the API address and API Key

-3. Open the model list and select a New API model to start using it
+3. Open the model list and select a LFAPI model to start using it

## Related Links
diff --git a/content/docs/en/apps/factory-droid-cli.mdx b/content/docs/en/apps/factory-droid-cli.mdx
index 78ada9e..a005657 100644
--- a/content/docs/en/apps/factory-droid-cli.mdx
+++ b/content/docs/en/apps/factory-droid-cli.mdx
@@ -1,6 +1,6 @@
---
title: Factory Droid CLI
-description: Factory Droid CLI setup guide — install and configure this AI software engineering agent with New API. Supports end-to-end development from planning to testing.
+description: Factory Droid CLI setup guide — install and configure this AI software engineering agent with LFAPI. Supports end-to-end development from planning to testing.
---
-
2. トークン操作で **DeepChat** を選択します
@@ -39,18 +39,18 @@ description: DeepChat ガイド — オープンソースで商用利用に配
4. DeepChat の Provider 導入プレビューで設定を確認します

-5. モデル一覧を開き、New API モデルを選択して利用を開始します
+5. モデル一覧を開き、LFAPI モデルを選択して利用を開始します

### 方法二:手動導入
-1. New API コンソールで API Key とサイトアドレスをコピーします
- 
+1. LFAPI コンソールで API Key とサイトアドレスをコピーします
+ 
-2. DeepChat 設定で New API Provider を追加または編集し、API アドレスと API Key を入力します
+2. DeepChat 設定で LFAPI Provider を追加または編集し、API アドレスと API Key を入力します

-3. モデル一覧を開き、New API モデルを選択して利用を開始します
+3. モデル一覧を開き、LFAPI モデルを選択して利用を開始します

## 関連リンク
diff --git a/content/docs/ja/apps/factory-droid-cli.mdx b/content/docs/ja/apps/factory-droid-cli.mdx
index 4277805..6b26c92 100644
--- a/content/docs/ja/apps/factory-droid-cli.mdx
+++ b/content/docs/ja/apps/factory-droid-cli.mdx
@@ -1,6 +1,6 @@
---
title: Factory Droid CLI
-description: Factory Droid CLI セットアップガイド — AIソフトウェアエンジニアリングエージェントを New API で設定。計画からテストまでのエンドツーエンド開発を自動化。
+description: Factory Droid CLI セットアップガイド — AIソフトウェアエンジニアリングエージェントを LFAPI で設定。計画からテストまでのエンドツーエンド開発を自動化。
---
-
2. 在令牌操作中选择 **DeepChat**
@@ -39,18 +39,18 @@ description: DeepChat 教程 — 将全功能AI Agent客户端对接 New API,
4. 在 DeepChat 的 Provider 导入预览中确认配置

-5. 打开模型列表,选择 New API 模型开始使用
+5. 打开模型列表,选择 LFAPI 模型开始使用

### 方式二:手动导入
-1. 在 New API 控制台复制 API Key 和站点地址
- 
+1. 在 LFAPI 控制台复制 API Key 和站点地址
+ 
-2. 在 DeepChat 设置中添加或编辑 New API Provider,填写 API 地址和 API Key
+2. 在 DeepChat 设置中添加或编辑 LFAPI Provider,填写 API 地址和 API Key

-3. 打开模型列表,选择 New API 模型开始使用
+3. 打开模型列表,选择 LFAPI 模型开始使用

## 相关链接
diff --git a/content/docs/zh/apps/factory-droid-cli.mdx b/content/docs/zh/apps/factory-droid-cli.mdx
index c689596..8433b24 100644
--- a/content/docs/zh/apps/factory-droid-cli.mdx
+++ b/content/docs/zh/apps/factory-droid-cli.mdx
@@ -1,6 +1,6 @@
---
title: Factory Droid CLI
-description: Factory Droid CLI 教程 — 安装并配置 AI 软件工程助手,对接 New API。从规划到测试的全流程自动化开发。
+description: Factory Droid CLI 教程 — 安装并配置 AI 软件工程助手,对接 LFAPI。从规划到测试的全流程自动化开发。
---
- LFAPI DOCUMENTATION
LFAPI 提供兼容 OpenAI 的统一入口。创建 API Key 后,可直接使用标准 SDK、已有客户端或 HTTP 请求接入可用模型。
+ +01 / QUICK START
完成下面三步即可发起第一条请求。LFAPI 的账户、API Key 和额度均在控制台管理。
+使用符合站点要求的邮箱完成注册。新账户的可用额度由管理员审核后发放。
进入控制台的令牌页面,创建一枚只用于当前应用的 Key,并妥善保存。
先请求模型列表,再在业务侧选择返回列表中的模型 ID。
02 / AUTHENTICATION
所有面向模型的请求都需要在 HTTP 请求头中携带 Bearer Token。不要把 Key 提交到仓库、前端代码或公开日志。
+Authorization: Bearer $LFAPI_API_KEY03 / API REFERENCE
以下路径均以 https://ai.liangfeng.net.cn/v1 为基础地址。请求字段与 OpenAI 兼容接口保持一致;实际可用模型以模型列表为准。
/models获取当前 API Key 可调用的模型。
/chat/completions创建对话补全请求,支持非流式和流式返回。
/responses使用 Responses 兼容接口发送多模态或工具调用请求。
curl https://ai.liangfeng.net.cn/v1/models \
+ -H "Authorization: Bearer $LFAPI_API_KEY"04 / STREAMING
在 /chat/completions 请求体中设置 stream: true,服务端将通过 Server-Sent Events 逐段返回生成内容。客户端需要持续读取连接直到收到结束事件。
{
+ "model": "your-model-id",
+ "messages": [{ "role": "user", "content": "你好" }],
+ "stream": true
+}05 / ACCOUNT
新注册账户默认额度为 0。获得管理员发放的额度后,再创建并使用 API Key。额度不足时,LFAPI 会拒绝上游请求,避免产生未授权消耗。
请仅使用自己的 API Key。发现 Key 泄露时,应立即在控制台删除旧 Key 并创建新 Key。
+06 / RESPONSES
401未提供或无效的 API Key检查 Authorization 请求头。403当前 Key 无访问权限确认账号、分组或模型授权。429请求频率受限退避重试,降低并发。5xx上游或临时服务异常保留请求 ID 后重试;持续出现时联系管理员。从控制台创建 API Key,使用模型列表确认你的应用可调用的模型。
打开控制台Powered by{' '} - New API + LFAPI
@@ -247,7 +247,7 @@ function Input(props: ComponentProps<'textarea'>) { const roleName: Record