AIstudioProxyAPI is an open source proxy tool based on Node.js and Playwright technology, specifically designed to convert the Gemini 2.5 Pro model dialog functionality of the Google AI Studio web version into a standard OpenAI API compatible interface. Its main features include:
- API Conversion Services: Provides OpenAI-like /v1/chat/completions and /v1/models endpoints to give developers seamless access to the capabilities of Google AI Studio.
- Response Mode Support: Both streaming (stream=true) and non-streaming (stream=false) responses are supported, which are suitable for real-time interaction scenarios and batch data processing respectively.
- Automatic Optimization Mechanism: Built-in automatic wrapping and format adaptation of user-entered prompt words to ensure compatibility with Google AI Studio's output requirements.
- Browser Integration: Automate the management of your Chrome instance through Playwright, including debug port settings and window resizing.
This tool is particularly suited for developers who need unlimited access to the Gemini modeling API, but want to maintain a system that is compatible with existing OpenAI APIs.
This answer comes from the articleAIstudioProxyAPI: Unlimited use of the Gemini 2.5 Pro Model APIThe































 English
English				 简体中文
简体中文					           日本語
日本語					           Deutsch
Deutsch					           Português do Brasil
Português do Brasil