// open source audio pipeline
Script → Voice → Production.
Fully automated.
Start for free with gTTS or local Chatterbox TTS — no API key required. When you're ready for production quality, plug in ElevenLabs voices with layered sound effects, music beds, and ambient audio — all orchestrated from a single structured script format.
// how it works
From raw idea to finished audio in five stages.
// tts backends
Three backends, one flag. Swap at any time — stems are compatible across all three.
// audio demos
Sample outputs generated entirely by xil-pipeline — AI script, ElevenLabs voices, layered audio.
// Demo audio coming soon — watch the repo for release announcements.
// quick start
Install, write a script, render audio. That's the whole loop.
# xil-pipeline script format
meta:
title: "The History of Silicon"
format: podcast
output: "episode-01.mp3"
voices:
- id: host
name: "Alex"
elevenlabs_voice_id: "21m00Tcm4TlvDq8ikWAM"
stability: 0.75
- id: guest
name: "Dr. Rivera"
elevenlabs_voice_id: "AZnzlk1XvdvUeBnXmlld"
audio_layers:
music: "assets/intro-theme.mp3"
ambient: "assets/studio-hum.mp3"
script:
- voice: host
text: "Welcome to the show. Today we're diving into silicon."
sfx: "assets/intro-sting.mp3"
- voice: guest
text: "Thanks for having me. It's a fascinating story."
- voice: host
text: "Let's start at the very beginning..."
pause_after: 1.5
# 1. Install
$ pip install xil-pipeline
# 2. Scaffold a new project workspace (creates a copy of the sample script)
$ xil-init my-show --show "My Podcast"
$ cd my-show
# 3. Scan the sample script (pre-flight check)
$ xil-scan scripts/sample_S01E01.md
# 4. Parse into structured JSON
$ xil-parse scripts/sample_S01E01.md --episode S01E01
# 5. Preview TTS character cost (no API calls)
$ xil-produce --episode S01E01 --dry-run
# 6a. Generate voice stems for free — no API key needed
$ xil-produce --episode S01E01 --backend gtts
# 6b. Or with ElevenLabs for production quality (requires API key)
$ export ELEVENLABS_API_KEY="your_key_here"
$ xil-produce --episode S01E01
# 7. Export DAW layers for mixing in Audacity
$ xil-daw --episode S01E01
# 8. Produce final master MP3
$ xil-master --episode S01E01
# Output: master.mp3 ✓
// documentation
Everything you need to build, extend, and contribute to xil-pipeline.
// capabilities
A full audio production stack, driven by code.
--backend gtts|chatterbox|elevenlabs.xil-gui after pip install 'xil-pipeline[gui]'. Share via ngrok for partner access. optional extra// open source
xil-pipeline is early-stage and actively welcoming contributors. Every PR counts.
Fork the repo on GitHub and clone it locally. Read CONTRIBUTING.md to get oriented.
Browse open issues tagged good first issue or help wanted to find a good starting point.
Run the test suite, make your changes, and add tests for new functionality.
Submit your pull request with a clear description. We review quickly and give constructive feedback.