ElevenLabs icon

ElevenLabs

Interact with ElevenLabs API

Overview

The node interacts with the ElevenLabs API to create a cloned voice based on provided audio files and metadata. This operation is useful for users who want to generate a custom synthetic voice that mimics a particular speaker's characteristics by supplying sample audio data. Practical applications include creating personalized voice assistants, generating unique narration voices for multimedia content, or developing voiceovers that match specific personas.

Properties

Name Meaning
Name The name assigned to the cloned voice (e.g., "Rachel").
Audio Files The audio files used as source material for cloning the voice.
Description (Optional) A textual description of the cloned voice, such as its tone or style.
Labels (Optional) Key/value pairs tagging the voice with attributes like accent, gender, or age.

Output

The node outputs JSON data representing the newly created cloned voice. This typically includes details such as the voice's unique identifier, name, description, labels, and possibly status or metadata returned from the ElevenLabs API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the ElevenLabs API.
  • The node sends HTTP POST requests to https://api.elevenlabs.io/v1.
  • Proper configuration of the API key in n8n credentials is necessary for successful operation.

Troubleshooting

  • Common Issues:
    • Missing or invalid API key will cause authentication failures.
    • Providing improperly formatted audio files or unsupported formats may result in errors.
    • Omitting required fields like "Name" or "Audio Files" can lead to request rejection.
  • Error Messages:
    • Authentication errors typically indicate issues with the API key; verify the credential setup.
    • Validation errors from the API may specify missing or malformed input data; ensure all required properties are correctly filled.
    • Network or timeout errors suggest connectivity problems; check internet access and API availability.

Links and References

Discussion