4141- ** Smart Model Switching** : Dynamically switch models in AI Studio via the ` model ` field
4242- ** Anti-Fingerprint Detection** : Uses Camoufox browser to reduce detection risk
4343- ** GUI Launcher** : Feature-rich ** web** launcher for simplified configuration and management
44- - ** Ollama Compatibility Layer** : Built-in ` llm.py ` provides Ollama format API compatibility
4544- ** Modular Architecture** : Clear module separation design for easy maintenance
4645- ** Modern Toolchain** : uv dependency management + full type support
4746
@@ -298,21 +297,6 @@ curl -X POST http://localhost:2048/nano/generate \
298297
299298** Detailed Documentation** : See [ Media Generation Guide] ( docs/media-generation-guide.md )
300299
301- ### Ollama Compatibility Layer
302-
303- The project also provides Ollama format API compatibility:
304-
305- ``` bash
306- # Start Ollama compatible service
307- uv run python src/app_launcher.py
308- # Click "Start Local LLM Simulation Service" in the GUI config page
309-
310- # Use Ollama format API
311- curl http://localhost:11434/api/tags
312- curl -X POST http://localhost:11434/api/chat \
313- -d ' {"model": "gemini", "messages": [{"role": "user", "content": "Hello"}]}'
314- ```
315-
316300## 🏗️ Project Architecture
317301
318302```
@@ -321,7 +305,7 @@ AIStudio2API/
321305│ ├── app_launcher.py # GUI launcher
322306│ ├── launch_camoufox.py # Command-line launcher
323307│ ├── server.py # Main server
324- │ ├── manager.py # WebUI manager
308+ │ ├── manager/ # WebUI manager package
325309│ ├── api/ # API processing modules
326310│ ├── browser/ # Browser automation modules
327311│ ├── config/ # Configuration management
@@ -336,7 +320,6 @@ AIStudio2API/
336320│ ├── auth_profiles/ # Authentication files
337321│ ├── certs/ # Certificate files
338322│ └── key.txt # API keys
339- ├── llm/ # Ollama compatibility layer
340323├── camoufox/ # Camoufox scripts
341324├── docker/ # Docker configuration
342325├── docs/ # Detailed documentation
@@ -363,7 +346,6 @@ cp .env.example .env
363346- ** FastAPI Service** : Default port ` 2048 `
364347- ** Camoufox Debug** : Default port ` 9222 `
365348- ** Streaming Proxy** : Default port ` 3120 `
366- - ** Ollama Compatible** : Default port ` 11434 `
367349
368350## 🔧 Advanced Features
369351
@@ -455,4 +437,3 @@ Issues and Pull Requests are welcome!
455437- ** CI/CD Pipeline** : Establish GitHub Actions automated testing and build release process
456438- ** Unit Testing** : Increase test coverage for core modules (especially browser automation)
457439- ✅ ** Multi-Worker Load Balancing** : Support multi-Google account rotation pool for higher concurrency limits
458-
0 commit comments