Model reference · open weights

piper-plus-tsukuyomi-chan

Available as managed deployment Licence fee Audio ayousanz · community Text→speech 1 variants 3k dl/mo

piper-plus-tsukuyomi-chan is an open-weight audio or speech model from ayousanz. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byayousanz
TypeAudio & music
TaskText→speech
Runs withpiper
Based onayousanz/piper-plus-base
Released2025-12-27
Popularity3k downloads / month
LicenceCommercial licence needed

About

What piper-plus-tsukuyomi-chan is

つくよみちゃんコーパス を使用して 6 言語マルチリンガルベースモデルからファインチューニングした多言語 TTS モデルです。

Decoder は MB-iSTFT (Multi-Band inverse STFT) + PQMF で、HiFi-GAN ベースの旧モデルから置き換えられています。prosody features (A1/A2/A3) に対応し、日本語・英語・中国語・スペイン語・フランス語・ポルトガル語の 6 言語でつくよみちゃんの声質で音声合成が可能です。

⚠️ Breaking change (2026-05): このモデルは MB-iSTFT-VITS2 アーキテクチャの新世代版です。piper-plus PR #320 以降のランタイムで動作します。出力形状 [B, 1, T] は維持されているため、C++/Rust/C#/Go/WASM ランタイムは修正不要で本モデルを推論できます。

Read the full model card

Sample Audio

テキスト言語音声
こんにちは、つくよみちゃんです。JAsample_ja
Hello, how are you today?ENsample_en
你好,今天天气很好。ZHsample_zh
Hola, como estas hoy?ESsample_es
Bonjour, comment allez-vous?FRsample_fr
Ola, como voce esta hoje?PTsample_pt

サンプルは --length-scale 1.5 --noise-scale 0.667 で生成。MB-iSTFT 版はデフォルト DP が旧 HiFi-GAN 版より速い発話傾向のため、自然な発話速度に整えるために length-scale を上げています。

Model Details

項目
アーキテクチャVITS (Decoder: MB-iSTFT + PQMF)
言語日本語 (ja), 英語 (en), 中国語 (zh), スペイン語 (es), フランス語 (fr), ポルトガル語 (pt)
サンプルレート22050 Hz
品質medium
音素タイプmultilingual
音素数173
prosody_dim16
話者数1 (つくよみちゃん)
言語数6
ベースモデルayousanz/piper-plus-base (MB-iSTFT 版、571話者、75 epoch スクラッチ)
ファインチューニング500 epochs, lr=2e-5, freeze-dp
学習データつくよみちゃんコーパス (100発話, ~11分)
ONNX エクスポートstochastic + EMA + emb_lang 後処理 + FP16 (38MB)
Decoder upsample(4, 4) × iSTFT(4) × PQMF(4) = 256x

MB-iSTFT-VITS2 Decoder の利点

メトリック旧 HiFi-GANMB-iSTFT (本モデル)改善
CPU ONNX p50 (100 phoneme)168.2 ms76.2 ms2.21x 高速化
つくよみちゃん FT 推論61.9 ms (RTF 0.046)
Decoder 単体~3.6x (論文値と同等)
出力形状[B, 1, T][B, 1, T]変化なし (ランタイム互換)

Inference Results (length_scale=1.5)

テキスト言語音声長
こんにちは、つくよみちゃんです。JA2.31s
Hello, how are you today?EN1.16s
你好,今天天气很好。ZH1.85s
Hola, como estas hoy?ES1.09s
Bonjour, comment allez-vous?FR1.38s
Ola, como voce esta hoje?PT1.67s

Usage

推論 (テキスト直接入力)

# 日本語
CUDA_VISIBLE_DEVICES="" uv run python -m piper_train.infer_onnx \
  --model tsukuyomi-chan-6lang-fp16.onnx \
  --config config.json \
  --output-dir ./output \
  --text "こんにちは、今日は良い天気ですね。" \
  --language ja-en-zh-es-fr-pt \
  --speaker-id 0 \
  --noise-scale 0.667 \
  --length-scale 1.5

# 英語
CUDA_VISIBLE_DEVICES="" uv run python -m piper_train.infer_onnx \
  --model tsukuyomi-chan-6lang-fp16.onnx \
  --config config.json \
  --output-dir ./output \
  --text "Hello, how are you today?" \
  --language ja-en-zh-es-fr-pt \
  --speaker-id 0 \
  --noise-scale 0.667 \
  --length-scale 1.5

# 混合テキスト (コードスイッチング)
CUDA_VISIBLE_DEVICES="" uv run python -m piper_train.infer_onnx \
  --model tsukuyomi-chan-6lang-fp16.onnx \
  --config config.json \
  --output-dir ./output \
  --text "今日はgood morningですね" \
  --language ja-en-zh-es-fr-pt \
  --speaker-id 0 \
  --noise-scale 0.667 \
  --length-scale 1.5

推奨推論パラメータ

パラメータ説明
--noise-scale0.667デフォルト推奨値
--length-scale1.5MB-iSTFT 版の自然な発話速度 (1.0 だと早口)
--speaker-id0単一話者
--languageja-en-zh-es-fr-pt6 言語自動検出

Training

ベースモデル

ayousanz/piper-plus-base の MB-iSTFT-VITS2 ベースモデル (571 話者、508,187 発話、75 epoch スクラッチ学習) からファインチューニング。

転移学習方式

  1. --resume-from-multispeaker-checkpoint でベースモデルからロード
    • emb_g (571 話者分の話者埋め込み) を自動除去
    • emb_lang に conditioning 分布補正を適用
    • --freeze-dp を自動有効化 (Duration Predictor の catastrophic forgetting 防止)
  2. 500 epoch ファインチューニング (100発話、lr=2e-5)
  3. ONNX エクスポート前に emb_lang[0] (JA) → emb_lang[1:5] (EN/ZH/ES/FR/PT) にコピーして声質統一 (--unify-emb-lang 自動実行)

学習コマンド

uv run python -m piper_train \
  --dataset-dir /path/to/tsukuyomi-dataset \
  --prosody-dim 16 \
  --accelerator gpu --devices 1 --precision 32-true \
  --max_epochs 500 --batch-size 4 --samples-per-speaker 4 \
  --checkpoint-epochs 50 --quality medium \
  --base_lr 2e-5 --disable_auto_lr_scaling \
  --ema-decay 0.9995 \
  --max-phoneme-ids 400 \
  --no-wavlm \
  --resume-from-multispeaker-checkpoint /path/to/base_model.ckpt \
  --default_root_dir /path/to/output

Files

  • tsukuyomi-chan-6lang-fp16.onnx - ONNX モデル (38MB, FP16, MB-iSTFT-VITS2, emb_lang 後処理済み)
  • config.json - モデル設定 (173 音素マップ、6 言語)
  • samples/ - サンプル音声 (length_scale=1.5)

Credits

License

ライセンスは、つくよみちゃんコーパス│声優統計コーパス(JVSコーパス準拠) に準じます

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys piper-plus-tsukuyomi-chan for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (piper-plus-tsukuyomi-chan below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F model="piper-plus-tsukuyomi-chan" -F file=@audio.mp3

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms