MOSS-SoundEffect

MOSS_SOUNDEFFECT

Sound effects and ambience from a text description, with a duration you choose: nature, cities, animals, human actions and short music-like clips. Fine-tune it on your own recordings.

Audio Generationsound-effectstext-to-audioambienceapache-2.0Fine-tunable
MOSS-SoundEffect: Audio Generation model on Kainguru

About MOSS-SoundEffect

Capabilities

  • Sound from words — "rolling thunder with steady rainfall" becomes audio
  • Broad coverage — natural and urban scenes, creatures, human actions and short music-like clips
  • Duration control — ask for 1 to 30 seconds; the model plans the sound to fit
  • Train a sound — fine-tune on recordings with a description of each

Good to know

  • Up to 30 seconds per request; the audio is a 24 kHz mono WAV, billed per second of audio produced.
  • Descriptions work best in English or Chinese.
  • The model is sensitive to temperature, top-p, top-k and the repetition penalty; the defaults are the authors' recommended values.
  • Fine-tuning clips are at most 30 seconds, each with a description of at most 300 characters; the clip's own length is the duration the model learns to ask for. Training stops after 9 hours and keeps what it has learned.

Attribution

MOSS-SoundEffect 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.

MOSS-SoundEffect inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—The sound, in plain words: what makes it and where, for example "Rolling thunder with steady rainfall." English and Chinese work best.
1–300 characters
duration_secondsnumberNo10.0How long the sound lasts (1 to 30 seconds): the model plans it to fit.
1–30
repetition_penaltynumberNo1.2Above 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
temperaturenumberNo1.5Variety of voice and delivery; higher is livelier and less steady. The model is sensitive to it.
0.3–2.5
top_kintegerNo50Sample only from this many most likely sounds.
1–200
top_pnumberNo0.6Sample only from the most likely sounds whose probabilities add up to this.
0.1–1

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

Run MOSS-SoundEffect 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_SOUNDEFFECT" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "example",
    "duration_seconds": 10.0,
    "repetition_penalty": 1.2,
    "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_SOUNDEFFECT",
        {
          "prompt": "example",
          "duration_seconds": 10.0,
          "repetition_penalty": 1.2,
          "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-SoundEffect

You can fine-tune MOSS-SoundEffect on your own data and run the tuned model through the same API. Dataset: Recordings of the kind of sound to learn, each with a description of it ({"file": ..., "text": ...} items): 4 to 2000 clips of 0.5 to 30 seconds and at most 50 MB each, 10 GB in all.

The steps are in the docs.

MOSS-SoundEffect pricing

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

Licence and source

EzAudio XL: Audio Generation model on Kainguru
Audio Generation

EzAudio XL

Text-to-sound-effects: describe a sound in English (rain on a tin roof, a door slam, a crowd cheering) and get up to…

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