
MOSS-SoundEffect
Sound effects and ambience from a text description, with a duration you choose: nature, cities, animals, human actions…
Fine-tunableEZAUDIO_XLText-to-sound-effects: describe a sound in English (rain on a tin roof, a door slam, a crowd cheering) and get up to 10 seconds of 24 kHz audio.

EzAudio by Jiarui Hai et al., MIT License (OpenSound/EzAudio). Text encoder: FLAN-T5-XL by Google, Apache License 2.0. Its waveform VAE follows Stability AI's stable-audio-tools, MIT License.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | The sound to make, in English: what makes it and how. For example: rain on a tin roof with distant thunder. 1–300 characters |
seed | integer | No | — | The same seed and inputs give the same sound. Leave empty for a random seed (returned in the result). 0–2147483647 |
guidance_scale | number | No | 5.0 | How closely the sound follows the prompt; higher is more faithful and less varied. 1–10 |
steps | integer | No | 100 | Denoising steps: more is slower and a little cleaner. 10–100 |
duration_seconds | integer | No | 10 | Length of the sound in seconds. The model learned on 10 second clips. 1–10 |
Output. Returns WAV audio: The sound as a 24 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=EZAUDIO_XL" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "example",
"duration_seconds": 10,
"guidance_scale": 5.0,
"steps": 100
},
"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(
"EZAUDIO_XL",
{
"prompt": "example",
"duration_seconds": 10,
"guidance_scale": 5.0,
"steps": 100
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune EzAudio XL on your own data and run the tuned model through the same API. Dataset: Recordings of the sound to learn, each with a description ({"file": ..., "text": ...} items): 2 to 500 clips of 1 to 30 seconds and at most 50 MB each. The model learns from 10 seconds of each.
The steps are in the docs.
Price per second: 0.0437 credits ($0.000437). The price is shown again before every run; all prices are on the pricing page.

Sound effects and ambience from a text description, with a duration you choose: nature, cities, animals, human actions…
Fine-tunable
Generate sound effects and foley audio from a text description.

Text-to-music: songs and instrumentals from a description and optional lyrics, up to 4 minutes in 48 kHz stereo, with…
Fine-tunable
Fast English text-to-speech in the voice of a short reference clip, or in a voice you train it on.
Fine-tunable
Lightweight, natural-sounding text-to-speech from an 82-million-parameter model.

Text-to-speech in nine languages and Chinese dialects: clone a voice from a short clip, steer emotion, speed or…
Fine-tunable