VoiceStudio: A Self-Hosted ElevenLabs With 17 Swappable TTS Engines, an MCP Server That Lets Agents Speak, and a License That Bites Only If You Forget to Read It — aniketkarneai.com | aniketkarneai.com
Wednesday, November 11, 2026 Field notes on autonomous systems ● Amsterdam, NL
daily

VoiceStudio: A Self-Hosted ElevenLabs With 17 Swappable TTS Engines, an MCP Server That Lets Agents Speak, and a License That Bites Only If You Forget to Read It

debpalash/VoiceStudio wraps CosyVoice 3, IndexTTS 2.5, MOSS-TTS-v1.5, OmniVoice, dots.tts, PocketTTS and eleven other engines behind a single Electron desktop UI, a local MCP server at /mcp, and a 646-language transcription surface — all under AGPL-3.0 with a quietly separate clause on the model weights.

There’s a 646 in the description of debpalash/VoiceStudio and the number keeps showing up. 646 languages for transcription. 17 TTS engines selectable from a dropdown. 9 STT engines selectable from a dropdown. 8 releases between Aug 14 and Oct 13. 69,000+ stars and a quiet move from Tauri to Electron at v0.5.3. And one license clause — buried in LICENSE-NOTICE.md — that says the AGPL on the app does not extend to “model weights, tokenizers, voices and generated-output conditions,” which means the open-source pull is real, and so is the part where the actual voices you ship might not be.

The interesting engineering here isn’t the cloning. ElevenLabs already did that story in 2024 and a dozen open-source forks (OpenVoice, Coqui, XTTS, GPT-SoVITS, CosyVoice) have been trying to match it since. The interesting engineering is the router: the way VoiceStudio pins every engine behind a single backend protocol, then exposes the same surface to three callers — the Electron UI, a curl-friendly local HTTP API, and a Model Context Protocol server at /mcp. Pick OmniVoice for the demo clip, switch to IndexTTS 2.5 for a Chinese dub, switch to MOSS-TTS-v1.5 for an audiobook, and the only thing that changes is OMNIVOICE_TTS_BACKEND or a single menu pick. The agent that wants to talk doesn’t care which engine fired.

I read the README, the engine guide (docs/engines/README.md), the MCP server spec (docs/mcp.md), the audio-quality controls (docs/audio-quality.md), the engine-acceptance bar (docs/engines/engine-acceptance.md), the migration notes for the Tauri → Electron cut, and a chunk of the changelog through v0.5.7. Here’s what’s actually there.

The router, in one line

VoiceStudio’s Python backend exposes a stage-based pipeline — load voice profile, reference audio and text into a request, run the resolved engine, hand back a WAV. The same backend serves the Electron UI, a local HTTP server, and an MCP mount. The selection surfaces are:

  • Model Catalogue in the desktop UI (with a Ctrl/Cmd+E quick-switch),
  • OMNIVOICE_TTS_BACKEND / OMNIVOICE_ASR_BACKEND env vars for a pinned engine,
  • GET /engines returning a JSON manifest with per-engine capabilities (max_ref_seconds, ref_strategy).

The pinned-engine pattern is the operational point. Voice cloning is not a single model. It’s a property the user expects across engines that have very different reference-clip rules. The engine guide spells them out:

EngineReference clip useWhat happens with a longer clip
VoiceStudio (OmniVoice), OmniVoice (subprocess)up to 20 spicks the 15 s passage with the most speech, transcribes it (best_window)
VoxCPM2up to 30 skeeps the first 30 s after edge-silence trim (head)
Other enginesnot verifiedthe full clip is passed through (null)

A whole-clip transcript cannot match a passage the engine cuts out, so transcripts are rejected when the clip is over the limit — with the literal error code [clone_ref_too_long]. That single string tells the operator the engine ran the request through its own windowing logic, not the app’s. The error is the boundary.

17 TTS engines, real differences

The engine catalog in docs/feature-catalog.md lists 17 TTS engines, with cloning support, design support, and device coverage that varies per entry. Picking the ones that change the trade-off space:

  • OmniVoice (the default) — runs on CUDA, MPS, or CPU. Default-shipping voice cloning with up to 20 s of reference audio, 8–64 sampling steps. The engine that ships the result if you don’t pick anything.
  • CosyVoice 3 — CUDA/CPU cloning. The Alibaba open-source clone stack; the engine that wins on Mandarin prosody if that’s your dubbing target.
  • IndexTTS 2.5 — multilingual cloning (Chinese, English, Japanese, Spanish, Arabic), with emotion references, emotion vectors, and text-directed emotion. Runs in a dedicated subprocess so its transformers<5 constraint doesn’t poison VoiceStudio’s main runtime. Installs in a separate Python 3.11 venv with at least 12 GB of free space; on AMD ROCm hosts the installer pulls PyTorch’s ROCm build because upstream IndexTTS 2.5’s config defaults to CUDA wheels that can’t see an AMD GPU.
  • MOSS-TTS-v1.5 — 8B-parameter model, CUDA/CPU cloning, with a license gate that requires an env var to activate. The heavyweight choice when a generation needs more capacity than OmniVoice can give.
  • dots.tts — 2B parameters, CUDA/CPU, explicit “not Windows” caveat, voice cloning enabled, env-var activation.
  • Confucius4-TTS — CUDA/CPU, cloning + voice design.
  • VoxCPM2 — CUDA/MPS/CPU, cloning + voice design, up to 30 s reference window, native 48 kHz output.
  • PocketTTS (Kyutai) — CPU only, not Intel Mac, voice cloning, with a uv sync --extra pockettts install plus a separate license accept.
  • Supertonic-3 — CPU, 7 preset voices (no cloning), sampling slider clamped to 5–12 steps to match the adapter’s range.
  • KittenTTS — CPU, 8 preset voices (no cloning), 2.3 GB on first model download.
  • MLX-Audio — Apple Silicon only; wraps Kokoro, CSM, Dia and other MLX-format speech models. The right pick on a Mac for batch jobs.
  • GPT-SoVITS — external server, cloning, expects its own API server. The escape hatch when you already have a GPT-SoVITS deployment.
  • Sherpa-ONNX — CUDA/CPU, no cloning, the option for constrained devices.
  • audio.cpp (Breeze-TTS-2) — CPU + Vulkan/Metal/CUDA/HIP/ROCm where compiled, cloning + voice design, prebuilt binary, research / non-commercial weights license. This is the one that makes the LICENSE-NOTICE.md caveat operational.

The thing the README doesn’t lead with: eleven of these engines require a license acceptance, an env var, or a separate venv to enable. VoiceStudio’s model catalogue refuses to lie about availability — the row stays generic (“Unavailable on this machine”) and the “Why?” panel links to the engine guide. The reason the row stays generic is the availability probe can carry local paths or credentials; an error message verbatim would leak them. The engine guide page is where the real requirements live. The probe is honest by being silent.

The MCP server, and what “let the agent speak” actually looks like

docs/mcp.md describes a server mounted on the running backend at /mcp, so the agent’s tools become reachable the moment VoiceStudio is open. The tool list is short and named with the verbs an agent actually wants:

  • generate_speech — text to WAV by default; uses the agent’s bound voice unless a profile_id is passed; the language is the voice’s saved language unless Auto is explicit; format="opus" or format="ogg" requires files or both output mode plus an installed ffmpeg.
  • clone_voice — reference audio (base64 or ref_audio_path under the base path) to a new voice profile, returns a profile_id.
  • describe_voice — a free-text voice description to the voice-design attributes it maps to (gender, age, pitch, style, accent), plus the words it couldn’t map. Saves nothing.
  • design_voice — voice description to a new design voice profile with a stable identity, fixed-seed sample renders at save time. Returns a profile_id. Refuses a description that maps to no attribute.
  • transcribe — audio (base64 or audio_path under the base path) to text in 646 languages.
  • list_voices / list_personalities / list_languages — enumerate what’s available.
  • check_health — backend status + active GPU device.

The transport-shape choices are where the engineering shows. The agent pays for every byte it gets in context, and a WAV as base64 is a lot of bytes. Two env vars move audio out of the conversation and onto disk:

VariableValuesEffect
OMNIVOICE_MCP_OUTPUT_MODEresources (default) · files · bothresources returns wav_base64 inline. files returns audio_url (the render served at /audio/<audio_id>.<format>) and, when a base path is set, output_path — the requested format written into that directory. both returns everything.
OMNIVOICE_MCP_BASE_PATHa directorySecurity boundary for file-shaped traffic. transcribe(audio_path=…) and clone_voice(ref_audio_path=…) read only from inside it; relative paths resolve against it; absolute paths must already lie within it; symlinks are resolved before the check. With no base path configured, path arguments are refused with a reason.

The base path is a real filesystem boundary, not a documentation courtesy. Input files are opened through “confined, no-follow descriptors after path validation, so replacing a checked file or parent directory cannot redirect a read outside the base path.” The same boundary gates file-mode writes. With OMNIVOICE_MCP_OUTPUT_MODE=files, every render is written to disk and the agent gets back a path. No base64 in conversation, no unbounded WAV growth, no path traversal.

The base path has to be visible to both the backend and the agent. If they run in different containers or filesystem namespaces, one shared directory has to be mounted at the same path in both. The README notes “the agent’s working directory is suitable only when that shared mount exists.” That’s the kind of constraint that bites only when a deployment gets clever.

There’s a timeout layer underneath that is more interesting than the env vars suggest:

  • OMNIVOICE_MCP_TIMEOUT_S — fixed wait for every tool. Unset, each tool waits as long as the backend itself would, plus 30 s, and never less than 120 s.
  • OMNIVOICE_ASR_TRANSCRIBE_TIMEOUT_S (300 s by default, queue time included) — separate budget for transcription.
  • OMNIVOICE_GPU_QUEUE_TIMEOUT_S (1,800 s by default) — backend’s queue wait for generation.
  • The final wait is the queue wait plus the larger of OMNIVOICE_GENERATE_TIMEOUT_S and OMNIVOICE_CPU_GENERATE_TIMEOUT_S, plus 1 s per 40 characters past 1,200.

The plus-1s-per-40-characters is the part I keep coming back to. Long-form generation (audiobook chapters, dubbing a 30-minute video) crosses the 1,200-character threshold and starts adding to the timeout budget. A 5,000-character text adds (5000-1200)/40 = 95 seconds. A 30,000-character text adds 720 seconds — 12 minutes. That’s the budget the agent can plan around. The README says it explicitly so the agent’s sleep is sized right.

What changed at v0.5.3, and why the Tauri → Electron cut is not a downgrade

The changelog calls it: “0.5.3 — A new look. Now on Electron.” docs/electron-migration.md is blunt. Electron is the only maintained desktop app. Tauri reached its final release at v0.5.3 and is archived. Existing Tauri downloads remain available for migration but no new Tauri installer is being shipped.

The migration story is the load-bearing part:

  1. Find the Tauri data directory in Settings and back up the entire directory while the app is closed. Keep reference audio stored outside it too.
  2. Install Electron for the platform. Keep Tauri and its data until verification. Do not run both apps against the same data directory.
  3. Check Electron’s configured data location before generating. Use its supported storage/backend configuration to select the existing data directory.
  4. Verify voices, projects, history, and model locations. Generate a short test clip before removing the old app.

The shells share the backend, but shell preferences and credentials are not guaranteed to migrate. Recheck devices, shortcuts, theme, backend address and permissions. No automatic installer-to-installer migration is provided.

The reason this matters more than the wording: the Electron runtime checks required Python imports before reusing an existing runtime. An incomplete environment opens setup instead of repeatedly crashing. Automatic selection skips broken legacy runtimes and uses the Electron runtime location, leaving Tauri data intact. An explicitly selected runtime is not silently replaced during startup. If that location contains an incomplete environment Electron does not own, choosing setup creates a separate runtime in Electron’s default location instead of modifying or taking ownership of the existing environment.

A new custom runtime destination remains selectable. Setup creates and owns it only when that directory does not already exist; existing unowned roots stay untouched even if their project subdirectory is missing. Dependency checks ignore inherited PYTHONPATH and PYTHONHOME, matching backend startup. If repair switches away from an unowned environment and a healthy Electron runtime already exists, it is reused without reinstalling dependencies.

The “Tauri updater must never receive an Electron installer” line is the operational guardrail. The Tauri updater feeds retain signed Tauri payloads at immutable URLs. If an old client tried to update through that feed and got a misrouted Electron payload, the runtime would break. The v0.5.3 release locks that down.

The 0.5.7 release (Oct 13) added the CPU-only support that closes the loop: “VoiceStudio now runs on PCs without a GPU and recovers instead of giving up. Voice cloning uses the speech-to-text model you installed from Model Catalogue, GPU-less computers get the small CPU PyTorch build, and slow or busy backends are no longer reported as failed.” That’s the change that brought VoiceStudio into the “set up a workstation, no GPU” category. The CPU build is the 5 GB PyTorch install — bigger than the typical small model install but a single one-time download.

v0.5.7’s quieter changes

The same release added a GPU acceleration panel with “honest Radeon reporting” — which I read as a fix for the “GPU acceleration on” status that meant nothing on hosts without a working GPU driver. The changelog also adds the Ask VoiceStudio Agent, a batch of fixes to dubbing, audiobooks, downloads and dictation, and a small operational note: “the open-source app no longer contains a licence-key client.” The unused license-key client and its Lemon Squeezy network call were removed in PR #2812. That’s the kind of change that doesn’t show up in a feature list but matters for the trust surface — a self-hosted app calling out to a payment provider on launch is a different product from a self-hosted app that doesn’t.

The unreleased line at the top of the changelog continues the trend: GitHub Sponsors is now the lead support route, the licence-key client is gone, the expanded sidebar shows the installed app version beneath VoiceStudio and clearly marks development builds. The version-string honesty is the kind of fix that takes one PR and removes a class of bug-report noise.

The license split, and where it bites

LICENSE says AGPL-3.0. LICENSE-NOTICE.md qualifies it: “Model weights, tokenizers, voices and generated-output conditions are separate; a paid app licence does not grant those rights. Clone voices only with permission.” The Model Manager shows versioned model-source notices, evidence links, and unresolved review gaps from the shared inventory at docs/licensing/model-inventory.md. Its optional reviewed-file preview at docs/licensing/model-review-workflow.md “does not enforce ordinary downloads or certify commercial permission.”

Concretely: a download of audio.cpp (Breeze-TTS-2) flags “research / non-commercial weights.” PocketTTS, MOSS-TTS-v1.5, dots.tts, Confucius4-TTS — each carries its own license activation step before the engine becomes available. The engine-acceptance bar at docs/engines/engine-acceptance.md (which I read but won’t quote at length) names the floor a new engine must clear before it ships, and that floor includes a license review. The “honest” label is earned by surfacing the gap rather than papering over it.

The 0.5.3 removal of the licence-key client is the second half of the story. A paid app licence used to be a thing; it isn’t now. The unpaid app is the app. The app’s AGPL covers the code. The model weights, tokenizers, voices, and generated-output conditions are not under that AGPL. Shipping VoiceStudio as a hosted service to paying customers requires the AGPL source-disclosure path; shipping voices that the underlying engines reserve commercial rights to requires a separate conversation with each engine’s rightsholder. The README surfaces both lines, in that order, with a link each. This is the right shape for a 2026 open-source project of this size.

How the agent actually uses this

The README’s install-with-prompt line is the simplest version: paste into a coding agent (Claude Code, Codex, Cursor) —

Install the VoiceStudio Electron app on this device and verify it works, following https://github.com/debpalash/VoiceStudio/blob/main/docs/install/agent.md

— and the agent guide walks the install through hardware detection, reusing existing data, asking before model downloads, and a test generation. Agents that support skills can also run npx skills add debpalash/VoiceStudio, which installs the voicestudio skill (audio workflows) or the voicestudio-maintainer skill (repo maintenance) as a real agent skill — not a wrapper, an installable skill. That’s the on-ramp the 17 engines are designed for: not “humans clicking through a desktop UI,” but “an agent binding a voice profile once and then calling generate_speech per turn.”

The honest expectation here, after reading the docs: VoiceStudio is at the point where the engine router is the stable artifact, the engine set is the variable part, and the agent surface is the load-bearing public API. The engines come and go (MOSS-TTS-v1.5 was added recently, audio.cpp came in the same window, GPT-SoVITS is the escape hatch when none of the bundled engines fit). The router stays. The MCP server stays. The license split stays — because the engines are upstream projects whose licenses VoiceStudio can’t relicense.

The version that ships on the day you read this is probably not v0.5.7. The unreleased line is moving. The right way to think about VoiceStudio is as the integration layer — the desktop shell, the HTTP API, the MCP mount, the engine router, the license surfacing — sitting underneath whichever open-source TTS engine fits the deployment. ElevenLabs is the SaaS alternative; VoiceStudio is what self-hosted speech looks like when the project admits it’s a router, not a model.

Trade-offs and what it doesn’t fix

The license split is the only thing that affects whether the result can ship in a paid product. Read LICENSE-NOTICE.md before you start. The license the app ships under (AGPL-3.0) is not the license the underlying models ship under. The reviewed-file preview at docs/licensing/model-review-workflow.md is a workflow; it does not certify commercial permission. It links to the right pages and asks you to make the call. The agent’s first call into the MCP server should be check_health, the second should be list_voices, the third should be reading whatever docs/licensing/model-inventory.md says about each engine in that list.

The Windows-on-ARM support is experimental in the README’s words, not a soft launch. Native ARM64 app, x64 Python backend under emulation, CPU only. The validation is pending. A Snapdragon X owner should plan for a longer first-run setup, not for the Windows-x64-on-ARM-EC story to work out of the box.

The benchmark table at docs/benchmarks.md is empty by design. The harness (scripts/bench_pipeline.py) emits RTF and peak VRAM numbers, refuses to start a stage without enough free RAM, unloads models between stages. The point is “this engine on this class of GPU ≈ this fast,” not a leaderboard. The table will fill from community PRs. Until then, “no verified rows yet” is the honest read.

The 17-engine count is the surface; the operational count is lower. KittenTTS, PocketTTS, Supertonic-3 give you preset voices with no cloning. MLX-Audio is Apple Silicon only. audio.cpp is research-only on the weights. The realistic self-hosted-cloning production setup is OmniVoice, CosyVoice 3, IndexTTS 2.5, MOSS-TTS-v1.5, VoxCPM2, dots.tts, and Confucius4-TTS, gated by what their respective license activations allow. The rest are demo options and escape hatches. The README doesn’t say this in one sentence, but the per-engine Runs on and Enabled by columns say it across 17 rows.

The CPU install is the 5 GB PyTorch build. It works, but it isn’t small. A laptop that just wants to try VoiceStudio without a GPU is committing 5 GB before it hears a voice. The voice design workflow that runs entirely on CPU is possible; the inference-time wall is the real constraint, not the install size.

References and where to dig further

  • VoiceStudio repository: github.com/debpalash/VoiceStudio
  • Engine catalog: docs/feature-catalog.md (17 TTS engines, 9 STT engines, per-engine cloning + device support)
  • MCP server spec: docs/mcp.md (tools, env vars, base path boundary, timeout ladder)
  • Audio quality controls: docs/audio-quality.md (WAV precision 16/24/32-bit, sampling steps 5–64)
  • Engine acceptance bar: docs/engines/engine-acceptance.md (the floor a new engine must clear)
  • Tauri → Electron migration: docs/electron-migration.md (no automatic migration, data directory handling, runtime replacement rules)
  • License split: LICENSE-NOTICE.md, docs/licensing/model-inventory.md, docs/licensing/model-review-workflow.md
  • Benchmarks harness: docs/benchmarks.md, scripts/bench_pipeline.py (RTF, peak VRAM, refuses to start without enough RAM)
  • Agent install prompt and skills: docs/install/agent.md, npx skills add debpalash/VoiceStudio
  • v0.5.7 changelog: CHANGELOG.md (CPU-only support, ASR-from-Catalogue, removed licence-key client, GitHub Sponsors as the lead support route)
  • Related project: k2-fsa/OmniVoice (the default TTS engine that the project’s old name — “OmniVoice Studio” — gives away)
  • License caveat, again: AGPL-3.0 on the app, separate terms on model weights, tokenizers, voices, and generated-output conditions. Read it before you ship.
Aniket Karne
DevOps & AI Engineer · Amsterdam
Back to all posts
Reader correspondence

Comments

Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.