{"id":20349390,"url":"https://github.com/x-d-lab/gpt_sovits_inference","last_synced_at":"2025-09-23T12:32:03.125Z","repository":{"id":224721961,"uuid":"763838139","full_name":"X-D-Lab/GPT_SoVITS_Inference","owner":"X-D-Lab","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T09:46:50.000Z","size":9868,"stargazers_count":21,"open_issues_count":2,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-14T22:31:20.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/X-D-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-27T02:15:55.000Z","updated_at":"2024-10-08T08:42:26.000Z","dependencies_parsed_at":"2024-02-27T12:48:31.334Z","dependency_job_id":null,"html_url":"https://github.com/X-D-Lab/GPT_SoVITS_Inference","commit_stats":null,"previous_names":["x-d-lab/gpt_sovits_inference"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-D-Lab%2FGPT_SoVITS_Inference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-D-Lab%2FGPT_SoVITS_Inference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-D-Lab%2FGPT_SoVITS_Inference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-D-Lab%2FGPT_SoVITS_Inference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/X-D-Lab","download_url":"https://codeload.github.com/X-D-Lab/GPT_SoVITS_Inference/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233975887,"owners_count":18760032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T22:25:43.985Z","updated_at":"2025-09-23T12:31:55.941Z","avatar_url":"https://github.com/X-D-Lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 👏 项目描述\n\n原始[GPT_SoVITS](https://github.com/RVC-Boss/GPT-SoVITS)的效果体验和推理服务较大依赖于基于Gradio的webui界面，为了更方便地推理体验GPT_SoVITS效果，本项目将其推理部分提取并暴露出来，支持一键式的推理部署。\n\n## 🔥 模型列表\n\n| 模型名称 | 模型下载 | 角色特点 | 语言 |\n| :----: | :----: | :----: | :----: |\n| TTS-GPT_SoVITS-sunshine_girl | [🤗]() / [🤖](https://modelscope.cn/models/X-D-Lab/TTS-GPT_SoVITS-sunshine_girl/summary) | 阳光少女 | zh |\n| TTS-GPT_SoVITS-heartful_sister | [🤗]() / [🤖](https://modelscope.cn/models/X-D-Lab/TTS-GPT_SoVITS-heartful_sister/summary) | 知性姐姐 | zh |\n\n- 预训练模型\n\n| 模型名称 | 模型下载 |\n| :----: | :----: |\n| GPT-SoVITS | [🤗]() / [🤖](https://modelscope.cn/models/X-D-Lab/TTS-GPT_SoVITS-pretrained_models/summary) |\n\n\n## ⚒️ 安装依赖\n\n推荐 Python\u003e=3.9,\u003c=3.10\n\n```\nconda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia\n\ngit clone https://github.com/X-D-Lab/GPT_SoVITS_Inference.git\ncd GPT_SoVITS_Inference\npip install -r requirements.txt\n```\n如果您是windows使用者，请下载并将 [ffmpeg.exe](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/ffmpeg.exe) 和 [ffprobe.exe](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/ffprobe.exe) 放置在本项目的根目录下。\n\n\n## 😇 如何使用\n\n详细内容可以参见[example.py](./example.py)\n\n```Python\n\nimport os\nimport sys\n\nproject_root = os.path.abspath('.')\nsys.path.append(project_root)\n\n\nfrom get_tts_wav import GPT_SoVITS_TTS_inference\n\ntext = \"\"\"我是MindChat漫谈心理大模型\"\"\"\n\ninference = GPT_SoVITS_TTS_inference(prompt_language='zh', base_model_id='X-D-Lab/TTS-GPT_SoVITS-pretrained_models', audio_model_id='X-D-Lab/TTS-GPT_SoVITS-sunshine_girl')\n\ninference.get_tts_wav(text=text, wav_save_path=\"./temp/output1.wav\")\n\n```\n## 👏 Contributors\n本项目仍然属于非常早期的阶段，欢迎各位开发者加入！\n\n\u003ca href=\"https://github.com/thomas-yanxin/Sunsimiao/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=X-D-Lab/GPT_SoVITS_Inference\" /\u003e\n\u003c/a\u003e  \n\n### 🙇‍ 致谢\n\n本项目基于[GPT-SoVITS](https://github.com/RVC-Boss/GPT-SoVITS)进行，感谢他们的开源贡献。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-d-lab%2Fgpt_sovits_inference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx-d-lab%2Fgpt_sovits_inference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-d-lab%2Fgpt_sovits_inference/lists"}