mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
docs: 更新文档
This commit is contained in:
@@ -67,11 +67,21 @@ backend:
|
||||
| --- | --- |
|
||||
| `lmarena` | LMArena 图片生成 |
|
||||
| `lmarena_text` | LMArena 文本生成 |
|
||||
| `gemini_biz` | Gemini Business 图片生成 |
|
||||
| `gemini_biz` | Gemini Business 图片、视频生成 |
|
||||
| `gemini_biz_text` | Gemini Business 文本生成 |
|
||||
| `gemini` | Google Gemini |
|
||||
| `gemini` | Google Gemini 图片、视频生成 |
|
||||
| `gemini_text` | Google Gemini 文本生成 |
|
||||
| `zai_is` | zAI 图片生成 |
|
||||
| `nanobananafree_ai` | Nano Banana Free |
|
||||
| `zai_is_text` | zAI 文本生成 |
|
||||
| `nanobananafree_ai` | NanoBananaFree 图片生成 |
|
||||
| `zenmux_ai_text` | ZenMux 文本生成 |
|
||||
| `chatgpt` | ChatGPT 图片生成 |
|
||||
| `chatgpt_text` | ChatGPT 文本生成 |
|
||||
| `sora` | Sora 视频生成 |
|
||||
| `deepseek_text` | DeepSeek 文本生成 |
|
||||
| `doubao` | 豆包 图片生成 |
|
||||
| `doubao_text` | 豆包 文本生成 |
|
||||
| `test` | 浏览器检测,仅供调试使用 |
|
||||
| `merge` | 聚合模式(单标签多后端) |
|
||||
|
||||
## 模型过滤器 (Model Filter)
|
||||
|
||||
@@ -51,6 +51,12 @@ browser:
|
||||
# 是否启用无头模式
|
||||
headless: false
|
||||
|
||||
# 拟人鼠标轨迹模式
|
||||
# - false: 禁用拟人轨迹,使用 Playwright 原生点击(性能最好,但会被自动化检测)
|
||||
# - true: 使用项目优化的 ghost-cursor(更拟人化,如不会点击正中心,但性能稍差)
|
||||
# - "camou": 使用 Camoufox 内置轨迹(性能与拟人化的平衡)
|
||||
humanizeCursor: true
|
||||
|
||||
# 站点隔离 (fission.autostart)
|
||||
# 开启保持 Firefox 默认开启状态
|
||||
# 关闭此项可显著降低内存占用,防止低配服务器崩溃
|
||||
@@ -64,7 +70,7 @@ browser:
|
||||
# 禁用网页动画
|
||||
# 作用:移除 transition 和 animation
|
||||
# 收益:显著降低 CPU 持续占用
|
||||
# 风险:极低。几乎不影响浏览器指纹
|
||||
# 风险:低。几乎不影响浏览器指纹,但可能导致部分网页布局异常
|
||||
animation: false
|
||||
|
||||
# 禁用滤镜和阴影
|
||||
@@ -129,6 +135,7 @@ browser:
|
||||
| `path` | string | `""` | Camoufox 可执行文件路径,留空使用默认 |
|
||||
| `headless` | boolean | `false` | 是否启用无头模式 |
|
||||
| `fission` | boolean | `true` | 是否启用站点隔离 (fission.autostart) |
|
||||
| `humanizeCursor` | boolean/string | `true` | 鼠标轨迹模式:`true`, `false`, `"camou"` |
|
||||
| `proxy` | object | - | 全局代理配置 |
|
||||
| `cssInject` | object | - | CSS 性能优化注入配置 |
|
||||
|
||||
|
||||
@@ -71,11 +71,21 @@ backend:
|
||||
| --- | --- |
|
||||
| `lmarena` | LMArena Image Generation |
|
||||
| `lmarena_text` | LMArena Text Generation |
|
||||
| `gemini_biz` | Gemini Business Image Generation |
|
||||
| `gemini_biz` | Gemini Business Image & Video Generation |
|
||||
| `gemini_biz_text` | Gemini Business Text Generation |
|
||||
| `gemini` | Google Gemini |
|
||||
| `gemini` | Google Gemini Image & Video Generation |
|
||||
| `gemini_text` | Google Gemini Text Generation |
|
||||
| `zai_is` | zAI Image Generation |
|
||||
| `nanobananafree_ai` | Nano Banana Free |
|
||||
| `zai_is_text` | zAI Text Generation |
|
||||
| `nanobananafree_ai` | NanoBananaFree Image Generation |
|
||||
| `zenmux_ai_text` | ZenMux Text Generation |
|
||||
| `chatgpt` | ChatGPT Image Generation |
|
||||
| `chatgpt_text` | ChatGPT Text Generation |
|
||||
| `sora` | Sora Video Generation |
|
||||
| `deepseek_text` | DeepSeek Text Generation |
|
||||
| `doubao` | Doubao Image Generation |
|
||||
| `doubao_text` | Doubao Text Generation |
|
||||
| `test` | Browser Detection (For Debugging Only) |
|
||||
| `merge` | Aggregation Mode (Multiple backends in a single tab) |
|
||||
|
||||
## Model Filter
|
||||
|
||||
@@ -55,6 +55,12 @@ browser:
|
||||
# Whether to enable headless mode
|
||||
headless: false
|
||||
|
||||
# Humanized Mouse Cursor Mode
|
||||
# - false: Disable humanized cursor, use Playwright native click (Best performance, but easily detected by automation checks)
|
||||
# - true: Use project-optimized ghost-cursor (More human-like, e.g., avoids clicking exact center, but slightly lower performance)
|
||||
# - "camou": Use Camoufox built-in cursor (Balance between performance and human-like behavior)
|
||||
humanizeCursor: true
|
||||
|
||||
# Site Isolation (fission.autostart)
|
||||
# Keep enabled for standard Firefox behavior
|
||||
# Disabling this can significantly reduce memory usage and prevent crashes on low-end servers
|
||||
@@ -68,7 +74,7 @@ browser:
|
||||
# Disable web animations
|
||||
# Effect: Removes transition and animation
|
||||
# Benefit: Significantly lowers continuous CPU usage
|
||||
# Risk: Very low. Almost no impact on browser fingerprint
|
||||
# Risk: Very low. Almost no impact on browser fingerprint, but may cause layout issues on some webpages
|
||||
animation: false
|
||||
|
||||
# Disable filters and shadows
|
||||
@@ -133,6 +139,7 @@ browser:
|
||||
| `path` | string | `""` | Path to Camoufox executable. Leave empty to use default. |
|
||||
| `headless` | boolean | `false` | Whether to enable headless mode. |
|
||||
| `fission` | boolean | `true` | Whether to enable Site Isolation (fission.autostart). |
|
||||
| `humanizeCursor` | boolean/string | `true` | Cursor mode: `true`, `false`, `"camou"`. |
|
||||
| `proxy` | object | - | Global proxy configuration. |
|
||||
| `cssInject` | object | - | CSS performance injection configuration. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user