hanaokayuzu/gemini-api

✨ Reverse-engineered Python API for Google Gemini web app

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 19th, 2026
Created on February 11th, 2024
Open Issues & Pull Requests: 37 (+0)
GitHub issues: Enabled
Number of forks: 558
Total Stargazers: 3,530 (+0)
Total Subscribers: 18 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.4 hours
Mean response time: 8.3 days
90th percentile: 19.4 days
Tracked items: 182

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 8% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 83% of issues opened in the past year have been closed, leaving a working backlog. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 147 days
Stale 30+ days: 18
Stale 90+ days: 12

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 2

Top labels

  • enhancement (13)
  • bug (11)
  • invalid (9)
  • unreproducible (7)
  • advanced (6)
  • question (5)
  • wontfix (2)
  • dependencies (1)

Most active issues this week

Sign in to see which issues are moving.

Detailed Description

Gemini-API is a reverse-engineered asynchronous Python wrapper for the Google Gemini web application.

The tool solves the problem of programmatic access to Google Gemini's web interface by mimicking the browser-based interactions that the web app uses. It works by automatically managing authentication cookies in the background, allowing persistent connections suitable for always-on services. The wrapper exposes Gemini's capabilities through an asynchronous Python interface, supporting text generation, image generation and editing, video and audio generation, deep research workflows, system prompt customization through Gemini Gems, and integration with Gemini extensions like YouTube and Gmail. Responses are classified into distinct output types including text, thoughts, images, videos, and audio. The tool also provides streaming mode for partial output generation and includes a command-line interface for direct interaction.

Developers should adopt this tool if they need programmatic access to Gemini's capabilities without relying on an official API. It suits projects requiring image or video generation, deep research functionality, or extension-based content generation. The tool is particularly valuable for always-on services because of its background cookie refresh mechanism. Those building applications that need Gemini's multimodal generation features will find the native support for images, videos, and audio more complete than what a text-only interface would provide.

The project maintains active development with regular updates to the package distribution pipeline. The codebase follows consistent formatting standards and manages its external dependencies carefully. The tool receives ongoing attention to keep pace with changes in the underlying Gemini web application.