
CosyVoice3 0.5B
Text-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or…
Fine-tunableMOSS_TTSDTwo-speaker dialogue from a script of [S1] and [S2] turns, up to 90 seconds, each voice cloned from its own short clip. Fine-tune it on recorded dialogues.

MOSS-TTSD v1.0 by OpenMOSS (MOSI.AI), Apache License 2.0. Language model: Qwen3-8B by Alibaba Cloud, Apache License 2.0. Audio codec: MOSS-Audio-Tokenizer by OpenMOSS, Apache License 2.0.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
text | text | Yes | — | The dialogue, turn by turn: start each turn with [S1] or [S2], for example "[S1] Hello! [S2] Hi there." Up to 90 seconds of speech. 1–1000 characters |
seed | integer | No | — | The same seed and inputs give the same audio. Leave empty for a random seed (returned in the result). 0–2147483647 |
speaker_audio_2 | file | No | — | A clip of the voice for the [S2] turns: WAV, MP3, FLAC, OGG, M4A, AAC or WebM, 1 to 15 seconds (3 to 10 work best), at most 20 MB. Send its transcript too. Without a clip the model invents the voice. Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm |
speaker_audio | file | No | — | A clip of the voice for the [S1] turns: WAV, MP3, FLAC, OGG, M4A, AAC or WebM, 1 to 15 seconds (3 to 10 work best), at most 20 MB. Send its transcript too. Without a clip the model invents the voice. Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm |
speaker_transcript | text | No | — | Exactly what is said in the [S1] clip. Needed with the clip, and only with it. Max 400 characters |
top_k | integer | No | 50 | Sample only from this many most likely sounds. 1–200 |
repetition_penalty | number | No | 1.1 | Above 1 discourages repeating patterns of sound. 1–1.5 |
speaker_transcript_2 | text | No | — | Exactly what is said in the [S2] clip. Needed with the clip, and only with it. Max 400 characters |
temperature | number | No | 1.1 | Variety of voice and delivery; higher is livelier and less steady. The model is sensitive to it. 0.3–2.5 |
top_p | number | No | 0.9 | Sample only from the most likely sounds whose probabilities add up to this. 0.1–1 |
Output. Returns WAV audio: The dialogue 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=MOSS_TTSD" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"text": "example",
"repetition_penalty": 1.1,
"temperature": 1.1,
"top_k": 50,
"top_p": 0.9
},
"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(
"MOSS_TTSD",
{
"text": "example",
"repetition_penalty": 1.1,
"temperature": 1.1,
"top_k": 50,
"top_p": 0.9
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune MOSS-TTSD on your own data and run the tuned model through the same API. Dataset: Recordings of dialogues, each with its script, every turn marked [S1] or [S2] ({"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.024492 credits ($0.00024492). 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
English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a…
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
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