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 Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub
AI Agent2026

Coordinates multiple coding agents in one workspace: an assistant delegates tasks, tracks their progress, and reports back. Runs locally and uses the model plans or keys you already have.