Model reference · open weights

cosyvoice3-multiaccent

Available as managed deployment Audio walston · community Text→speech 1 variants 2k dl/mo

cosyvoice3-multiaccent is an open-weight audio or speech model from walston. 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 bywalston
TypeAudio & music
TaskText→speech
Runs withcosyvoice
Released2026-08-16
Popularity2k downloads / month
LicenceOpen weights

About

What cosyvoice3-multiaccent is

Instruction-controlled Chinese multi-accent TTS based on Fun-CosyVoice3-0.5B. The fine-tuned LLM supports nine accents:

north, Sichuan, Guangdong, south, Henan, Shanghai, Wuhan, Tianjin, and singapore.

The repository is self-contained: it includes the CosyVoice inference source, Matcha-TTS source, tokenizer, flow model, vocoder, ONNX components, and the fine-tuned llm.pt. A separate CosyVoice checkout is not required.

Read the full model card

Install and run

git clone https://huggingface.co/walston/cosyvoice3-multiaccent
cd cosyvoice3-multiaccent
pip install -r requirements.txt
python inference.py \
  --text "今天的天气很好,我们一起去吃饭吧。" \
  --accent Sichuan \
  --output sichuan.wav

You can also download without Git LFS:

from huggingface_hub import snapshot_download

model_dir = snapshot_download("walston/cosyvoice3-multiaccent")

Then run inference.py from model_dir, or import the bundled CosyVoice code. CUDA is recommended. CPU inference is possible but slow.

Hugging Face Inference Endpoint

The repository includes handler.py, which implements a custom Endpoint handler. Request format:

{
  "inputs": "今天的天气很好,我们一起去吃饭吧。",
  "parameters": {
    "accent": "Sichuan",
    "speed": 1.0
  }
}

The response contains audio_base64, sample_rate, and accent. The bundled reference voice is used by default. Pass a WAV file as parameters.prompt_audio_base64 to select another reference voice.

Fine-tuning

Training used 135k original Chinese transcriptions with accent instructions. The published LLM is the average of the five checkpoints with the lowest validation loss (epochs 0 through 4). Training was stopped after epoch 31 when validation loss showed sustained overfitting.

Accent IDs used during training:

IDAccent
0north
1Sichuan
2Guangdong
3south
4Henan
5Shanghai
6Wuhan
7Tianjin
8singapore

Limitations

Accent strength and speaker similarity depend on the reference voice and the amount of training data available for each accent. The training distribution is imbalanced. Evaluate generated speech before production use.

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 cosyvoice3-multiaccent for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (cosyvoice3-multiaccent 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="cosyvoice3-multiaccent" -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