TL;DR
- Google announced on-device ASR and TTS capabilities for Google AI Edge Gallery, enabling multilingual speech processing across 100+ languages entirely offline
- ML Kit delivers transcription at 10x real-time speed and TTS synthesis at up to 50x real-time speed with near-zero latency (~100ms time-to-first-audio)
- Cross-platform support via MediaPipe Tasks and LiteRT with open-weight models including Parakeet-TDT, PocketTTS, Kokoro, and Phonon for Web, Desktop, and other platforms
- The XR Language Teacher showcase and voice-enabled AI Chat demonstrate multimodal voice pipelines with bilingual code-switching and streaming dictation
- Languages Supported
- 100+
- Transcription Speed
- 10x real-time
- TTS Synthesis Speed
- Up to 50x real-time
What happened
Google AI Edge Team announced on-device Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) capabilities in Google AI Edge Gallery. These features enable developers to build voice-first applications that run entirely offline on Android phones, wearables, and cross-platform devices. The release combines advances in compact speech model architectures with on-device small language models like Gemini Nano and Gemma 4, allowing apps to stream live transcriptions as users speak and synthesize natural spoken replies locally without network connectivity.
Android capabilities with ML Kit
For Android developers, ML Kit's GenAI Speech Recognition and Text-to-Speech APIs provide integrated, platform-managed speech processing. The speech models are integrated directly into the Android OS, adding zero bytes to app APK size. ML Kit's ASR delivers multilingual transcription across 100+ languages at 10x real-time speed, achieving 8.0% to 9.0% Word Error Rate on the FLEURS benchmark. The system transcribes approximately 3 seconds of speech in 300 milliseconds and reduces end-to-end speech translation wait times by 35% to 44%.
The TTS component uses a compact, few-step diffusion model accelerated on NPU hardware. It begins speaking in roughly 100 milliseconds and generates natural 24 kHz audio at up to 50x real-time speed across 8 expressive voices and 21 locales. A 27-second paragraph synthesizes in approximately 500 milliseconds. The TTS model reduces active device power consumption by over 50% compared to traditional autoregressive approaches and includes built-in earcon support. Model management occurs through AICore with seamless background updates and automatic hardware acceleration on available NPU and TPU backends.
Cross-platform support with MediaPipe Tasks and LiteRT
For cross-platform applications, MediaPipe Tasks provides unified, high-level APIs across iOS, macOS, Windows, Linux, and Web. The Speech Recognition Task automatically handles audio framing, configurable Voice Activity Detection (VAD), and decoding, supporting real-time streaming, full-sentence batch, and hybrid transcription modes. The Text-to-Speech Task offers turnkey synthesis with voice selection and low-latency streaming audio output.
Underlying both ML Kit and MediaPipe Tasks is LiteRT, Google's on-device AI inference platform. Ready-to-use .litertlm model bundles include Parakeet-TDT-0.6B-v3 for multilingual ASR, PocketTTS 100M and Kokoro-82M for multilingual TTS, and Phonon 31M for ultra-lightweight English TTS with sub-100ms Time-to-First-Audio on most devices. The Hugging Face LiteRT Community, which has over 10,000 followers, provides a growing catalog of open-weight models such as Whisper, Qwen3-ASR, and Moonshine for ASR, or Qwen3-TTS and Matcha for TTS. Each model is packaged with all required components—encoders, decoders, tokenizers, phonemizer dictionaries, voice embeddings, and vocoders—into a single .litertlm file for straightforward deployment.
XR Language Teacher showcase
Google built an XR Language Teacher demo in Google AI Edge Gallery to illustrate how vision, language, and speech models work together entirely locally. Users point their camera at an unfamiliar object or menu and ask a question aloud. On-device ASR streams the spoken question in real time alongside the camera frame to Gemini Nano on Android or Gemma 4 on other platforms in a single pass. The model explains the scene in the user's native language while tagging foreign-language phrases separately, enabling the TTS pipeline to seamlessly switch voices and accents mid-sentence from the user's mother tongue to the target language. An on-screen vocabulary card accompanies the response. The same experience works on both phones and extends to hands-free smart glasses when inference runs locally on a paired phone.
Voice-enabled AI Chat
ASR and TTS are now built directly into Google AI Edge Gallery's main AI Chat feature, providing an offline voice interface for on-device SLMs like Gemini Nano and Gemma 4. Users can dictate messages and hear responses read aloud. The implementation includes sentence-synchronized playback with live sentence highlighting; users can toggle 'Auto-play TTS' or tap a speaker button to activate a floating TTS bar that highlights each spoken sentence in real time. Tapping a sentence jumps playback to that position. The ASR and TTS settings appear in a centralized Model Management panel where users select available ASR and TTS pipelines, preset voices, and downloaded language packs. The reference implementation demonstrates how to strip Markdown syntax, skip non-spoken blocks like code snippets and tables, and schedule synthesis at the sentence level to avoid compute and memory contention during language model token generation.
Getting started
Developers can download the latest Google AI Edge Gallery app on Android and iOS to try XR Language Teacher and voice-enabled AI Chat. The reference implementation is available in the Google AI Edge Gallery GitHub repository; developers can also point a coding agent at the repository to adapt the streaming ASR, bilingual TTS code-switching, and sentence-synchronized playback pipeline for their own applications. For Android integrations, developers should explore the ML Kit GenAI Speech Recognition documentation. For cross-platform work, MediaPipe Tasks provides turnkey APIs. The LiteRT developer guide and ready-to-run .litertlm bundles are available from the Hugging Face LiteRT Community. Developers can test and benchmark on-device voice pipelines across 200+ physical devices using Google Cloud's Developer Device Platform.
Source
Google Developers Bloghttps://developers.googleblog.com/on-device-speech-recognition-and-text-to-speech-in-google-ai-edge-gallery/AI-assisted, verified against the source. This post was drafted with AI from the primary source linked above and checked automatically against it. For anything you depend on, read the original.
- #speechrecognition
- #text-to-speech
- #on-deviceai
- #android
- #webdevelopment
