Views
No views yet
Inference Overview of Voice Cloning![]() |
Inference Overview of Controlled Generation![]() |
1git clone https://github.com/SparkAudio/Spark-TTS.git
2cd Spark-TTS1conda create -n sparktts -y python=3.12
2conda activate sparktts
3pip install -r requirements.txt1from huggingface_hub import snapshot_download
2
3snapshot_download("MrEzzat/Spark_TTS_Arabic", local_dir="pretrained_models/Spark-TTS-0.5B")1mkdir -p pretrained_models
2
3# Make sure you have git-lfs installed (https://git-lfs.com)
4git lfs install
5
6git clone https://huggingface.co/MrEzzat/Spark_TTS_Arabic1cd example
2bash infer.sh1python -m cli.inference \
2 --text "text to synthesis." \
3 --device 0 \
4 --save_dir "path/to/save/audio" \
5 --model_dir pretrained_models/Spark-TTS-0.5B \
6 --prompt_text "transcript of the prompt audio" \
7 --prompt_speech_path "path/to/prompt_audio"python webui.py, which allows you to perform Voice Cloning and Voice Creation. Voice Cloning supports uploading reference audio or directly recording the audio.| Voice Cloning | Voice Creation |
|---|---|
![]() | ![]() |
@misc{wang2025sparktts,
title={Spark-TTS: An Efficient LLM-Based Text-to-Speech Model with Single-Stream Decoupled Speech Tokens},
author={Xinsheng Wang and Mingqi Jiang and Ziyang Ma and Ziyu Zhang and Songxiang Liu and Linqin Li and Zheng Liang and Qixi Zheng and Rui Wang and Xiaoqin Feng and Weizhen Bian and Zhen Ye and Sitong Cheng and Ruibin Yuan and Zhixian Zhao and Xinfa Zhu and Jiahao Pan and Liumeng Xue and Pengcheng Zhu and Yunlin Chen and Zhifei Li and Xie Chen and Lei Xie and Yike Guo and Wei Xue},
year={2025},
eprint={2503.01710},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2503.01710},
}