AI Cloud Architect

On-Device Speech Recognition and Text-to-Speech in Google AI Edge Gallery

GoogleAnnouncement by Google AI Edge Team and Android ML TeamGoogle Developers Blog

Google AI Edge Gallery now supports on-device, offline Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) capabilities for building developer-friendly voice applications. Developers can leverage ML Kit for optimized Android performance, or use MediaPipe Tasks and LiteRT for cross-platform open-weight model integration. This local pipeline seamlessly pairs lightweight speech models with on-device small language models like Gemini Nano and Gemma 4 to enable real-time streaming…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Google AI Edge Gallery adds on-device, offline speech recognition and text-to-speech, so small language models can take voice input and speak replies without a network connection.

Who it is for

Android developers building voice features on Gemini Nano or Gemma 4 who need offline or low-latency speech.

Key points

  • ML Kit GenAI Speech Recognition covers 100+ languages; the post says it runs about 10x real-time and adds 0 MB to the APK.
  • ML Kit GenAI Text-to-Speech starts speaking in about 100 ms, outputs 24 kHz audio and supports 8 voices in 21 locales.
  • Cross-platform option uses MediaPipe Tasks and LiteRT with open-weight .litertlm bundles such as Parakeet-TDT 0.6B, PocketTTS 100M, Kokoro-82M and Phonon 31M.

The same at other vendors

Timeline

Posts about Google AI Edge Gallery, oldest first.

  1. Earlier stepGoogle AI Edge Gallery: Now with audio and on Google Play · Google · Announcement
  2. New featureOn-Device Function Calling in Google AI Edge Gallery · Google · Announcement
  3. Update to an existing featureA Smarter Google AI Edge Gallery: MCP integration, notifications, and session continuity · Google · Announcement
  4. This postOn-Device Speech Recognition and Text-to-Speech in Google AI Edge Gallery