huggingface/speech-to-speech
Build local voice agents with open-source models
Implements a cascaded four-stage pipeline (VAD → STT → LLM → TTS) with pluggable components across all stages, supporting models from Hugging Face Hub, MLX for Apple Silicon acceleration, and external libraries like Whisper, MeloTTS, and ChatTTS. Deployable locally, via TCP sockets, or WebSockets with multi-language support and streaming capabilities. Optimizes for low-latency inference on consumer hardware including CUDA and Apple Silicon with torch.compile support.
4,541 stars. Actively maintained with 90 commits in the last 30 days.
Stars
4,541
Forks
518
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 12, 2026
Commits (30d)
90
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/huggingface/speech-to-speech"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
alphacep/vosk-api
Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
linto-ai/WebVoiceSDK
Buildings block for voice-enabled applications in the browser
Picovoice/speech-to-text-benchmark
speech to text benchmark framework
vox-serve/vox-serve
A Streaming-Native Serving Engine for TTS/STS Models
Lex-au/Orpheus-FastAPI
High-performance Text-to-Speech server with OpenAI-compatible API, 8 voices, emotion tags, and...