Experimental Gemini Nano integration demos. Explores on-device AI inference through four separate components — no shared build system; each component is standalone.
| Directory | Language | Purpose |
|---|---|---|
chrome-demo/ |
HTML/JS | Browser demo page for Chrome's built-in Gemini Nano (Prompt API) |
python-mediapipe/ |
Python | Gemini Nano via MediaPipe on-device inference |
api-server/ |
Python | FastAPI server bridging Gemini Nano inference to HTTP |
chrome-bridge/ |
Node.js/Express | Bridge server exposing Chrome's Prompt API over HTTP (server.js) |
api-server (Python):
cd gemini-nano/api-server
python -m venv .venv && .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
# start server
python app.py # or uvicorn if FastAPIchrome-bridge (Node.js):
cd gemini-nano/chrome-bridge
npm install
.\start.ps1python-mediapipe:
cd gemini-nano/python-mediapipe
pip install -r requirements.txt
python run_nano.pychrome-demo: Open chrome-demo/index.html directly in Chrome Canary with chrome://flags/#prompt-api-for-gemini-nano enabled.
- These are research/demo components, not production services
chrome-bridgerequires Chrome Canary with the Gemini Nano flag enabledpython-mediapiperequires the MediaPipe Tasks GenAI package- No shared config — each component is self-contained
Use /gsd:quick for experimental work here. No formal phase planning required for this research area.