MCPcopy Index your code
hub / github.com/YYuX-1145/Srt-AI-Voice-Assistant

github.com/YYuX-1145/Srt-AI-Voice-Assistant @V4.7.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release V4.7.2 ↗ · + Follow
314 symbols 958 edges 69 files 15 documented · 5%

Browse by type

Functions 282 Types & classes 27 Endpoints 5
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Srt-AI-Voice-Assistant

English | 简体中文 | Français | Other |Documents in other languages are translated by AI and they are provided only for reference.

This project can use multiple AI-TTS to dub for your subtitle or text files.

And provides various convenient auxiliary functions including audio/video transcription and subtitle translation. If you have encountered problems or want to create a feature request, please go to Issues .

Features

  • ✅ Open-source, Friendly WebUI interface, Run locally and Accessible via LAN
  • ✅ Support multiple TTS projects: BV2, GSV, CosyVoice2, AzureTTS, and you can even customize your APIs!
  • ✅ Save personalized settings and presets
  • ✅ Batch mode
  • ✅ Subtitle editing
  • ✅ Subtitle translation
  • ✅ Regenerating Specific Lines
  • ✅ Support multi-speaker dubbing
  • ✅ Re-export subtitles
  • ✅ Extended functions: subtitle transcription for audio/video
  • ✅ I18n

Installation

From Source Code

git clone https://github.com/YYuX-1145/Srt-AI-Voice-Assistant.git
cd Srt-AI-Voice-Assistant/
pip install -r requirements.txt
python Srt-AI-Voice-Assistant.py

Optional Command Line Arguments

You can customize the behavior of the application with the following command-line arguments: | Arguments | Description | | ----- | ----- | | -p | Specify the server port | | --lan | Enable LAN access | | --no_ext | Disable all extensions | | --share | Create a publicly shareable link for the gradio app.| | --server_mode | Activate server mode, which disables all functions that might cause conflicts in multi-user environments. |

And then prepare TTS engines yourself. For Windows users, you can download the packaged version or use the integrated package with GPT-SoVITS.

If the required TTS engine is not on the supported list, you can refer to the documentation to write an extension.


Download the packaged version only

  • Use this version only when there are dependency conflicts or installation issues.

Download the integrated package with GPT-SoVITS (From Hugging Face)

  • The GPT-SoVITS integrated package includes the packaged version, without removing any built-in or pretrained models, and its code for finetuning and inference is the same with the official repository.
  • Note: Packaged Version included in the GPT-SoVITS integrated package may not be the latest version; overwrite it to update.

Core symbols most depended-on inside this repo

Shape

Method 175
Function 107
Class 27
Route 5

Languages

Python100%

Modules by API surface

Sava_Utils/subtitle.py33 symbols
Sava_Utils/utils.py27 symbols
Sava_Utils/edit_panel.py27 symbols
Sava_Utils/tts_engines/gsv.py26 symbols
Sava_Utils/settings.py22 symbols
Sava_Utils/tts_engines/__init__.py18 symbols
Sava_Utils/tts_engines/mstts.py12 symbols
Sava_Extensions/tts_engine/BV2/bv2.py12 symbols
Sava_Extensions/translator/youdao/utils/WebSocketUtil.py12 symbols
extra/indexTTS/indextts2_api.py11 symbols
Srt-AI-Voice-Assistant.py9 symbols
Sava_Utils/subtitle_translation.py9 symbols

For agents

$ claude mcp add Srt-AI-Voice-Assistant \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page