Discover and explore top open-source AI tools and projects—updated daily.
HanaokaYuzuAsync Python API for Google Gemini web app
Top 33.1% on SourcePulse
This Python package provides an asynchronous API wrapper for the Google Gemini web application, targeting developers who need to integrate Gemini's advanced AI capabilities into their applications. It offers features like persistent cookies, image generation, extension support, and classified outputs, aiming for an elegant and efficient integration.
How It Works
The library reverse-engineers the Gemini web app's API, enabling programmatic access to its features. It utilizes asyncio for efficient, non-blocking operations, crucial for always-on services. Key features include automatic cookie refreshing to maintain session persistence and native support for image generation and manipulation via natural language prompts, leveraging Google's Imagen3 model. It also allows interaction with Gemini extensions like Gmail and YouTube, and categorizes responses, including AI-generated images.
Quick Start & Requirements
pip install -U gemini_webapipip install -U browser-cookie3__Secure-1PSID and __Secure-1PSIDTS cookies from your browser session.Highlighted Details
asyncio.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 week ago
1 day
google-gemini