
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-tunableDIA_1_6BEnglish dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a short clip and its transcript.

Dia by Nari Labs, Apache License 2.0. Audio codec: Descript Audio Codec (44 kHz), MIT License.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
text | text | Yes | — | What to say, in English. Mark a dialogue's turns with [S1] and [S2], and add cues such as (laughs), (coughs) or (sighs). 1–600 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 | file | No | — | A clip of the voice to continue in: WAV, MP3, FLAC, OGG, M4A, AAC or WebM, 1 to 15 seconds, at most 20 MB, with its transcript. Without one, the seed picks the voices. Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm |
temperature | number | No | 1.8 | Variety of voice and delivery; higher is more expressive and less steady. 1–2 |
top_p | number | No | 0.9 | Sample only from the most likely sounds whose probabilities add up to this. 0.5–1 |
speaker_transcript | text | No | — | Exactly what is said in speaker_audio, marked with [S1] (and [S2]) like the text. Needed with speaker_audio. Max 400 characters |
guidance_scale | number | No | 3.0 | How closely the speech follows the text; higher is more faithful and less varied. 1–5 |
Output. Returns WAV audio: The speech as a 44.1 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=DIA_1_6B" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"text": "example",
"guidance_scale": 3.0,
"temperature": 1.8,
"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(
"DIA_1_6B",
{
"text": "example",
"guidance_scale": 3.0,
"temperature": 1.8,
"top_p": 0.9
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Dia 1.6B 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.007 credits ($0.00007). The price is shown again before every run; all prices are on the pricing page.

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 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
Speech in a voice you describe in words (age, gender, pace, mood, accent), with no reference clip. Fine-tune it to…
Fine-tunable
English text-to-speech in a voice you describe in words (gender, pitch, pace, mood, background noise, reverb), with…
Fine-tunable