demo · v131
Built-in Summarizer API
An on-device LLM summariser, same family as Translator and Prompt. Paste text, pick a summary type, and click summarise. If the API or the model is missing your browser will say so.
flags
The Summarizer API requires Chrome 131+ on a machine with the optimisation guide model available. Enable
chrome://flags/#summarization-api-for-gemini-nano and visit chrome://components to trigger the model download.
summary
Click summarise to run the on-device model.
the api
const s = await Summarizer.create({ type: "key-points", length: "medium" });
const summary = await s.summarize(longText);
// Or stream:
for await (const chunk of s.summarizeStreaming(longText)) print(chunk);