AIAny
AI API2024
Icon for item

Gemini-API

Asynchronous, reverse-engineered Python API for programmatic access to the Google Gemini web app — supports persistent cookie auth, streaming text, image/video/audio generation, deep-research workflows, model selection, and a CLI for automation and chatbots.

Introduction

Most official LLM vendors focus on sanctioned server APIs; Gemini-API fills the practical gap for developers who need programmatic access to features available only via the Gemini web app. By wrapping Gemini's web endpoints in an asyncio-native client, the project exposes multimodal generation, streaming output, conversation control, and a deep-research workflow in a single Python library — making it straightforward to prototype bots, automation pipelines, or local integrations that rely on Gemini capabilities.

What Sets It Apart
  • Reverse-engineered web wrapper with broad Gemini feature coverage — not only text but image/video/audio generation, editing, and Gemini extensions; this lets you automate tasks that otherwise require manual use of the web UI.
  • Persistent-cookie management and auto-refreshing auth — so an always-on service (chatbot or automation) can keep working without frequent manual re-login or fragile short-lived tokens.
  • Streaming mode, candidate selection, and conversation/session controls — useful for responsive UIs and multi-turn workflows where partial outputs and reply alternatives matter.
  • Async-first design plus a CLI — integrates naturally into asyncio applications and provides a quick terminal interface for testing or scripting.
Who It's For / Tradeoffs

Great fit if you need programmatic access to Gemini-only features (multimodal outputs, deep research, or extensions) and are comfortable managing browser cookies and handling a client that may break when the web app changes. The repo has seen notable community interest (several thousand stars), which helps with examples and community fixes.

Look elsewhere if you require a stable, officially supported production API, strict compliance with Google's terms by design, or turnkey enterprise support — reverse-engineered endpoints can break without notice and some features may be region/account gated or require subscriptions. Also consider official SDKs or vendor-backed APIs when long-term stability and contractual guarantees matter.

Information

  • Websitegithub.com
  • AuthorsHanaokaYuzu
  • Published date2024/02/11

Categories

More Items

GitHub
AI API2025

Gateway that pools multiple AI subscription accounts and issues platform API keys while handling authentication, token-level billing, load balancing, rate limits, and per-user/account concurrency—enables shared subscriptions for Claude, OpenAI, Gemini and Grok.

GitHub
AI Client2025

Enhances web AI chat interfaces (Gemini, AI Studio, Claude, ChatGPT) with folder-based conversation organization, timeline navigation, prompt vault, cloud sync, chat export, UI fixes and a plugin engine. Runs as a browser extension and includes cross-site prompt management and Mermaid rendering.

GitHub
AI Agent2026

Manages real tmux-backed terminals and AI agents as draggable nodes on an infinite pan/zoom canvas, with a Trello-style kanban view, persistent sessions that survive restarts, mobile companion support, and a browser Server Edition for self-hosting.