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.

编辑推荐精选

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

热门AI工具AI办公办公工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

模型训练热门AI工具内容创作智能问答AI开发讯飞星火大模型多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

Trae

Trae

字节跳动发布的AI编程神器IDE

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

热门AI工具生产力协作转型TraeAI IDE
咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

AI助手热门AI工具AI创作AI辅助写作讯飞绘文内容运营个性化文章多平台分发
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

Hunyuan3D-2

Hunyuan3D-2

高分辨率纹理 3D 资产生成

Hunyuan3D-2 是腾讯开发的用于 3D 资产生成的强大工具,支持从文本描述、单张图片或多视角图片生成 3D 模型,具备快速形状生成能力,可生成带纹理的高质量 3D 模型,适用于多个领域,为 3D 创作提供了高效解决方案。

3FS

3FS

一个具备存储、管理和客户端操作等多种功能的分布式文件系统相关项目。

3FS 是一个功能强大的分布式文件系统项目,涵盖了存储引擎、元数据管理、客户端工具等多个模块。它支持多种文件操作,如创建文件和目录、设置布局等,同时具备高效的事件循环、节点选择和协程池管理等特性。适用于需要大规模数据存储和管理的场景,能够提高系统的性能和可靠性,是分布式存储领域的优质解决方案。

下拉加载更多