# foxhui/WebAI2API

WebAI2API: 基于 Camoufox 的网页 AI 转 API 工具，支持 LMArena/Gemini等，多窗口并发与账号隔离。 | Web AI to OpenAI API via Camoufox. Supports LMArena/Gemini and more, multi-window concurrency & account isolation.

Repository: https://github.com/foxhui/WebAI2API
Canonical: https://ross.abutalabs.com/products/webai2api
Homepage: https://foxhui.github.io/WebAI2API/
Language: JavaScript
License: MIT
License Family: permissive
Topics: ai-tools, browser-automation, generative-ai, image-generation, openai-api, text-to-image, web-scraping, text-generation
Last push: 2026-07-10T04:01:47+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 91, release rhythm 35, longevity 20
- inputs: {"age_days": 283, "days_push": 54, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1292, forks 343 (observed 2026-08-28T04:04:16.095965+00:00)

## What it is
WebAI2API is a self-hosted Node.js service that exposes web-based AI services (LMArena, Gemini, ChatGPT, DeepSeek, etc.) as OpenAI-compatible APIs by automating browser interaction via Camoufox/Playwright with human-like behavior simulation. It supports multi-window concurrency, per-account browser instance isolation, task queuing, load balancing, and a web management UI with VNC access.

## Use cases
- turn web chatgpt into openai api
- use gemini web for free via api
- expose lmarena as openai-compatible endpoint
- self-host proxy for web ai services
- run multiple ai accounts with browser isolation
- generate images via web ai through api
- avoid api costs by automating web ai chats

## When to choose
- you want an OpenAI-compatible API from free web AI services without official API keys
- you need multi-account concurrency with isolated browser sessions
- you want text, image, and video generation from web UIs behind one unified endpoint

## When to avoid
- you need guaranteed reliability or SLAs, since web scraping can break when sites change
- you cannot accept ToS violations or account-ban risks from automated browser use
- you need official, supported APIs with proper rate limits and billing

## Facets
- artifact type: service
- maturity: active
- function: http-server, web-scraping, llm-inference, proxy, api-framework
- domain: large-language-models, artificial-intelligence, web-development, self-hosted
- platform: windows, self-hosted
- tags: openai-compatible-api, camoufox, browser-automation, reverse-proxy-ai, lmarena, gemini, chatgpt, account-isolation, anti-detection, automation, nodejs, docker, linux, macos, web-server

## Member repositories
- foxhui/WebAI2API (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:16.095965+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:54:43.904440+00:00, confidence not recorded.
  - readme: https://github.com/foxhui/WebAI2API (fetched 2026-08-28T04:04:16.095965+00:00, sha b975d27eccd8)
  - homepage: https://foxhui.github.io/WebAI2API/ (fetched 2026-08-29T12:11:26.027505+00:00, sha e2d26280d15b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
