voicebox icon indicating copy to clipboard operation
voicebox copied to clipboard

Feature request: open engine provider/plugin interface for community TTS models

Open j2msJadeBot opened this issue 5 months ago • 1 comments

Related to #419, but from the opposite direction: if Voicebox needs to keep the core engine surface small, it may also be worth defining an open provider/plugin interface for experimental or community TTS engines.

Problem

Voicebox is already useful as a local voice workbench, but TTS model development is moving quickly. New engines appear with very different tradeoffs: voice cloning quality, latency, memory use, platform support, licensing, reference-conditioning style, and output controls.

If every promising engine has to be integrated directly into the core app, Voicebox inherits a large maintenance and support burden. If engines cannot be added externally, users and model authors have to fork the app or wait for first-party support.

Proposal

Define a documented engine-provider contract so third-party or experimental engines can be added without becoming first-class built-ins immediately.

Possible shape:

  • an engine registry with provider metadata
  • a stable synthesize interface, e.g. text + profile/reference + language + seed + optional instruct/settings → audio file/array
  • capability discovery, e.g.
    • supports cloned voice profiles
    • supports text-only voice design
    • supports reference audio + transcript
    • supports style/personality/instruct prompts
    • supports streaming or only batch generation
    • supports explicit pauses / SSML-like breaks
    • supported languages
    • CPU/GPU/backend requirements
  • provider-specific settings surfaced through a generic schema
  • clear support tiers: core, experimental, community, maybe external
  • docs and examples for implementing a minimal provider

This would complement #419: keep the default UX sane, but avoid closing the door on fast-moving engines.

Example motivation

One concrete example is NeuTTS Air / NeuTTS-style local voice cloning. This is not a request to add NeuTTS specifically as a core model. It is just the kind of engine that would benefit from a provider contract:

  • lightweight local TTS / voice cloning path
  • different voice-preservation and latency tradeoffs from Qwen3-TTS
  • may need pre-encoded reference artifacts rather than only raw uploaded samples
  • platform/runtime constraints can be awkward enough that first-party support may not be worth the burden, while a community provider could still be valuable

Why this matters

An open provider interface could let Voicebox become a practical standard integration point for local TTS engines: model authors can target one contract, users can try engines without forks, and Voicebox can keep a small first-class core without blocking experimentation.

Even a minimal v1 contract would help:

load_model(config)
list_capabilities() -> metadata
prepare_profile(reference_audio, transcript, config) -> profile artifact
synthesize(text, profile/artifact, generation_settings) -> wav/audio
unload_model()

The exact API shape is obviously yours to design, but having a documented boundary would be a big step toward a healthier TTS ecosystem.

j2msJadeBot avatar Jun 20 '26 17:06 j2msJadeBot

It is the issue section tho. It isnt an issue to fix?

iwillshareproject avatar Jun 28 '26 10:06 iwillshareproject