WebAI-API 是 AI Skill Hub 本期精选AI工具之一。已获得 1.2k 颗 GitHub Star,综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
WebAI-API 是一款基于 Python 开发的开源工具,专注于 ai、api、python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
WebAI-API 是一款基于 Python 开发的开源工具,专注于 ai、api、python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install webai-to-api
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install webai-to-api
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Amm1rr/WebAI-to-API
cd WebAI-to-API
pip install -e .
# 验证安装
python -c "import webai_to_api; print('安装成功')"
# 命令行使用
webai-to-api --help
# 基本用法
webai-to-api input_file -o output_file
# Python 代码中调用
import webai_to_api
# 示例
result = webai_to_api.process("input")
print(result)
# webai-to-api 配置文件示例(config.yml) app: name: "webai-to-api" debug: false log_level: "INFO" # 运行时指定配置文件 webai-to-api --config config.yml # 或通过环境变量配置 export WEBAI_TO_API_API_KEY="your-key" export WEBAI_TO_API_OUTPUT_DIR="./output"
/v1/chat/completions API---
poetry install
If you plan to use the Playwright backend:
poetry run playwright install chromium
cp config.conf.example config.conf
Edit config.conf to match your environment.
<p align="center"> <img src="./assets/Server-Run-WebAI.png" alt="WebAI-to-API Server" height="160" /> <img src="./assets/Dashboard.png" alt="Dashboard" height="160" /> <a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=WebAI-to-API"> <img src="./assets/ATLAS_CLOUD_LOGO_BLACK.png" alt="Atlas Cloud" height="160" /> </a> </p>
WebAI-to-API is a browser-native AI runtime that exposes browser-based AI services through OpenAI-compatible APIs.
WebAI-to-API combines browser-native automation with WebAPI-based provider integrations to expose AI services through a flexible OpenAI-compatible API layer.
---
These endpoints manage locally persisted Gemini WebAPI conversation snapshots and their corresponding remote chats.
| Action | Endpoint |
|---|---|
| List | GET /v1/conversations |
| Delete | DELETE /v1/conversations/{id} |
| Bulk Delete | DELETE /v1/conversations |
[!NOTE] Conversation persistence and management are currently supported only for the Gemini WebAPI backend.
---
Available models may vary depending on the configured provider and backend.
Use the /v1/models endpoint to retrieve the current list of supported models.
---
高质量的AI工具,易于安装
该工具使用 AGPL-3.0 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ AGPL 3.0 — 最严格的 Copyleft,网络服务端使用也需开源,SaaS 使用受限。
经综合评估,WebAI-API 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | WebAI-to-API |
| Topics | aiapipython |
| GitHub | https://github.com/Amm1rr/WebAI-to-API |
| License | AGPL-3.0 |
| 语言 | Python |
收录时间:2026-06-03 · 更新时间:2026-06-03 · License:AGPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。