FastAPI server for AI service endpoints (Gemini)
Top 66.9% on sourcepulse
This project provides a modular FastAPI web server to manage requests for AI services, primarily Gemini, without requiring API keys. It's designed for researchers and developers needing a flexible way to integrate AI models into applications, offering an extendable architecture for easy configuration and switching between providers.
How It Works
The application uses a modular architecture with FastAPI for API endpoints and a service layer for AI model interaction. It leverages browser cookies for authentication with Gemini, automatically retrieving them if not explicitly provided in the configuration. This approach bypasses the need for API keys, simplifying setup and usage for services that support cookie-based authentication.
Quick Start & Requirements
poetry install
poetry run python src/run.py
config.conf.example
to config.conf
and edit.Highlighted Details
/v1/chat/completions
).Maintenance & Community
The project is maintained by Amm1rr. There are no explicit mentions of community channels or a roadmap in the README.
Licensing & Compatibility
Limitations & Caveats
This is a research project and is not recommended for production use without significant enhancements to security and error handling. Gemini is the only currently supported AI service, with plans for others discontinued.
3 weeks ago
1 week