计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
speech-to-speech【效率与协作】Operate and troubleshoot Hugging Face speech-to-speech, a modular VAD, STT, LLM, and TTS voice-agent pipeline with an OpenAI Realtime-compatible API and browser demo.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill for package-specific tasks involving the speech-to-speech
Python package: starting its CLI, wiring a voice-agent backend, using its
OpenAI Realtime-compatible WebSocket/WebRTC API, choosing STT/LLM/TTS backends,
or running/modifying the browser demo.
speech-to-speech, imports as speech_to_speech, requires
Python 3.10+, and exposes the speech-to-speech console command.| User asks for... | Use |
|---|---|
speech-to-speech serve, talk, local, host/port, VAD flags, Smart Turn, session pool, or LLM proxy command shape | cli-and-server |
Realtime events, session.update, response.create, tool result flow, barge-in/cancel, endpoint probes, /v1/realtime, /v1/realtime/calls | realtime-api |
Backend names, optional extras, Qwen3-TTS, Parakeet/Whisper/Paraformer, responses-api vs chat-completions, --stt none, language prompt | components-and-backends |
Demo server, SPEECH_TO_SPEECH_URL, LOAD_BALANCER_URL, WebSocket vs WebRTC in browser, Serper search, camera tool, HF Space limits, UI design rules | browser-demo |
| Source freshness, evidence baseline, router metadata | Repo provenance and routing metadata |
pip install speech-to-speech
python -c "import speech_to_speech; print(speech_to_speech.__version__)"
speech-to-speech --help
Default quickstart:
export OPENAI_API_KEY="..."
speech-to-speech serve
# second terminal
speech-to-speech talk --url ws://127.0.0.1:8765/v1/realtime
The default server listens on loopback at ws://127.0.0.1:8765/v1/realtime
and uses Parakeet TDT STT, an OpenAI-compatible Responses API LLM, and Qwen3-TTS.
serve bound to 127.0.0.1 unless a trusted network or gateway is in
place. --enable_llm_proxy adds unauthenticated OpenAI-compatible HTTP proxy
routes and should not be exposed casually.scripts/package_smoke.py,
cli-and-server/scripts/check_cli_profiles.py,
components-and-backends/scripts/inspect_backend_registry.py, and
realtime-api/scripts/realtime_endpoint_probe.py.This skill was distilled from huggingface/speech-to-speech at commit
0071d7d0be64d77f7c66db410781109d5a2bf5b7, branch main, package version
0.2.12. See Repo provenance for evidence
paths and refresh signals.