Actions16
Overview
The "Create Sound Effects" operation in the Speech resource of this ElevenLabs node generates custom sound effects based on a textual description provided by the user. This node is useful for content creators, game developers, filmmakers, or anyone needing unique audio effects without sourcing or creating them manually. For example, you can generate a "spacious braam suitable for high-impact movie trailer moments" or other specific soundscapes by describing the desired effect in natural language.
Properties
| Name | Meaning |
|---|---|
| Sound Effect Description | A required text input where you describe the sound effect you want to generate (e.g., "Spacious braam suitable for high-impact movie trailer moments"). |
| Duration (Seconds) | Optional number specifying the length of the generated sound effect in seconds. Valid range is 0.5 to 22 seconds. If not set, duration is determined automatically. |
| Prompt Influence | Controls how closely the generated sound follows the prompt description. Values range from 0 to 1, where higher values mean less variation and more faithful adherence to the prompt. Default is 0.7. |
| Binary Name | Optional string to change the name of the binary output data. Defaults to "data". |
| File Name | Optional string to specify the output file name. Defaults to "voice". |
| Output Format | Selects the audio format of the generated sound effect. Options include various MP3 and PCM formats, as well as μ-law encoding. Default is "MP3 (44.1kHz, 128kbps)". |
Note: The node also displays a notice that it is currently in BETA and under active development, with links for more information and support.
Output
The node outputs the generated sound effect audio data in binary form. The binary data corresponds to the audio file encoded in the selected output format (e.g., MP3 or PCM). The output includes:
- A JSON field containing metadata about the request/response.
- A binary field containing the raw audio data of the generated sound effect, named according to the "Binary Name" property (default "data").
This allows downstream nodes to use or save the audio file directly.
Dependencies
- Requires an API key credential for ElevenLabs API authentication.
- Makes HTTP POST requests to the ElevenLabs API endpoint
/sound-generation. - The node expects the ElevenLabs API base URL
https://api.elevenlabs.io/v1. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common issues:
- Invalid or missing API key will cause authentication errors.
- Providing an empty or invalid sound effect description will likely result in an error or no meaningful audio output.
- Specifying a duration outside the allowed range (0.5 to 22 seconds) may cause the request to fail.
- Selecting an unsupported output format could lead to unexpected results or errors.
Error messages:
- Authentication failures typically indicate problems with the API key; verify the credential setup.
- Validation errors may occur if required fields like the sound effect description are missing.
- Network or API errors should be checked by reviewing the full response returned by the node (enabled by default).