The phone plugin’s Speech server is any server with OpenAI’s audio endpoints, /v1/audio/transcriptions and /v1/audio/speech, on your machine. Speaches is one: Whisper models hear you, and Kokoro speaks. LocalAI, Kokoro-FastAPI, and whisper.cpp’s server work too.
Run Speaches
Section titled “Run Speaches”-
Start it, with podman or docker. The CPU image is about 2 GB:
Terminal window podman run -d --name speaches -p 127.0.0.1:8000:8000 \-v speaches-models:/home/ubuntu/.cache/huggingface/hub \ghcr.io/speaches-ai/speaches:latest-cpu -
Download a model to hear you, and one to speak:
Terminal window curl -X POST http://localhost:8000/v1/models/Systran/faster-whisper-smallcurl -X POST http://localhost:8000/v1/models/speaches-ai/Kokoro-82M-v1.0-ONNXSystran/faster-whisper-tiny.enis smaller and quicker, in English only.
Add it to fxbot
Section titled “Add it to fxbot”- In Settings › Providers, choose Add provider, and under For phone, pick Speech server.
- Give its address,
http://localhost:8000/v1. In fxbot’s container,localhostis the container’s own: give the machine’s address, as for Ollama. - In phone’s tab, under Voice, pick Speech server for Listening and Speaking. The models are Speaches’ names:
Systran/faster-whisper-smallto listen,speaches-ai/Kokoro-82M-v1.0-ONNXto speak, and a voice such asaf_heart.
It hears you one stretch at a time: what you said goes once you pause, and you cut the bot off by talking over it for most of a second. A computer with no GPU takes a moment to hear each stretch, longer with a bigger Whisper model.