alltalk_tts

alltalk_tts

开源多功能语音合成框架

AllTalk TTS是一个开源的语音合成框架,支持本地和自定义模型,提供API接口和第三方集成。它具备模型微调、批量生成、低显存模式等功能,可独立运行或与多种AI平台集成。该项目提供便捷安装工具、详细文档和清晰控制台输出,适用于多样化的语音合成应用场景。

AllTalkTTS语音合成文本生成APIGithub开源项目

AllTalk TTS

AllTalk version 2 BETA availability. (How to get version 2)

AllTalk v2 BETA is out/available for download. See this link here for the discussion, this link here to download it and this link here for screenshots.

AllTalk v2 significantly enhances v1, introducing new features while addressing many previous issues. Although still evolving, v2 offers a stable build and is the recommended version for most users as this is where update and development work is now focused.

AllTalk version 1 (Below)

AllTalk version 1 is an updated version of the Coqui_tts extension for Text Generation web UI. Features include:

  • Can be run as a standalone application or part of :
    • Text-generation-webui link
    • SillyTavern link
    • KoboldCPP link
  • Simple setup utlilty Windows & Linux.
  • API Suite and 3rd Party support via JSON calls: Can be used with 3rd party applications via JSON calls.
  • Model Finetuning: Train the model specifically on a voice of your choosing for better reproduction.
  • Local/Custom models: Use any of the XTTSv2 models (API Local and XTTSv2 Local).
  • Bulk TTS Generator/Editor: Generate hours of TTS into one big file or have something read back to you demo.
  • DeepSpeed: A 2-3x performance boost generating TTS. Screenshot
  • Low VRAM mode: Great for people with small GPU memory or if your VRAM is filled by your LLM.
  • Custom Start-up Settings: Adjust your default start-up settings. Screenshot
  • Narrarator: Use different voices for main character and narration. Example Narration
  • Optional wav file maintenance: Configurable deletion of old output wav files. Screenshot
  • Documentation: Fully documented with a built in webpage. Screenshot
  • Clear Console output: Clear command line output for any warnings or issues.

🟦 Screenshots

imageimageimageimage
imageimageimageimage

Index


🛠️ About this project & me

AllTalk is a labour of love that has been developed, supported and sustained in my personal free time. As a solo enthusiast (not a business or team) my resources are inherently limited. This project has been one of my passions, but I must balance it with other commitments.

To manage AllTalk sustainably, I prioritize support requests based on their overall impact and the number of users affected. I encourage you to utilize the comprehensive documentation and engage with the AllTalk community discussion area. These resources often provide immediate answers and foster a supportive user network.

Should your inquiry extend beyond the documentation, especially if it concerns a bug or feature request, I assure you I’ll offer my best support as my schedule permits. However, please be prepared for varying response times, reflective of the personal dedication I bring to AllTalk. Your understanding and patience in this regard are greatly appreciated.

It's important to note that I am not the developer of any TTS models utilized by AllTalk, nor do I claim to be an expert on them, including understanding all their nuances, issues, and quirks. For specific TTS model concerns, I’ve provided links to the original developers in the Help section for direct assistance.

Thank you for your continued support and understanding.


💖 Showing Your Support

If AllTalk has been helpful to you, consider showing your support through a donation on my Ko-fi page. Your support is greatly appreciated and helps ensure the continued development and improvement of AllTalk.


🟩 Quick Setup (Text-generation-webui & Standalone Installation)

AllTalk version 1 - Quick setup scripts are available for users on Windows 10/11 and Linux. Instructional videos for both setup processes are linked below.

  • Ensure that Git is installed on your system as it is required for cloning the repository. If you do not have Git installed, visit Git's official website to download and install it.
  • Windows users must install C++ development tools for Python to compile Python packages. Detailed information and a link to these tools can be found in the help section Windows & Python requirements for compiling packages.
<details> <summary>QUICK SETUP - Text-Generation-webui</summary> <br>

For a step-by-step video guide, click here.

To set up AllTalk within Text-generation-webui, follow either method:

  1. Download AllTalk Setup:

    • Via Terminal/Console (Recommended):
      • cd \text-generation-webui\extensions\
      • git clone https://github.com/erew123/alltalk_tts
    • Via Releases Page (Cannot be automatically updated after install as its not linked to Github):
      • Download the latest alltalk_tts.zip from Releases and extract it to \text-generation-webui\extensions\alltalk_tts\.
  2. Start Python Environment:

    • In the text-generation-webui folder, start the environment with the appropriate command:
      • Windows: cmd_windows.bat

      • Linux: ./cmd_linux.sh<br><br>

      If you're unfamiliar with Python environments and wish to learn more, consider reviewing Understanding Python Environments Simplified in the Help section.

  3. Run AllTalk Setup Script:

    • Navigate to the AllTalk directory and execute the setup script:
      • cd extensions
      • cd alltalk_tts
      • Windows: atsetup.bat
      • Linux: ./atsetup.sh
  4. Install Requirements:

    • Follow the on-screen instructions to install the necessary requirements. It's recommended to test AllTalk's functionality before installing DeepSpeed.

Note: Always activate the Text-generation-webui Python environment before making any adjustments or using Fine-tuning. Additional instructions for Fine-tuning and DeepSpeed can be found within the setup utility and on this documentation page.

</details> <details> <summary>QUICK SETUP - Standalone Installation</summary> <br>

For a step-by-step video guide, click here.

To perform a Standalone installation of AllTalk:

  1. Get AllTalk Setup:

    • Via Terminal/Console (Recommended):
      • Navigate to your preferred directory: cd C:\myfiles\
      • Clone the AllTalk repository: git clone https://github.com/erew123/alltalk_tts
    • Via Releases Page (Cannot be automatically updated after install as its not linked to Github):
      • Download alltalk_tts.zip from Releases and extract it to your chosen directory, for example, C:\myfiles\alltalk_tts\.
  2. Start AllTalk Setup:

    • Open a terminal/command prompt, move to the AllTalk directory, and run the setup script:
      • cd alltalk_tts
      • Windows: atsetup.bat
      • Linux: ./atsetup.sh
  3. Follow the Setup Prompts:

    • Select Standalone Installation and then Option 1 and follow any on-screen instructions to install the required files. DeepSpeed is automatically installed on Windows based system, but will only work on Nvidia GPU's. Linux based system users will have to follow the DeepSpeed installation instructions.

If you're unfamiliar with Python environments and wish to learn more, consider reviewing Understanding Python Environments Simplified in the Help section.

Important: Do not use spaces in your folder path (e.g. avoid /my folder-is-this/alltalk_tts-main) as this causes issues with Python & Conda.

</details>

Refer to 🟩 Other installation notes for further details, including information on additional voices, changing IP, character card notes etc.

If you wish to understand AllTalks start-up screen, please read Understanding the AllTalk start-up screen in the Help section.


🟩 Docker Builds and Google Colab's

While an AllTalk Docker build exists, it's important to note that this version is based on an earlier iteration of AllTalk and was set up by a third party. At some point, my goal is to deepen my understanding of Docker and its compatibility with AllTalk. This exploration may lead to significant updates to AllTalk to ensure a seamless Docker experience. However, as of now, the Docker build should be considered a BETA version and isn't directly supported by me.

As for Google Colab, there is partial compatibility with AllTalk, though with some quirks. I am currently investigating these issues and figuring out the necessary adjustments to enhance the integration. Until I can ensure a smooth experience, I won't be officially releasing any Google Colab implementations of AllTalk.


🟩 Manual Installation - As part of Text generation web UI (inc. macOSX)

<details> <summary>MANUAL INSTALLATION - Text-Generation-webui</summary>

Manual Installation for Text Generation Web UI

If you're using a Mac or prefer a manual installation for any other reason, please follow the steps below. This guide is compatible with the current release of Text Generation Web UI as of December 2023. Consider updating your installation if it's been a while, update instructions here.

  • For a visual guide on the installation process, watch this video.
  1. Navigate to Text Generation Web UI Folder:

    • Open a terminal window and move to your Text Generation Web UI directory with:
      • cd text-generation-webui
  2. Activate Text Generation Web UI Python Environment:

    • Start the appropriate Python environment for your OS using one of the following commands:
      • For Windows: cmd_windows.bat
      • For Linux: ./cmd_linux.sh
      • For macOS: cmd_macos.sh
      • For WSL: cmd_wsl.bat
    • Loading the Text Generation Web UI's Python environment is crucial. If unsure about what a loaded Python environment should look like, refer to this image and video guide.

    If you're unfamiliar with Python environments and wish to learn more, consider reviewing Understanding Python Environments Simplified in the Help section.

  3. Move to Extensions Folder:

    • cd extensions
  4. Clone the AllTalk TTS Repository:

    • git clone https://github.com/erew123/alltalk_tts
  5. Navigate to the AllTalk TTS Folder:

    • cd alltalk_tts
  6. Install Required Dependencies:

    • Install dependencies for your machine type:
      • For Windows: pip install -r system\requirements\requirements_textgen.txt
      • For Linux/Mac: pip install -r system/requirements/requirements_textgen.txt
  7. Optional DeepSpeed Installation:

  • If you're using an Nvidia graphics card on Linux or Windows and wish to install DeepSpeed, follow the instructions here.
  • Recommendation: Start Text Generation Web UI and ensure AllTalk functions correctly before installing DeepSpeed.
  1. Start Text Generation Web UI:
  • Return to the main Text Generation Web UI folder using cd .. (repeat as necessary).

    • Start the appropriate Python environment for your OS using one of the following commands:
      • For Windows: start_windows.bat
      • For Linux: ./start_linux.sh
      • For macOS: start_macos.sh
      • For WSL: start_wsl.bat
  • Load the AllTalk extension in the Text Generation Web UI session tab.

  • For any updates to AllTalk or for tasks like Finetuning, always activate the Text Generation Web UI Python environment first.

Refer to 🟩 Other installation notes for further details, including information on additional voices, changing IP, character card notes etc.

</details>

🟩 Manual Installation - As a Standalone Application

<details> <summary>MANUAL INSTALLATION - Run AllTalk as a Standalone with Text-generation-webui</summary>

Running AllTalk as a Standalone Application alongside Text Generation Web UI

If you have AllTalk installed as an extension of Text Generation Web UI but wish to run it as a standalone application, follow these steps:

  1. Activate Text Generation Web UI Python Environment:

    • Use the appropriate command for your operating system to load the Python environment:
      • Windows: cmd_windows.bat
      • Linux: ./cmd_linux.sh
      • macOS: cmd_macos.sh
      • WSL: cmd_wsl.bat
  2. Navigate to the AllTalk Directory:

    • Move to the AllTalk folder with the following commands:
      • cd extensions
      • cd alltalk_tts
  3. Start AllTalk:

    • Run AllTalk with the command:
      • python script.py

    There are no additional steps required to run AllTalk as a standalone application from this point.

</details> <details> <summary>MANUAL INSTALLATION - Custom Install of AllTalk</summary>

Custom Installation of AllTalk

Support for custom Python environments is limted. Please read Custom Python environments Limitations Notice below this section.

To run AllTalk as a standalone application with a custom Python environment, ensure you install AllTalk's requirements into the environment of your choice. The instructions provided are generalized due to the variety of potential Python environments.

  • Python Compatibility: The TTS engine requires Python 3.9.x to 3.11.x. AllTalk is tested with Python 3.11.x. See TTS Engine details.
  • Path Names: Avoid spaces in path names as this can cause issues.
  • Custom Python Environments: If encountering issues potentially related to a custom environment, consider testing AllTalk with the quick setup standalone method that builds its own environment.

Quick Overview of Python Environments

If you're unfamiliar with Python environments and wish to learn more, consider reviewing Understanding Python Environments Simplified in the Help section.

Building a Custom Python Environment with Miniconda

  1. Initial Setup:
    • Ensure python --version and pip commands work in your terminal. Install Python and Pip if necessary.

编辑推荐精选

Vora

Vora

免费创建高清无水印Sora视频

Vora是一个免费创建高清无水印Sora视频的AI工具

Refly.AI

Refly.AI

最适合小白的AI自动化工作流平台

无需编码,轻松生成可复用、可变现的AI自动化工作流

酷表ChatExcel

酷表ChatExcel

大模型驱动的Excel数据处理工具

基于大模型交互的表格处理系统,允许用户通过对话方式完成数据整理和可视化分析。系统采用机器学习算法解析用户指令,自动执行排序、公式计算和数据透视等操作,支持多种文件格式导入导出。数据处理响应速度保持在0.8秒以内,支持超过100万行数据的即时分析。

AI工具酷表ChatExcelAI智能客服AI营销产品使用教程
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
AIWritePaper论文写作

AIWritePaper论文写作

AI论文写作指导平台

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

AI辅助写作AI工具AI论文工具论文写作智能生成大纲数据安全AI助手热门
博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

下拉加载更多