VoxCPM2

VOXCPM2

Text-to-speech in 30 languages at 48 kHz: design a voice from a description, clone one from a short clip, or continue a clip from its transcript; train a voice on your own recordings.

Audio Generationtext-to-speechvoice-designvoice-cloningmultilingualapache-2.0Fine-tunable
VoxCPM2: Audio Generation model on Kainguru

About VoxCPM2

Capabilities

  • Voice design — describe the voice in parentheses before the text, for example (a young woman, gentle and sweet)Hello
  • Voice cloning — a short clip sets the voice; add its transcript for the closest likeness
  • 30 languages — Arabic, Chinese, English, French, German, Hindi, Japanese, Korean, Spanish, Turkish and 20 more, and nine Chinese dialects
  • Train a voice — fine-tune on recordings of one speaker; the result speaks in that voice with no clip needed

Good to know

  • Output is 48 kHz mono WAV, up to about 64 seconds per request, billed per second of audio produced.
  • Voice descriptions and style steering vary from run to run; try two or three seeds.
  • Azerbaijani is not among the 30 languages (Turkish is).
  • Fine-tuning works with as little as 5 to 10 minutes of clean recordings of one speaker; it trains a LoRA adapter.
  • Do not use it to imitate a real person without their consent, or to deceive; label AI-generated speech as such.

Attribution

VoxCPM2 by OpenBMB, Apache License 2.0. Language model backbone: MiniCPM4 by OpenBMB, Apache License 2.0.

VoxCPM2 inputs and output

NameTypeRequiredDefaultDetails
texttextYes—What to say, in one of 30 languages. A voice description in parentheses at the start designs the voice (or steers the style of a cloned one): (a young woman, gentle and sweet)Hello!
1–600 characters
speaker_transcripttextNo—Exactly what is said in speaker_audio. With it the clip is continued as well as copied: the closest likeness. Without it only the voice is copied and the text's parentheses can steer the style.
Max 400 characters
speaker_audiofileNo—A clip of the voice to clone: WAV, MP3, FLAC, OGG, M4A, AAC or WebM, 1 to 15 seconds, at most 20 MB. Optional: without it the voice comes from the text's description, or is the model's own, or a fine-tune's.
Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm
seedintegerNo—The same seed and inputs give the same audio. Leave empty for a random seed (returned in the result).
0–2147483647

Output. Returns WAV audio: The speech as a 48 kHz mono 16-bit WAV file.

Run VoxCPM2 with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=VOXCPM2" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "text": "example"
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "VOXCPM2",
        {
          "text": "example"
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune VoxCPM2

You can fine-tune VoxCPM2 on your own data and run the tuned model through the same API. Dataset: Recordings of one voice, each with exactly what is said in it ({"file": ..., "text": ...} items): 4 to 2000 clips of 0.5 to 20 seconds and at most 50 MB each, 10 GB in all.

The steps are in the docs.

VoxCPM2 pricing

Price per second: 0.0163227 credits ($0.000163227). The price is shown again before every run; all prices are on the pricing page.

Licence and source

CosyVoice3 0.5B: Audio Generation model on Kainguru
Audio Generation

CosyVoice3 0.5B

Text-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or…

Fine-tunable
MOSS-TTS Realtime: Audio Generation model on Kainguru
Audio Generation

MOSS-TTS Realtime

Natural speech for voice agents in 20 languages, in a voice cloned from a short clip. Built for streaming, served here…

Fine-tunable
MOSS-TTS v1.5: Audio Generation model on Kainguru
Audio Generation

MOSS-TTS v1.5

Speech in 31 languages from text, in a voice cloned from a short clip, with the language, the length and pauses under…

Fine-tunable
MOSS-TTSD: Audio Generation model on Kainguru
Audio Generation

MOSS-TTSD

Two-speaker dialogue from a script of [S1] and [S2] turns, up to 90 seconds, each voice cloned from its own short…

Fine-tunable
Qwen3-TTS 1.7B Base: Audio Generation model on Kainguru
Audio Generation

Qwen3-TTS 1.7B Base

Text-to-speech in ten languages that copies a voice from a few seconds of speech. Fine-tune it on recordings of one…

Fine-tunable
Dia 1.6B: Audio Generation model on Kainguru
Audio Generation

Dia 1.6B

English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a…

Fine-tunable