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 Client2026

Turns ongoing goals into delegated work, coordinating built-in specialists and local CLI agents across a persistent project. Conversations, files, and project memory stay on your computer by default.

GitHub
AI Client2026

Turns local AI agent CLIs into a chat workspace where each agent can use its own model, tools, and computer environment. Risky actions are surfaced for approval before execution.

GitHub
AI Infra2026

Connect agent runtimes such as Codex, Claude Code, and Hermes to a product through one API, with task streaming, sessions, files, and cancellation handled for you. Self-host it or use managed Cloud; control over credentials and data depends on the deployment.