Skip to content

Latest commit

Β 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”“ Free Gemini API Suite

A complete, high-performance toolkit to use Google Gemini 3.7 Flash, Imagen 3 (8K Images), Cinematic Videos, and Music Synthesis for FREE without API keys or costs.


πŸ“‚ Repository Structure

Directory Description
free-gemini-api/ πŸš€ Go API Server with Needle 2 SLM Tool Routing & SQLite Memory
gemini-extension/ 🧩 Chrome Extension for automatic real-time session cookie synchronization

πŸš€ Quick Setup (2 Minutes)

Step 1: Load the Chrome Extension

  1. Open Google Chrome and go to chrome://extensions/
  2. Enable Developer mode (toggle in top right corner).
  3. Click Load unpacked and select the gemini-extension folder.
  4. Log into gemini.google.com β€” cookies sync automatically to the API server in real-time.

Step 2: Start the Go API Server

cd free-gemini-api
go run main.go
  • API Server: http://localhost:8001
  • OpenAI Compatible Endpoint: http://localhost:8001/v1/chat/completions

πŸ§ͺ Testing the API

curl -X POST http://localhost:8001/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.7-flash",
    "messages": [{"role": "user", "content": "Explain quantum computing in 1 sentence"}]
  }'

About

πŸ”“ Use Google Gemini for FREE β€” Text, Image, Video & Music Generation API. No API key needed. Built in Go.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages