
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-tunableCOSYVOICE3_0_5BText-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or dialect with an instruction, or train a voice on your own recordings.

CosyVoice 3 by Alibaba (FunAudioLLM), Apache License 2.0. Language model base: Qwen2.5-0.5B by Alibaba Cloud, Apache License 2.0. Speaker encoder: CAM++ by Alibaba DAMO Academy (3D-Speaker), Apache License 2.0.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
text | text | Yes | — | What to say, in Chinese, English, Japanese, Korean, German, Spanish, French, Italian or Russian. Tags such as [laughter] or [breath] make the sound. 1–600 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. Not needed by a fine-tuned model, which speaks in the voice it learned. 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 |
instruction | text | No | — | How to say it: an emotion, a speed, a volume or a dialect, in a sentence such as: speak slowly and softly. Cannot be combined with speaker_transcript. Max 120 characters |
speaker_transcript | text | No | — | Exactly what is said in speaker_audio, in its language. With it the clip is continued as well as copied: the closest likeness. Without it only the voice is copied, which suits text in another language. Max 400 characters |
speed | number | No | 1.0 | Playback speed of the speech: below 1 is slower, above 1 is faster. 0.5–2 |
Output. Returns WAV audio: The speech as a 24 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=COSYVOICE3_0_5B" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"text": "example",
"speed": 1.0
},
"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(
"COSYVOICE3_0_5B",
{
"text": "example",
"speed": 1.0
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune CosyVoice3 0.5B 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 1000 clips of 1 to 20 seconds (at least one of 15 seconds or less: it is kept as the voice), at most 50 MB each and 300 characters of text.
The steps are in the docs.
Price per second: 0.007 credits ($0.00007). The price is shown again before every run; all prices are on the pricing page.

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
Text-to-speech in 30 languages at 48 kHz: design a voice from a description, clone one from a short clip, or continue…
Fine-tunable
English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a…
Fine-tunable