❇️ Run this command on terminal
git clone https://github.com/Sophomoresty/gemini-web2api.git
cd gemini-web2api
❇️ Then run the tool
pip install -r requirements.txt
python gemini_web2api.py
🔥 How to use in your project
curl http://localhost:8081/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-your-key" \
-d '{"model":"gemini-3.5-flash","messages":[{"role":"user","content":"Hello!"}]}'
🔗 Endpoint:
http://localhost:8081/v1/chat/completions😌 No need any api key. Must use it.