I've created an interesting TTS engine VoxCPM2 using GUI.py.

222.130.***.***
16
Main.png

https://github.com/DINKIssTyle/DINKIssTyle-VoxCPM2-GUI

A voice synthesis and voice cloning GUI tool built on PyQt6 and dedicated to the VoxCPM2 2B model. It provides an intuitive interface so anyone can easily use a powerful multilingual TTS model with 2 billion parameters.


✨ Key Features

  • Speech Synthesis (TTS): Converts input text into high-quality speech.

    • Adjustable detailed parameters such as CFG Value and Inference Steps

    • Support for controlling tone and atmosphere through prompts

  • Voice Cloning: Precisely replicates a voice with just a few seconds of reference audio (WAV, MP3, etc.).

  • Whisper Integration (STT): Built-in openai-whisper model automatically extracts transcripts from reference audio and maximizes cloning quality (Ultimate Cloning).

  • Automatic Model Management: Automatically downloads and loads VoxCPM2 and Whisper models into the model/ folder via Hugging Face Hub.

  • Built-in Audio Player: Listen to generated speech immediately, check processing time and RTF (Real-Time Factor), and save results as .wav files.


What is VoxCPM2

VoxCPM is a Text-to-Speech (TTS) model based on large language models (LLM). It features a multimodal structure that can process text and audio simultaneously, enabling natural pronunciation and intonation.

  • Model Name: VoxCPM2 2B

  • License: Apache 2.0

  • Features: A large model with 2 billion parameters that supports multilingual speech synthesis and voice cloning functionality.

  • Developer: OpenBMB


🚀 Installation and Getting Started

This project recommends using the uv package manager.

1. Package Installation

If uv is installed, you can install all dependencies at once with the following command.

uv sync

2. Running the Program

After environment setup is complete, run the GUI.

uv run voxcpm_gui.py

🛠️ Requirements and Tech Stack

  • Python: 3.10 or later

  • GUI Framework: PyQt6

  • Deep Learning Core:

    • torch (GPU with CUDA support recommended)

    • voxcpm (VoxCPM2 2B Inference Engine)

    • openai-whisper (For automatic transcript generation)

  • Audio Processing: soundfile, numpy


📂 File Structure

  • voxcpm_gui.py: Main GUI application code

  • pyproject.toml: Project configuration and dependency list based on uv

  • model/: Path where downloaded VoxCPM2 and Whisper models are stored (automatically created on execution)

  • temp/: Repository for temporary library files for audio playback


⚠️ Important Notes

  • When activating the model, several GB of data will be downloaded, so sufficient disk space and a stable network connection are required.

  • An NVIDIA GPU environment is recommended for smooth real-time synthesis.

    • It can also run on CPU, but speed may be slower. Mac Mini M4 Pro default speech synthesis RTF 1.2~1.3


After trying it out, it's not bad.

There's also a demo page, so interested users can listen to it beforehand.

https://openbmb.github.io/voxcpm2-demopage/

로그인한 회원만 댓글 등록이 가능합니다.

개발한당

KR | ID | EN
  • IDR
  • KOR
8.34 -0.01

2026.07.10 KEB 하나은행 고시회차 1656회

다가오는 한인 행사일정

  • 등록 된 일정이 없어요!