Local InferenceOpen SourceFreeActiveLocal hardware· beginner · ~15 min setup
Local Text-to-Speech that Replaces ElevenLabs
Generate natural speech locally with Piper instead of an ElevenLabs subscription.
Run this workflow
See exactly what it produces before you build it.
Build this with your agent
One copy-paste hands Claude Code, Codex, or Cursor the full recipe, steps included, nothing to fetch.
Intended Use
Anyone generating voiceovers, podcasts, or batch audio at non-trivial volume who currently pays ~$22/mo for ElevenLabs.
Not for
- Cloned voices, Piper ships fixed voices
- Real-time streaming under 100ms latency
Replaces ElevenLabs
The Stack
Tested Against
piper@1.2.0voice-model:en_US-amy-mediumSide effects & data flow
- Network
- none, local only
- Writes
- ./out.wav
- Credentials
- none required
Steps
- 1
Install Piper
Install the Piper CLI via pip.
pip install piper-tts - 2
Synthesize speech
Pipe text to Piper and write a WAV file.
echo "Hello from local TTS" | piper --model en_US-amy-medium.onnx --output_file out.wav
Eval, 1 fixture
Last passed: verified 1mo agosmoke-synthrubrictimeout 60s · max $0Judge: heuristic-file-check Rubric: Pass if ./out.wav exists and is larger than 10 KB.
Results
Saves ~$22/month; unlimited generation offline.
Did this work for you?
Our CI checks the setup runs. You tell us if the whole thing worked. Tell us straight.
Related workflows
- Prove your meeting-notes pipeline never phones home (and gates on consent)
- Unsloth: write parametric memory in with a fine-tune config
- Validate an Apple Core AI export entry and skill plugin before you touch a Mac
- Serve NVIDIA Nemotron 3 Ultra yourself for high-throughput agents (vLLM)
- Serve GLM-5.1 yourself for long-horizon agentic coding (vLLM)
- Serve MiniMax M3 yourself for agentic coding (vLLM)
Liked this workflow?
Get new verified workflows in WebAfterAI, three issues a week (Tue, Thu, Sat).