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 costSeveral 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) # 3Options
| Option | Type | Limits | What it does |
|---|---|---|---|
prompt | string | 1 to 8000 characters | What the sound is. Give prompt or prompts. |
prompts | list of strings | 1 to 50 items | Several sounds in one call. |
model | string | wave-apex-v1 | The Wave model. The SDKs also accept wave-apex-1 and wave-apex and send wave-apex-v1. |
steps | integer | 10 to 50 | Generation steps. More is slower and usually cleaner. |
guidance_scale | number | 1 to 10 | How closely the sound follows the prompt. |
duration | number | above 0, at most 300 seconds | Length of each sound. |
session_id | string | see Sessions | Which 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.