All AI inference goes through Firebase AI Logic. In hybrid mode the SDK runs Gemini Nano on-device (Chrome desktop, via the Prompt API) when available and seamlessly falls back to cloud Gemini otherwise — same code, no API key in the page.
📝 One-paragraph summary
Sample output — demo mode
🃏 Flashcards (click a card to flip it)
Sample output — demo mode
❓ Quiz
Sample output — demo mode