MOSS-TTS Realtime

MOSS_TTS_REALTIME

Natural speech for voice agents in 20 languages, in a voice cloned from a short clip. Built for streaming, served here a whole reply at a time. Fine-tune it on recordings of one voice.

Audio Generationtext-to-speechvoice-cloningvoice-agentmultilingualapache-2.0Fine-tunable
MOSS-TTS Realtime: Audio Generation model on Kainguru

About MOSS-TTS Realtime

Capabilities

  • Voice cloning — a 3 to 10 second clip sets the voice, no transcript needed
  • Conversational prosody — trained on millions of hours of single-speaker and conversational speech
  • 20 languages — Chinese, English, German, Spanish, French, Japanese, Korean and more
  • Train a voice — fine-tune on recordings of one speaker

Good to know

  • Up to 60 seconds of speech per request; the audio is a 24 kHz mono WAV, billed per second of audio produced.
  • The model streams audio as text arrives; this API takes the whole text and returns the finished audio.
  • Languages: Chinese, English, German, Spanish, French, Japanese, Italian, Hebrew, Korean, Russian, Persian, Arabic, Polish, Portuguese, Czech, Danish, Swedish, Hungarian, Greek and Turkish. Azerbaijani is not one of them.
  • Without a voice clip the model picks a voice; keep the seed to keep it.
  • Fine-tuning trains an adapter; training stops after 9 hours and keeps what it has learned.
  • Do not use it to imitate a real person without their consent, or to deceive.

Attribution

MOSS-TTS-Realtime by OpenMOSS (MOSI.AI), Apache License 2.0. Language model: Qwen3-1.7B by Alibaba Cloud, Apache License 2.0. Audio codec: MOSS-Audio-Tokenizer by OpenMOSS, Apache License 2.0.

MOSS-TTS Realtime inputs and output

NameTypeRequiredDefaultDetails
texttextYes—What to say, in one of 20 languages (Chinese, English, German, Spanish, French, Japanese, Korean, Italian, Russian, Arabic and more). Up to 60 seconds of speech.
1–600 characters
speaker_audiofileNo—A clip of the voice to speak in: WAV, MP3, FLAC, OGG, M4A, AAC or WebM, 1 to 15 seconds (3 to 10 work best), at most 20 MB. Without one the model picks a voice; a fine-tuned model speaks in its trained voice.
Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm
seedintegerNo—The same seed and inputs give the same audio. Leave empty for a random seed (returned in the result).
0–2147483647
top_kintegerNo30Sample only from this many most likely sounds.
1–200
temperaturenumberNo0.8Variety of voice and delivery; higher is livelier and less steady. The model is sensitive to it.
0.3–2.5
top_pnumberNo0.6Sample only from the most likely sounds whose probabilities add up to this.
0.1–1
repetition_penaltynumberNo1.1Above 1 discourages repeating patterns of sound.
1–1.5

Output. Returns WAV audio: The speech as a 24 kHz mono 16-bit WAV file.

Run MOSS-TTS Realtime 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=MOSS_TTS_REALTIME" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "text": "example",
    "repetition_penalty": 1.1,
    "temperature": 0.8,
    "top_k": 30,
    "top_p": 0.6
  },
  "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(
        "MOSS_TTS_REALTIME",
        {
          "text": "example",
          "repetition_penalty": 1.1,
          "temperature": 0.8,
          "top_k": 30,
          "top_p": 0.6
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune MOSS-TTS Realtime

You can fine-tune MOSS-TTS Realtime 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.

MOSS-TTS Realtime pricing

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

Licence and source

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 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-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
Qwen3-TTS 1.7B Base: Audio Generation model on Kainguru
Audio Generation

Qwen3-TTS 1.7B Base

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

VoxCPM2

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
Dia 1.6B: Audio Generation model on Kainguru
Audio Generation

Dia 1.6B

English dialogue text-to-speech: two speakers in one pass with laughter, coughs and sighs, and voice cloning from a…

Fine-tunable