Skip to content
Docs menu

Generate sound effects

Wave turns a description into sound effects and ambience.

Wave makes sound effects and ambience from a text description. One call can make up to 50 sounds.

sound = catalyst.wave.generate(
    "thunder rolling over a valley",
    steps=25, guidance_scale=4.5, duration=8,
)
sound.file          # the File: file_id, format, duration
sound.usage.plumes  # what it cost

Several sounds in one call

Give a list of prompts instead of one. One file comes back per prompt, in the same order.

many = catalyst.wave.generate(prompts=["rain", "thunder", "distant traffic"], duration=6)
len(many.files)   # 3

Options

OptionTypeLimitsWhat it does
promptstring1 to 8000 charactersWhat the sound is. Give prompt or prompts.
promptslist of strings1 to 50 itemsSeveral sounds in one call.
modelstringwave-apex-v1The Wave model. The SDKs also accept wave-apex-1 and wave-apex and send wave-apex-v1.
stepsinteger10 to 50Generation steps. More is slower and usually cleaner.
guidance_scalenumber1 to 10How closely the sound follows the prompt.
durationnumberabove 0, at most 300 secondsLength of each sound.
session_idstringsee SessionsWhich session the files belong to. SDKs default to their own session.
Tip

The SDKs check these limits before sending. A value outside them fails instantly with a clear message, and nothing is charged.

Next: download the file.