DEV Community

Thành Tuấn
Thành Tuấn

Posted on

Gemini-Web-to-API: Convert your Gemini Web account into a free API

Hey guys, I got tired of dealing with API quotas and the setup process of the official AI Studio, so I built a small wrapper to turn a Gemini Web session into a usable API.

It's pretty straightforward: you just grab your __Secure-1PSID and __Secure-1PSIDTS cookies and you're good to go.

What it does:

Supports full streaming (real-time responses).

Dockerized, so you can host it yourself in a few seconds.

Simple endpoint mapping.

If you're looking for a free way to integrate Gemini into your local projects, give it a try. I'm also looking for feedback or contributors to make it better.

Repo: https://github.com/ntthanh2603/gemini-web-to-api.git
(A star would be awesome if this helps you out!)

Top comments (1)

Collapse
 
thnh_tun_c8570de2066946 profile image
Thành Tuấn

I hope everyone support this project with a star