{"id":164,"date":"2025-09-17T19:34:35","date_gmt":"2025-09-17T11:34:35","guid":{"rendered":"https:\/\/blog.xiaolin2000.club\/?p=164"},"modified":"2025-09-25T22:35:25","modified_gmt":"2025-09-25T14:35:25","slug":"bilibili-indextts-%e5%ae%89%e8%a3%85%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/blog.xiaolin2000.club\/?p=164","title":{"rendered":"bilibili indexTTS \u5b89\u88c5\u6559\u7a0b"},"content":{"rendered":"\n<p>IndexTTS \u662f\u4e00\u79cd\u4e3b\u8981\u57fa\u4e8e XTTS \u548c Tortoise \u7684 GPT \u98ce\u683c\u7684\u6587\u672c\u8f6c\u8bed\u97f3 \uff08TTS\uff09\u6a21\u578b\u3002\u5b83\u80fd\u591f\u4f7f\u7528\u62fc\u97f3\u7ea0\u6b63\u6c49\u5b57\u7684\u53d1\u97f3\uff0c\u5e76\u901a\u8fc7\u6807\u70b9\u7b26\u53f7\u63a7\u5236\u4efb\u610f\u4f4d\u7f6e\u7684\u505c\u987f\u3002\u5b83\u589e\u5f3a\u4e86\u7cfb\u7edf\u7684\u591a\u4e2a\u6a21\u5757\uff0c\u5305\u62ec\u6539\u8fdb\u626c\u58f0\u5668\u6761\u4ef6\u7279\u5f81\u8868\u793a\uff0c\u4ee5\u53ca\u96c6\u6210 BigVGAN2\u4ee5\u4f18\u5316\u97f3\u9891\u8d28\u91cf\u3002\u6b64\u7cfb\u7edf\u7ecf\u8fc7\u6570\u4e07\u5c0f\u65f6\u7684\u6570\u636e\u8bad\u7ec3\uff0c\u5b9e\u73b0\u4e86\u6700\u5148\u8fdb\u7684\u6027\u80fd\uff0c\u4f18\u4e8e\u5f53\u524d\u6d41\u884c\u7684 TTS \u7cfb\u7edf\uff0c\u5982 XTTS\u3001CosyVoice2\u3001Fish-Speech \u548c F5-TTS\u7b49\u3002<\/p>\n\n\n\n<span id=\"h2-0\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-e264e17c8af0c08c03df973be4144635\"><strong>1.\u4e0b\u8f7d\u5e76\u5b89\u88c5Conda<\/strong><\/h2>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/www.anaconda.com\/download\/success\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.anaconda.com\/download\/success<\/a><\/p>\n\n\n\n<p>\u9009Miniconda<\/p>\n\n\n\n<p>\u8fd0\u884c\u5b89\u88c5\u5305\uff0c\u6309\u63d0\u793a\u70b9\u51fb\u4e0b\u4e00\u6b65\uff0c\u5f53\u51fa\u73b0\u4e0b\u9762\u754c\u9762\u65f6\uff0c\u5c06\u7b2c2\u9879\u52fe\u9009\uff0c\u7136\u540e\u6309\u63d0\u793a\u8fdb\u884c\u64cd\u4f5c\uff0c\u76f4\u81f3\u5b89\u88c5\u7ed3\u675f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/blog.xiaolin2000.club\/wp-content\/uploads\/2025\/09\/105932c5p4zk4um4fxp4nc.png\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"388\" src=\"http:\/\/blog.xiaolin2000.club\/wp-content\/uploads\/2025\/09\/105932c5p4zk4um4fxp4nc.png\" alt=\"\" class=\"wp-image-167\" srcset=\"https:\/\/blog.xiaolin2000.club\/wp-content\/uploads\/2025\/09\/105932c5p4zk4um4fxp4nc.png 499w, https:\/\/blog.xiaolin2000.club\/wp-content\/uploads\/2025\/09\/105932c5p4zk4um4fxp4nc-300x233.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/figure>\n\n\n\n<span id=\"h2-1\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-0e5da1ae81aadd8a6f75286be89b3445\"><strong>2.\u51c6\u5907\u5b89\u88c5\u6587\u4ef6\u5939<\/strong><\/h2>\n\n\n\n<p>\u4f8b\u5982\uff1af:\\tts<\/p>\n\n\n\n<span id=\"h2-2\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-e124e564d8da844e3685f23e55359385\"><strong>3.\u4e0b\u8f7dindex-tts zip\u538b\u7f29\u5305<\/strong><\/h2>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/index-tts\/index-tts\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/index-tts\/index-tts<\/a><\/p>\n\n\n\n<p>\u4e0b\u8f7d index-tts-main.zip\u5e76\u89e3\u538b\uff0c\u5c06\u89e3\u538b\u540e\u7684\u6587\u4ef6\u5939\u590d\u5236\u5230\u5b89\u88c5\u6587\u4ef6\u5939 f:\\tts \u4e0b\u9762<\/p>\n\n\n\n<p>\u4e3b\u7a0b\u5e8f\u6587\u4ef6\u5939\u4e3a\uff1af:\\tts\\index-tts-main<\/p>\n\n\n\n<span id=\"h2-3\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-07c9eac4cbd33f32febe690c41f5f649\"><strong>4.\u521b\u5efa\u73af\u5883<\/strong><\/h2>\n\n\n\n<p>\u589e\u52a0\u73af\u5883\u8def\u5f84\u5e76\u5c06\u5176\u4f18\u5148\u7ea7\u8bbe\u4e3a\u6700\u9ad8:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda config --prepend envs_dirs \"f:\\tts\"<\/code><\/pre>\n\n\n\n<p>\u521b\u5efa\u73af\u5883<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda create -n \"index-tts-env\" python=3.10<\/code><\/pre>\n\n\n\n<p>\u6fc0\u6d3b\u73af\u5883<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda activate \"index-tts-env\"<\/code><\/pre>\n\n\n\n<span id=\"h2-4\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-1bbdaf1fcedc6f4ca405c648b90b9031\"><strong>5.\u4e0b\u8f7d\u63d0\u901f\u8bbe\u7f6e<\/strong><\/h2>\n\n\n\n<p>\u5c06\u4e0b\u8f7d\u5730\u5740\u8bbe\u4e3a\u6e05\u534e\u5927\u5b66\u955c\u50cf\u670d\u52a1\u5668<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip config set global.index-url https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>pip config set global.trusted-host pypi.tuna.tsinghua.edu.cn<\/code><\/pre>\n\n\n\n<span id=\"h2-5\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-91699bc6d8ae501d21a90739a31b1c0a\"><strong>6.\u5b89\u88c5indexTTS\u6240\u4f9d\u8d56\u7684\u7a0b\u5e8f\u5305<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install -c conda-forge pynini==2.1.6<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install -e \".&#91;webui]\"<\/code><\/pre>\n\n\n\n<span id=\"h2-6\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-ecc434589d36eacc651a83bab1bb958a\"><strong>7.\u4e0b\u8f7d\u6a21\u578b<\/strong><\/h2>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/hf-mirror.com\/IndexTeam\/IndexTTS-1.5\/tree\/main\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/hf-mirror.com\/IndexTeam\/IndexTTS-1.5\/tree\/main<\/a><\/p>\n\n\n\n<p>\u5c06\u4e0b\u8f7d\u7684\u6587\u4ef6\u590d\u5236\u5230\uff1a<\/p>\n\n\n\n<p>f:\\tts\\index-tts-main\\checkpoints \u6587\u4ef6\u5939\u4e0b<\/p>\n\n\n\n<span id=\"h2-7\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-afd9b9123828b3e65e3b7b9a410b4a5e\"><strong>8.\u8fdb\u884c\u6d4b\u8bd5<\/strong><\/h2>\n\n\n\n<p>\u6d4f\u89c8\u5668\u5730\u5740\u680f\uff1a<\/p>\n\n\n\n<p><a href=\"http:\/\/127.0.0.1:7860\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/127.0.0.1:7860\/<\/a><\/p>\n\n\n\n<span id=\"h2-8\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-f9f86edb91c9d1af0e622f950eda25c8\"><strong>9.\u5b89\u88c5gpu\u7248\u672c\u7684pytorch<\/strong><\/h2>\n\n\n\n<p>\u5b89\u88c5\u4ee3\u7801\u4ea7\u751f\u5730\u5740\uff1a<a href=\"https:\/\/pytorch.org\/get-started\/locally\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/pytorch.org\/get-started\/locally\/<\/a><\/p>\n\n\n\n<p>\u4e0b\u9762\u662fcuda 11.8\u7248\u672c\uff0c\u5efa\u8baeGTX10\u3001GTX 20\u7cfb\u5217\u663e\u5217\u4f7f\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118<\/code><\/pre>\n\n\n\n<p>\u4e0b\u9762\u662f\u6700\u65b0\u7684cuda 12.9\u7248\u672c\uff0c\u5efa\u8baeGTX30\u7cfb\u5217\u4ee5\u4e0a\u7684\u663e\u5361\u4f7f\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip3 install --pre torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/nightly\/cu129<\/code><\/pre>\n\n\n\n<span id=\"h2-9\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-3bb10318ff7421adaf96cef06932626a\"><strong>10.\u8fdb\u884c\u6d4b\u8bd5<\/strong><\/h2>\n\n\n\n<p>\u6d4f\u89c8\u5668\u5730\u5740\u680f\uff1a<\/p>\n\n\n\n<p><a href=\"http:\/\/127.0.0.1:7860\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/127.0.0.1:7860\/<\/a><\/p>\n\n\n\n<span id=\"h2-10\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-0c468a2189501bf9b4f6fca280cbd06b\"><strong>11.\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6\uff0cgo.bat\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>@echo off\n\necho \u6b63\u5728\u542f\u52a8 IndexTTS \u6587\u672c\u8f6c\u8bed\u97f3 ...\n\nREM \u6fc0\u6d3bconda\u73af\u5883\n\ncall conda activate index-tts-env\n\nREM \u68c0\u67e5\u73af\u5883\u662f\u5426\u6210\u529f\u6fc0\u6d3b\n\nif errorlevel 1 (\n\necho \u65e0\u6cd5\u6fc0\u6d3bconda\u73af\u5883: index-tts-env\n\ngoto :end\n\n)\n\nREM \u6267\u884cPython\u811a\u672c\n\npython webui.py\n\nREM \u68c0\u67e5\u811a\u672c\u662f\u5426\u6210\u529f\u6267\u884c\n\nif errorlevel 1 (\n\necho Python\u811a\u672c\u6267\u884c\u5931\u8d25\n\n) else (\n\necho Python\u811a\u672c\u6267\u884c\u5b8c\u6210\n\n)\n\n:end\n\npause<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>IndexTTS \u662f\u4e00\u79cd\u4e3b\u8981\u57fa\u4e8e XTTS \u548c Tortoise \u7684 GPT \u98ce\u683c\u7684\u6587\u672c\u8f6c\u8bed\u97f3 \uff08TTS\uff09\u6a21\u578b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":274,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[53,54],"class_list":["post-164","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aps","tag-53","tag-54"],"_links":{"self":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":13,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/209"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/media\/274"}],"wp:attachment":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}