AB
AiBoss
project

Spark-TTS - An AI text-to-speech tool that supports zero-sample speech cloning in both Chinese and English.

Spark-TTS is an open-source, high-efficiency text-to-speech (TTS) tool based on Large Language Models (LLMs) from the SparkAudio team. It reconstructs audio directly from LLM-predicted encodings without requiring additional generative models, achieving zero-sample...

What is Spark-TTS?

Spark-TTS is an open-source, high-efficiency text-to-speech (TTS) tool based on Large Language Models (LLMs) from the SparkAudio team. It reconstructs audio directly from LLM-predicted encodings without requiring additional generative models, achieving zero-shot text-to-speech conversion. Spark-TTS supports both Chinese and English, has cross-language synthesis capabilities, and can generate virtual speaker voices through parameter adjustments (such as gender, pitch, and speech rate) to meet diverse needs.

Main functions of Spark-TTS

  • Zero-sample text-to-speech conversionSpark-TTS can reproduce a speaker's voice without specific speech data, achieving zero-sample speech cloning.
  • Multilingual supportSpark-TTS supports both Chinese and English, enabling cross-language speech synthesis. Users can input text in one language and generate speech output in another language, meeting the speech synthesis needs in multilingual scenarios.
  • Controllable speech generationUsers can customize the virtual speaker's voice by adjusting parameters (such as gender, pitch, speech rate, timbre, etc.) to generate voice content that meets specific needs.
  • Efficient and concise speech synthesisBased on the Qwen2.5 architecture, Spark-TTS does not require additional generative models (such as stream matching models) and directly reconstructs audio from the encoding predicted by LLM, thus improving the efficiency of speech synthesis.
  • Virtual speaker creationUsers can create completely customizable virtual speakers and adjust parameters to give them a unique voice style, suitable for scenarios such as virtual anchors and audiobooks.
  • Voice cloning and style transferSpark-TTS supports extracting style features from a small number of speech samples and transferring them to synthesized speech, enabling the replication and transfer of personalized speech styles.

The technical principles of Spark-TTS

  • High-efficiency speech synthesis based on LLMSpark-TTS is entirely based on the Qwen2.5 architecture, eliminating the complex process of requiring additional generative models (such as stream matching models) in traditional TTS. It reconstructs audio directly from the LLM-predicted encoding, decoupling speech coding through a single process, simplifying the speech synthesis process and improving efficiency.
  • Zero-sample speech cloningSpark-TTS supports zero-shot speech cloning. Without training data for a specific speaker, it can extract style features from a small number of speech samples and transfer them to synthesized speech.
  • Single-process decoupled speech codingSpark-TTS employs a single-process decoupled speech coding technology, which tightly integrates the front-end (text processing) and back-end (audio generation) of speech synthesis, avoiding the complexity caused by the separation of the front-end and back-end in traditional TTS.

Spark-TTS project address

Application scenarios of Spark-TTS

  • Voice assistant developmentSpark-TTS can be used to develop personalized voice assistants. By adjusting parameters such as timbre, speech rate, and intonation, it can generate natural and fluent voice output, providing users with a more humanized and personalized interactive experience.
  • Multilingual content creationThe tool supports both Chinese and English and can achieve cross-language speech synthesis. It is suitable for content creators who need to maintain a consistent voice style across different language versions, such as producing multilingual audiobooks, advertisements, or educational materials.
  • Intelligent customer service and information broadcastingSpark-TTS can convert text messages into natural speech, which can be used in intelligent customer service systems to provide 24/7 service, or to broadcast information in public places such as public transportation, airports, and hospitals.
  • Voice cloning and virtual character dubbingSpark-TTS supports zero-sample voice cloning, which can quickly replicate the voice style of a specific speaker and is suitable for fields such as virtual character voice acting, animation production, or virtual anchors.