WebAI Studio
Back to Demos

Story Time

Speech

The Writer invents a bedtime story from three ingredients, then the browser reads it aloud — highlighting each word as it speaks.

Why On-Device?

A complete storyteller with no servers: generation by the on-device Writer, narration by speechSynthesis, word-by-word karaoke highlighting from boundary events.

Interactive Demo

Writer: Loading...
Speech Synthesis: Unavailable
An API is unavailable. The Writer API generates the story; speechSynthesis narrates it. Narration quality depends on the voices installed on this device.
Tonight's story must feature...
Story Time

Pick three ingredients and the on-device Writer will weave them into a bedtime story.

Implementation Code

demo.js