SiaLabs/Free-API-Server ? reverse-engineered prompt

Reverse engineered prompt

Build me a small API server that lets me use Google Gemini through a simple OpenAI style interface, without needing an API key. I want to be able to point an OpenAI client at it, send normal chat requests, get streaming replies, and also generate images from a prompt.

It should run easily with Docker, listen on port 3897, and use the Gemini cookies from my browser session as the login, so I can paste in the two cookie values and get started quickly. Please include a basic docs page for the endpoints, and make sure I can list the available models and use it with common OpenAI compatible tools. If anything needs current setup details from the web, look them up as you go.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab