ElevenLabs icon

ElevenLabs

WIP

Overview

The "Get Voice Details" operation in the ElevenLabs node retrieves detailed information about a specific generated voice using its unique identifier. This is useful for users who want to inspect or manage voices they have created or have access to within the ElevenLabs platform. For example, you might use this node to fetch metadata or settings of a voice before using it in text-to-speech synthesis or to audit voice configurations.

Properties

Name Meaning
This node is currently in BETA and under active development.
Visit this page for more information or contact the n8Ninja on X.

To support my work, please share this youtube video 🥷🙏
Informational notice about the node's development status and links for support and updates.
With Settings Boolean option to specify whether to include the voice's settings in the returned details.
Generation Voice ID The unique identifier (generated_voice_id) of the generated voice whose details are to be retrieved. This property is required.

Output

The output JSON contains detailed information about the specified generated voice. If the "With Settings" option is enabled, the output will also include the voice's configuration settings. The exact structure depends on the API response but typically includes fields such as voice name, language, gender, and any custom settings associated with the voice.

If the node supports binary data output (not indicated here), it would represent audio or related media, but this operation primarily returns JSON metadata.

Dependencies

  • Requires an active ElevenLabs API key credential configured in n8n.
  • Network access to the ElevenLabs API endpoint at https://api.elevenlabs.io/v1.
  • The node uses HTTP POST requests with JSON content type.

Troubleshooting

  • Common issues:

    • Invalid or missing generated_voice_id: The node will fail if the provided voice ID does not exist or is malformed.
    • API authentication errors: Ensure the API key credential is correctly set up and has necessary permissions.
    • Network connectivity problems: Verify that n8n can reach the ElevenLabs API endpoint.
  • Error messages:

    • Unauthorized or 401 errors indicate invalid or expired API credentials.
    • 404 Not Found suggests the specified voice ID does not exist.
    • 400 Bad Request may occur if required parameters are missing or invalid.

Resolving these usually involves verifying input parameters, checking API key validity, and ensuring network connectivity.

Links and References

Discussion