Actions7
- Voice Actions
- Speech Actions
Overview
This node integrates with the ElevenLabs API to manage voice resources and speech synthesis. Specifically, the Voice - Delete operation allows users to delete a selected voice from their ElevenLabs account. This is useful for managing and cleaning up custom or unused voices in your voice library.
Typical use cases include:
- Removing outdated or unwanted voice profiles.
- Automating voice resource management as part of a larger workflow.
- Maintaining an organized set of voices for text-to-speech applications.
For example, if you have created multiple custom voices but want to remove one that is no longer needed, this node operation can be used to delete it programmatically.
Properties
| Name | Meaning |
|---|---|
| Voice | The voice to delete. You can select it either from a searchable list of available voices or specify its unique ID directly. |
The "Voice" property supports two modes:
- From list: Choose a voice from a searchable dropdown list populated by existing voices.
- ID: Provide the unique identifier string of the voice to delete.
Output
The node outputs JSON data representing the response from the ElevenLabs API after attempting to delete the voice. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
No binary data output is expected from this operation.
Dependencies
- Requires an active ElevenLabs API key credential configured in n8n.
- The node makes HTTP POST requests to the ElevenLabs API endpoint at
https://api.elevenlabs.io/v1. - Proper network access to the ElevenLabs API is necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent voice ID will result in an error from the API.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems may prevent the node from reaching the ElevenLabs service.
Error messages:
- "Voice not found": Check that the voice ID is correct and exists in your ElevenLabs account.
- "Unauthorized" or "Invalid API key": Verify that the API key credential is correctly set up and has proper permissions.
- Timeouts or connection errors: Ensure your environment can reach the ElevenLabs API endpoint.
Resolving these typically involves verifying input values, checking API credentials, and ensuring network connectivity.
Links and References
- ElevenLabs API Documentation – Official API reference for voice management and other features.
- ElevenLabs Website – For account management and API key generation.