EzAudio XL

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 10 seconds of 24 kHz audio.

Audio Generationsound-effectstext-to-audiofoleyambiencemitFine-tunable
EzAudio XL: Audio Generation model on Kainguru

About EzAudio XL

Capabilities

  • Sound effects and ambience — natural scenes, animals, machines, impacts, crowds and everyday sounds from a sentence
  • Control — set the length (1 to 10 seconds), the guidance scale and the number of steps; a seed repeats a result
  • Train a sound — fine-tune on recordings of one kind of sound, each with a description; the result makes that sound on request

Good to know

  • English prompts only. Output is 24 kHz mono WAV, up to 10 seconds per request, billed per second of audio produced.
  • The model learned from 10 second clips; shorter requests work, but 10 seconds is where it is strongest.
  • Describe what makes the sound and where it happens; short, concrete prompts work best.
  • Fine-tuning takes 2 to 500 clips of 1 to 30 seconds, each with a description; the model learns from 10 seconds of each.
  • It learned from public datasets of YouTube sound clips (AudioSet, VGGSound, AudioCaps) and its authors do not state the licences of that audio; check that the sound you make is fit for your use.

Attribution

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.

EzAudio XL inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—The sound to make, in English: what makes it and how. For example: rain on a tin roof with distant thunder.
1–300 characters
seedintegerNo—The same seed and inputs give the same sound. Leave empty for a random seed (returned in the result).
0–2147483647
guidance_scalenumberNo5.0How closely the sound follows the prompt; higher is more faithful and less varied.
1–10
stepsintegerNo100Denoising steps: more is slower and a little cleaner.
10–100
duration_secondsintegerNo10Length 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.

Run EzAudio XL 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=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"
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(
        "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)

Fine-tune EzAudio XL

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.

EzAudio XL pricing

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

Licence and source

MOSS-SoundEffect: Audio Generation model on Kainguru
Audio Generation

MOSS-SoundEffect

Sound effects and ambience from a text description, with a duration you choose: nature, cities, animals, human actions…

Fine-tunable
ACE-Step 1.5: Audio Generation model on Kainguru
Audio Generation

ACE-Step 1.5

Text-to-music: songs and instrumentals from a description and optional lyrics, up to 4 minutes in 48 kHz stereo, with…

Fine-tunable
SpeechT5 TTS: Audio Generation model on Kainguru
Audio Generation

SpeechT5 TTS

Fast English text-to-speech in the voice of a short reference clip, or in a voice you train it on.

Fine-tunable
Kokoro 82M: Audio Generation model on Kainguru
Audio Generation

Kokoro 82M

Lightweight, natural-sounding text-to-speech from an 82-million-parameter model.

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