Megumin (Style-Bert-VITS2) + Ready-to-Run TTS Server

A Style-Bert-VITS2 text-to-speech voice model trained on Megumin (KonoSuba), packaged with a plug-and-play FastAPI backend server (backend.py) and one-click Windows launcher (Start_Server.bat).

Looking for the full desktop client? Check out the Megumin app on GitHub: Megumin-Resurrections


Audio Samples

Style Line (Japanese) Preview
Neutral ใ‚จใ‚ฏใ‚นใƒ—ใƒญใƒผใ‚ธใƒงใƒณ๏ผ
Happy (Smug) ใตใตใ‚“ใ€ใฉใ†ใงใ™ใ‹ใ€็งใฎ็ˆ†่ฃ‚้ญ”ๆณ•ใฎๅจๅŠ›ใฏ๏ผใ™ใ”ใ„ใงใ—ใ‚‡ใ†ใ€ใ‚‚ใฃใจ่ค’ใ‚ใฆใ‚‚ใ„ใ„ใ‚“ใงใ™ใ‚ˆ๏ผ
Shy (Flustered) ในใ€ๅˆฅใซใ‚ซใ‚บใƒžใฎใŸใ‚ใซใ‚„ใฃใŸใ‚ใ‘ใ˜ใ‚ƒใ‚ใ‚Šใพใ›ใ‚“ใ‹ใ‚‰๏ผๅ‹˜้•ใ„ใ—ใชใ„ใงใใ ใ•ใ„๏ผ
Pride (Arch-Wizard) ๆˆ‘ใŒๅใฏใ‚ใใฟใ‚“๏ผ็ด…้ญ”ๆ—้šไธ€ใฎ้ญ”ๆณ•ใฎไฝฟใ„ๆ‰‹ใซใ—ใฆใ€็ˆ†่ฃ‚้ญ”ๆณ•ใ‚’ๆ“ใ‚‹่€…๏ผใ•ใ‚ใ€ใฒใ‚Œไผใ™ใŒใ„ใ„ใฎใงใ™๏ผ

Quick Start (One-Click Local Server)

This repository includes everything needed to run the TTS engine locally without manual path configuration:

  1. Clone or download this repository to your PC.
  2. Double-click Start_Server.bat.
    • On the first launch, the script automatically creates a Python venv, installs all dependencies from requirements.txt, and starts the server on http://localhost:8000.
    • Subsequent launches skip installation and boot the server immediately.

API Usage (POST /synthesize)

Once the server is running, send a UTF-8 JSON POST request to http://localhost:8000/synthesize to receive streaming audio/wav bytes:

$body = [System.Text.Encoding]::UTF8.GetBytes('{"text": "ๆˆ‘ใŒๅใฏใ‚ใใฟใ‚“๏ผ", "style_name": "Pride", "style_weight": 1.2, "speed": 1.0}')

Invoke-RestMethod -Uri "http://localhost:8000/synthesize" `
  -Method Post `
  -ContentType "application/json; charset=utf-8" `
  -Body $body `
  -OutFile "output.wav"
Downloads last month
220
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support