iBUHub/AIStudioToAPI
A wrapper that exposes Google AI Studio Build as OpenAI, Gemini, and Anthropic compatible APIs.(一个将 Google AI Studio Build 封装为兼容 OpenAI / Gemini / Anthropic 风格 API 的工具)
What it solves
AIStudioToAPI allows users to access Google AI Studio's "Build App" web interface as if it were a standard API. This enables users to integrate Gemini models (including image generation and TTS) into third-party applications that expect OpenAI, Gemini, or Anthropic API formats, without needing a direct API key for those services.
How it works
The tool acts as a proxy server that uses browser automation (via the Camoufox browser) to interact with the AI Studio web interface. It translates incoming API requests into browser actions and returns the responses. It supports multiple Google account logins, session persistence through auth files, and can be deployed via Docker or run directly on local machines.
Who it’s for
Developers and AI enthusiasts who want to use Google AI Studio's capabilities within their own apps or existing AI frontends (like AMC WebUI) while maintaining compatibility with popular API standards.
Highlights
- Multi-API Compatibility: Supports OpenAI, Gemini, and Anthropic API formats.
- Browser Automation: Uses a privacy-focused Firefox branch (Camoufox) to simulate user interaction.
- Account Management: Supports multiple Google accounts with fast switching and automated login via CSV.
- Feature Support: Enables Tool Calls (Function Calling), image generation, and TTS models.
- Flexible Deployment: Offers Docker support with VNC-based account login and a web-based control console.
相关
- 项目
- 项目
- 项目
- 项目
- 项目