sound_effects
Generate a sound effect from a text prompt. Control duration, prompt influence, and loop options to produce custom audio files.
Instructions
Generate a sound effect from a text prompt.
Args: text: description of the sound effect, e.g. "distant thunder rolling". duration_seconds: desired length (0.5..30). If omitted the model chooses. prompt_influence: 0..1 — how strictly to follow the prompt. loop: make the effect loopable. output_format: audio output format. output_filename: optional output file name.
Returns the absolute path of the saved audio file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| text | Yes | ||
| output_format | No | mp3_44100_128 | |
| output_filename | No | ||
| duration_seconds | No | ||
| prompt_influence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |