A seamless, state-of-the-art Web UI for high-fidelity speech synthesis utilizing the Qwen3-TTS architecture.
- Custom Voice: Select a prebuilt speaker identity and combine it with expressive style modifiers such as "happy", "whispered", or "shouting".
- Voice Design: Synthesize unprecedented speaker profiles natively by inputting explicit textual descriptions (e.g., "Old British man with a deep, rasping tone").
- Voice Cloning (Zero-Shot): Provide a brief reference audio file of an individual; the underlying model extracts and replicates the target's vocal profile seamlessly.
- Continuous Generation: Smart syntax chunking logic partitions elongated string inputs into functional vectors, avoiding token buffer limits to output continuous long-form audio streams.
- State Morphing: Dynamically adapts interface structures, configuration panels, and instructions according to the selected inference mode gracefully, eliminating DOM reloading.
- Ambient Hardware Awareness: Intelligent navigation-bar badges evaluate deployment environments and explicitly denote active backend inference hardware in real-time (MLX, CUDA, or CPU).
- Execution Skeletons: Employs minimalist high-contrast skeletal loaders and chronological localized history cards optimal for unencumbered, sustained user testing sequences.
- Robust Resource Management: Implements discrete UUID-bound temp operations, aggressive Blob-revocation on the frontend preventing Zombie DOM elements and memory leaks, alongside dedicated background garbage collection on sequential API calls.
We provide comprehensive one-liner bootstrapper scripts bundled with automated environment isolation, browser redirecting (if Python dependencies are missing), and dynamic active-port conflict resolution algorithms.
Deploy via terminal within the underlying directory:
chmod +x start.sh
./start.shInitialize the environment via Command Prompt or execute start.bat directly:
start.batNote on Environment Check: The startup scripts enforce a continuous diagnostic test for Python availability. If the engine is missing, they autonomously navigate your system browser to the official Python download registry, pause the local sequence, and intuitively resume initialization upon installation validation.
For explicit dependency management via standard CLI conventions:
Ensure you are running Python 3.10+.
python3 -m venv .venv
source .venv/bin/activate # Mac/Linux
# .venv\Scripts\activate.bat # Windowspip install --upgrade pip
pip install -r requirements.txtuvicorn app:app --host 0.0.0.0 --port 8000Proceed to http://localhost:8000/ in your browser to interact with the API interface.
- Frontend: Vanilla HTML5, ES6 JavaScript, and structural CSS3 variables ensuring strict layout isolation. Zero external JS framework footprint allows maximum functional optimization.
- Backend API: Fast, asynchronous local request routing running on Python utilizing
FastAPIcombined with anUvicornbase. - Inference Engine: Quantized routines optimized heavily for
MLX(mlx-audio) on Apple M-Series Silicon, supported by Python runtime environment bridges extending compatibility across x86 structural processing units (CUDA / ROCm / CPU fallback operations).

