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 Client2023

Cross-platform client for interacting with multiple LLM providers and image models, offering local data storage, a prompt library, streaming replies and built-in image generation. Ships as desktop apps, a web version and mobile apps for shared/team and personal workflows.

GitHub
AI Client2026

Terminal-native AI coding agent that runs as a single static Go binary and preserves long LLM sessions using DeepSeek-aware prefix caching. Config- and plugin-driven: supports multiple providers, separate planner/executor sessions, and CLI/TUI, desktop and VS Code integrations.

GitHub
AI API2026

Exposes a ChatGPT account as an OpenAI-compatible local API and SDK set, enabling chat, streaming, and image-generation calls via a dev proxy or "Sign in with ChatGPT". Includes a CLI and TypeScript/React adapters; unofficial and uses user ChatGPT credentials.