Skip to content
GPT-SoVITS TTS スキル logo

GPT-SoVITS TTS スキル

高品質な音声クローニング・TTS(Text-to-Speech)システム。

SKILL.md

Full skill instructions

GPT-SoVITS TTS スキル

高品質な音声クローニング・TTS(Text-to-Speech)システム。

概要

項目内容
ツールGPT-SoVITS v2
開発元RVC-Boss
インストール先/​Users/​matsumototoshihiko/​Desktop/​semi/​miyabi_taiyou/​GPT-SoVITS
用途音声クローニング、ナレーション生成

特徴

  • Zero-shot TTS: 5秒の音声サンプルから即座に音声合成
  • Few-shot TTS: 1分のトレーニングデータで声質を学習
  • 多言語対応: 日本語、英語、中国語、韓国語、広東語
  • 高速推理: RTF 0.028(4060Ti)〜0.526(M4 CPU)

クイックスタート

1. 環境起動

cd /​Users/​matsumototoshihiko/​Desktop/​semi/​miyabi_taiyou/​GPT-SoVITS
source venv/​bin/​activate

# WebUI起動(ポート9874)
python webui.py

# または API サーバー起動(ポート9880)
python api.py -dr "参考音声.wav" -dt "参考テキスト" -dl "ja"

2. API経由で音声生成

# テキストから音声生成
curl -X POST "http://127.0.0.1:9880" \
  -H "Content-Type: application/​json" \
  -d '{
    "text": "こんにちは、これはテスト音声です。",
    "text_language": "ja"
  }' \
  --output output.wav

3. 参考音声を指定して生成

curl -X POST "http://127.0.0.1:9880" \
  -H "Content-Type: application/​json" \
  -d '{
    "refer_wav_path": "/​path/​to/​reference.wav",
    "prompt_text": "参考音声のテキスト",
    "prompt_language": "ja",
    "text": "生成したいテキスト",
    "text_language": "ja",
    "speed": 1.0
  }' \
  --output output.wav

API パラメータ

パラメータ型説明
textstring生成するテキスト
text_languagestringテキストの言語(ja/​en/​zh/​ko/​yue)
refer_wav_pathstring参考音声ファイルのパス
prompt_textstring参考音声の文字起こし
prompt_languagestring参考音声の言語
speedfloat話速(0.5〜2.0)
top_kintサンプリングパラメータ
top_pfloatサンプリングパラメータ
temperaturefloatサンプリングパラメータ

Python統合スクリプト

#!/​usr/​bin/​env python3
"""GPT-SoVITS API Client"""
import requests
import os

def generate_audio(
    text: str,
    output_path: str,
    refer_wav_path: str = None,
    prompt_text: str = None,
    prompt_language: str = "ja",
    text_language: str = "ja",
    speed: float = 1.0,
    api_url: str = "http://127.0.0.1:9880"
):
    """Generate audio using GPT-SoVITS API"""

    payload = {
        "text": text,
        "text_language": text_language,
        "speed": speed
    }

    if refer_wav_path:
        payload["refer_wav_path"] = refer_wav_path
        payload["prompt_text"] = prompt_text
        payload["prompt_language"] = prompt_language

    response = requests.post(api_url, json=payload)

    if response.status_code == 200:
        with open(output_path, "wb") as f:
            f.write(response.content)
        print(f"Audio saved to: {output_path}")
        return True
    else:
        print(f"Error: {response.text}")
        return False

if __name__ == "__main__":
    generate_audio(
        text="AIゴールドラッシュの波に乗り遅れないでください。",
        output_path="output.wav",
        text_language="ja"
    )

ディレクトリ構造

GPT-SoVITS/
├── venv/                    # Python仮想環境
├── GPT_SoVITS/
│   └── pretrained_models/   # プレトレーニングモデル(5GB)
├── api.py                   # APIサーバー
├── api_v2.py                # v2 APIサーバー
├── webui.py                 # Web UI
├── config.py                # 設定ファイル
└── output/                  # 出力ディレクトリ

トラブルシューティング

問題解決策
ポートが使用中lsof -i :9880 で確認し、プロセスを終了
CUDA エラー--device cpu で CPU モードで実行
音質が悪い参考音声の品質を改善、ノイズ除去
速度が遅いバッチサイズを調整、GPUを使用

関連リソース

Creatify Aurora リップシンク

GPT-SoVITSで生成した音声を使って、Creatify Aurora APIでリップシンク動画を生成できます。

使用方法

cd /​Users/​matsumototoshihiko/​Desktop/​semi/​miyabi_taiyou/​GPT-SoVITS
source venv/​bin/​activate

# リップシンク動画を生成
python scripts/​generate_lipsync_aurora.py \
  --image /​path/​to/​person.jpg \
  --audio /​path/​to/​narration.wav \
  --output output_lipsync.mp4 \
  --resolution 720p

パラメータ

パラメータ説明
--image人物画像(顔がはっきり見えるもの)
--audio音声ファイル(GPT-SoVITSで生成)
--output出力動画パス
--resolution480p ($0.10/秒) または 720p ($0.14/秒)
--promptオプションのプロンプト

環境変数

# .envに設定済み
RUNCOMFY_API_KEY=your-api-key
LIPSYNC_MODEL_PRIMARY=creatify-aurora
CREATIFY_AURORA_RESOLUTION=720p

更新履歴

  • 2025-12-25: Creatify Aurora リップシンク統合
  • 2025-12-25: 初期インストール・スキル作成

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View