MOSS Voice Generator

MOSS_VOICE_GENERATOR

Speech in a voice you describe in words (age, gender, pace, mood, accent), with no reference clip. Fine-tune it to give a described voice a recorded one's sound.

Audio Generationtext-to-speechvoice-designchineseenglishapache-2.0Fine-tunable
MOSS Voice Generator: Audio Generation model on Kainguru

About MOSS Voice Generator

Capabilities

  • Voice from a description — "a warm, slow older woman's voice with a gentle laugh" becomes a voice, no clip needed
  • Style control — age, gender, pitch, pace, mood and accent in plain words
  • Chinese and English — the languages its descriptions and texts are written in
  • Train a voice — fine-tune on recordings of one speaker with a description of the voice

Good to know

  • Up to 45 seconds of speech per request; the audio is a 24 kHz mono WAV, billed per second of audio produced.
  • Descriptions and texts work best in Chinese or English; other languages are untested.
  • The model is sensitive to temperature, top-p, top-k and the repetition penalty; the defaults are the authors' recommended values.
  • A fine-tuned model speaks in its trained voice and uses the description it was trained with when a request gives none.
  • Fine-tuning needs a description of the voice (params.instruction); 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-VoiceGenerator 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 Voice Generator inputs and output

NameTypeRequiredDefaultDetails
texttextYes—What to say. Chinese and English work best.
1–600 characters
top_pnumberNo0.6Sample only from the most likely sounds whose probabilities add up to this.
0.1–1
temperaturenumberNo1.5Variety of voice and delivery; higher is livelier and less steady. The model is sensitive to it.
0.3–2.5
repetition_penaltynumberNo1.1Above 1 discourages repeating patterns of sound.
1–1.5
seedintegerNo—The same seed and inputs give the same audio. Leave empty for a random seed (returned in the result).
0–2147483647
instructiontextNo—The voice, in plain words: age, gender, pitch, pace, mood, accent, for example "A warm, slow older woman's voice with a gentle laugh". Needed unless the model is fine-tuned.
1–400 characters
top_kintegerNo50Sample only from this many most likely sounds.
1–200

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

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

Fine-tune MOSS Voice Generator

You can fine-tune MOSS Voice Generator 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 Voice Generator 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

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
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
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
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