
CosyVoice3 0.5B
Text-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or…
Fine-tunableVOXCPM2Text-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.

VoxCPM2 by OpenBMB, Apache License 2.0. Language model backbone: MiniCPM4 by OpenBMB, Apache License 2.0.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
text | text | Yes | — | 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_transcript | text | No | — | 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_audio | file | No | — | 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 |
seed | integer | No | — | 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.
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 -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"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)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.
Price per second: 0.0163227 credits ($0.000163227). The price is shown again before every run; all prices are on the pricing page.

Text-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or…
Fine-tunable
Natural speech for voice agents in 20 languages, in a voice cloned from a short clip. Built for streaming, served here…
Fine-tunable
Speech in 31 languages from text, in a voice cloned from a short clip, with the language, the length and pauses under…
Fine-tunable
Two-speaker dialogue from a script of [S1] and [S2] turns, up to 90 seconds, each voice cloned from its own short…
Fine-tunable
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
English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a…
Fine-tunable