Dia 1.6B

DIA_1_6B

English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a short clip and its transcript.

Audio Generationtext-to-speechdialoguevoice-cloningenglishapache-2.0Fine-tunable
Dia 1.6B: Audio Generation model on Kainguru

About Dia 1.6B

Capabilities

  • Dialogue — mark turns with [S1] and [S2]; both voices come from one request
  • Non-verbal sounds — (laughs), (coughs), (sighs) and similar cues are performed, not read out
  • Voice cloning — give a 5 to 15 second clip and its transcript, and the speech continues in that voice
  • Train a voice — fine-tune on recordings of one speaker

Good to know

  • English only.
  • Without speaker_audio the seed chooses the voices; keep the seed to keep them.
  • Text for about 5 to 20 seconds of speech sounds most natural; one request makes at most about 35 seconds, the reference clip included.
  • Output is 44.1 kHz mono WAV, billed per second of audio produced.
  • Fine-tuning works best with 5 to 30 minutes of clean recordings of one speaker.
  • Do not use it to imitate a real person without their consent, or to deceive.

Attribution

Dia by Nari Labs, Apache License 2.0. Audio codec: Descript Audio Codec (44 kHz), MIT License.

Dia 1.6B inputs and output

NameTypeRequiredDefaultDetails
texttextYes—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
seedintegerNo—The same seed and inputs give the same audio. Leave empty for a random seed (returned in the result).
0–2147483647
speaker_audiofileNo—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
temperaturenumberNo1.8Variety of voice and delivery; higher is more expressive and less steady.
1–2
top_pnumberNo0.9Sample only from the most likely sounds whose probabilities add up to this.
0.5–1
speaker_transcripttextNo—Exactly what is said in speaker_audio, marked with [S1] (and [S2]) like the text. Needed with speaker_audio.
Max 400 characters
guidance_scalenumberNo3.0How 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.

Run Dia 1.6B 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=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"
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(
        "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)

Fine-tune Dia 1.6B

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.

Dia 1.6B pricing

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

Licence and source

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
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 Voice Generator: Audio Generation model on Kainguru
Audio Generation

MOSS Voice Generator

Speech in a voice you describe in words (age, gender, pace, mood, accent), with no reference clip. Fine-tune it to…

Fine-tunable
Parler-TTS Mini v1: Audio Generation model on Kainguru
Audio Generation

Parler-TTS Mini v1

English text-to-speech in a voice you describe in words (gender, pitch, pace, mood, background noise, reverb), with…

Fine-tunable