SuperAPI AI Directory

Spark-TTS

Spark-TTS is an efficient text-to-speech (TTS) system based on a large language model (LLM), developed by the SparkAudio team, with official PyTorch inference code provided. It is built entirely on Qwen2.5, requiring no additional generative models such as flow matching, and directly reconstructs audio from codes predicted by the LLM, thereby simplifying the pipeline and improving efficiency. The model supports zero-shot voice cloning, reproducing a speaker's timbre without training on a specific voice, and is suitable for cross-lingual and code-switching scenarios. It also supports both Chinese and English, and can synthesize multilingual speech with high naturalness and accuracy. In addition, Spark-TTS supports creating virtual speakers by adjusting parameters such as gender, pitch, and speaking rate. The project provides detailed installation steps (Linux and Windows guides), demo scripts, a Web UI interface, and an Nvidia Triton inference service deployment solution. The official website emphasizes that the model is intended only for academic research, education, and lawful applications, and strictly prohibits unauthorized voice cloning, impersonation, fraud, and other illegal acts.

Open website

About this tool

Spark-TTS is a text-to-speech (TTS) system based on a large language model (LLM), designed to provide efficient, flexible, and powerful speech synthesis capabilities for research and production environments. Its core features include:

Purpose Spark-TTS is used to convert text into natural speech and supports zero-shot voice cloning, meaning it can imitate a specific speaker's voice without additional training on that speaker. The model is intended for academic research, educational purposes, and lawful applications such as personalized speech synthesis, assistive technology, and linguistic research.

Main Capabilities

  • Simple and efficient: built entirely on Qwen2.5, requiring no additional generative models such as flow matching, and directly reconstructing audio from codes predicted by the LLM, simplifying the pipeline and improving efficiency.
  • High-quality voice cloning: supports zero-shot voice cloning, and can seamlessly switch languages and voices in cross-lingual and code-switching scenarios without separate training.
  • Bilingual support: supports Chinese and English, and can perform zero-shot voice cloning to achieve multilingual synthesis with high naturalness and accuracy.
  • Controllable speech generation: creates virtual speakers by adjusting parameters such as gender, pitch, and speaking rate.

How to Use The project provides PyTorch inference code, and the installation guide covers Linux and Windows. Users can create an environment via Conda, download using python or git clone, and run demo commands for inference. You can run python webui.py --device 0 to launch the UI interface, which supports voice cloning (upload a reference audio or record directly) and voice creation. In addition, it also provides alternative implementations of CLI and Web UI (provided by AcTePuKc), and supports Nvidia Triton inference service deployment; see runtime/triton_trtllm/README.md.

Applicable Scenarios Suitable for academic research, education, assistive technology, linguistic research, and lawful personalized voice applications that require high-quality speech synthesis. It supports cross-lingual and code-switching scenarios, making it suitable for multilingual environments.

Limitations

  • The model is limited to academic research, education, and lawful applications, and is strictly prohibited for unauthorized voice cloning, impersonation, fraud, scams, deepfakes, or any illegal activities.
  • When using it, you must comply with local laws, regulations, and ethical standards; the developers are not responsible for misuse.
  • The official project emphasizes responsible AI development and use.

Other Information The project paper was released on March 4, 2025, and Nvidia Triton inference service support was added on March 12, 2025. Future plans include releasing training code and the training dataset VoxBox. The demo page shows some zero-shot voice cloning examples (such as Zhongli from Genshin Impact and Xu Zhisheng).