WebLLM Demo

A showcase of Gemini Nano running locally in the browser.

Get Started: Enable Flags in Chrome

For this demo to work, you need to enable the following experimental flags in your Chrome browser.

chrome://flags/#enable-document-ai-api

chrome://flags/#prompt-api-for-gemini-nano

Paste these URLs into your Chrome address bar, enable the flags, and restart your browser.

Language Model API

Prompt Mode

Output will appear here...


Proofreader API


AI Translator


Text-to-Speech


HTML Renderer

Use the prompt "generate a small html page with the following content..." and the output will be rendered below.