Talking out loud to local AI characters on Windows 11 with Ollama
- Hardware
- PC with 16 GB VRAM and 42 GB RAM, Windows 11
- Models & engines
- phonon-2 (Fermion Research, about 158-164 MB, derived from NVIDIA parakeet-tdt-0.6b-v3) as a local STT server on port 8010, in its own Python venv
Ollama with gemma4:12b and Anubis-Mini-8B-v1 (Q4_K_M, 4.92 GB) as character models - Key gotcha
- Installing phonon-2 on Windows broke on package conflicts with her global Python and PyTorch until she isolated it in its own venv
What they built
Elena, who says she mostly comes from the writing side, built a local web app where she can talk out loud to AI characters and have them speak back. It runs on Node.js on her boyfriend's PC, which has 16 GB of VRAM and 42 GB of RAM.
The app stitches together three local services: phonon-2 for speech-to-text on port 8010, Ollama on port 11434 for the character's replies, and Kyutai's pocket-tts for the voices, all connected to the browser over local HTTP and WebSockets.
To avoid dead air, she streams the reply sentence by sentence: you hear the first sentence while the model is still writing the next ones.
Setup
- PC with 16 GB VRAM and 42 GB RAM, Windows 11
- Node.js web app as the hub, frontend in the browser
- phonon-2 (Fermion Research, about 158-164 MB, derived from NVIDIA parakeet-tdt-0.6b-v3) as a local STT server on port 8010, in its own Python venv
- Kyutai pocket-tts for text-to-speech, moved onto the GPU by hand
- Ollama with gemma4:12b and Anubis-Mini-8B-v1 (Q4_K_M, 4.92 GB) as character models
How it works
- She starts the phonon-2 STT server from PowerShell, then pocket-tts in a second terminal, with Ollama running alongside
- Node.js receives streamed tokens from Ollama and watches for punctuation boundaries
- As soon as a full sentence arrives it goes into a queue for TTS, and the generated audio is piped back to the browser over WebSockets
Results & numbers
- A live voice turn logged STT at 71 ms, time to first token at 416 ms with Anubis-Mini-8B-v1, and the first spoken sentence at 652 ms/1020 ms
- With gemma4:12b her characters hold onto their personality quirks across long, messy voice sessions
- Anubis-Mini-8B-v1 runs fast on 16 GB VRAM and brings more attitude when a character needs weird humor
Gotchas
- Installing phonon-2 on Windows broke on package conflicts with her global Python and PyTorch until she isolated it in its own venv
- pocket-tts is built for CPU and has no device flag; running it on CUDA meant moving the model with tts_model.to("cuda") and copying output tensors back to CPU, and PyTorch CUDA builds on Windows were painful
- Every session means starting several servers by hand in separate terminals, which she finds fragile; she is watching WebLLM and LiteRT-LM as a way to move it all into one browser tab
“talking to a character finally feels snappy instead of like leaving voicemails.”— Elena Guan
Do it yourself
- Install Ollama and pull a character model such as gemma4:12b
- Set up a local STT server (she used phonon-2) in its own Python venv and run it on a fixed port
- Run a local TTS server (she used Kyutai pocket-tts)
- In Node.js, stream tokens from Ollama and split them into sentences at punctuation
- Send each finished sentence to TTS and stream the audio to the browser over WebSockets so playback starts before the reply is done
& "C:\Users\elle\Documents\Python\phonon-2\venv\Scripts\phonon.exe" serve --port 8010
python -m pocket_tts serveSimilar setups
Local AI: a one-click Windows app that picks a model for your PC and sets up Ollama for friends
Tired of setting up local LLMs for friends, a developer built a free MIT-licensed Windows app that detects your GPU and RAM, installs Ollama without admin rights, pulls a fitting model and opens a private chat.
Séance: local Whisper and Gemma 4 turn a grandmother's Malayalam voice notes into a searchable family archive
Clivin John built Séance, which transcribes and translates his grandmother's voice notes on his laptop, has Gemma 4 write memory cards, and answers questions only with her exact, verified words.
A €200 mini PC as an offline AI box: a week with Gemma and Qwen
Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.
Couch Commander: an offline voice remote for YouTube that understands Pidgin
Benny built Couch Commander, which chains openWakeWord, Whisper and Gemma 4 E2B in Ollama on a Mac so spoken commands in English or Nigerian Pidgin control YouTube in Chrome with no internet.