ElevenLabs icon

ElevenLabs

WIP

Overview

The ElevenLabs node's Speech - Create Sound Effects operation 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 creative sounds 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. Allowed range is 5 to 10 seconds. If not set, duration is automatic.
Prompt Influence Number between 0 and 1 controlling how closely the sound follows the prompt. Higher values mean less variation but more faithful adherence to the prompt. Default is 0.7.
Output Format Choice of audio output format for the generated sound effect. Options include: MP3 (44.1kHz, 128kbps), MP3 (44.1kHz, 192kbps), PCM (various bit depths and sample rates), and μ-Law (8-Bit, 8kHz). Default is MP3 44.1kHz 128kbps.
File Name Optional string to specify the output file name of the generated audio. Defaults to "voice".
Binary Name Optional string to change the binary property name in the output. Defaults to "data".

Note: Some properties like streaming latency, language code, model ID, stability, similarity boost, style, speaker boost, seed, logging, text normalization, and others are available but apply only to other operations (text-to-speech, voice-changer, speech-to-text) and are not relevant for sound effect generation.

Output

  • The node outputs the generated sound effect as binary data.
  • The binary data contains the audio file in the selected output format (e.g., MP3 or PCM).
  • The binary property name defaults to data but can be customized via the "Binary Name" property.
  • The output JSON typically includes metadata such as the file name if specified.

Dependencies

  • Requires an active API key credential for ElevenLabs API access.
  • The node sends requests to the ElevenLabs API endpoint /sound-generation.
  • No additional environment variables are explicitly required beyond the API key.
  • Internet connectivity is necessary to reach the ElevenLabs service.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication errors.
    • Providing a sound effect description that is too vague or unsupported may result in poor or failed generation.
    • Specifying a duration outside the allowed range (5-10 seconds) may cause validation errors.
    • Selecting an unsupported output format or mismatched binary/file names could lead to unexpected output handling.
  • Error messages:

    • Authentication failures: Check that the API key credential is correctly configured.
    • Validation errors on parameters: Ensure all required fields are filled and within allowed ranges.
    • Network errors: Verify internet connection and API endpoint accessibility.

Links and References

Discussion