Video introduction:
- YouTube: https://youtu.be/pf0JESYm2gc
- Bilibili: https://www.bilibili.com/video/BV1wfrVB1E3T
Prerequisites: Node.js 18+
- Install dependencies:
npm install - Start dev server:
npm run dev - Open:
http://localhost:3000
Open the top-right API Configuration button to set:
- Request Mode: Official / Third Party
- Third Party Protocol (when using Third Party):
- Gemini Native:
.../v1beta/models/*:generateContent - OpenAI Format:
.../v1/*(e.g. OneAPI / OpenRouter compatible endpoints)
- Gemini Native:
- API Key and Base URL / Third-party URL
- Test button to validate connectivity
Notes:
- OpenAI-format providers often require paths like
https://openrouter.ai/api(not justhttps://openrouter.ai). - Some providers block browser requests via CORS; in that case you need a server-side proxy.