Skip to content

ElevenLabs Connector

The ElevenLabs connector integrates Agentcy with the ElevenLabs text-to-speech platform. It provides 4 live tools for generating speech, browsing voices, and monitoring usage.

Authentication

The connector authenticates using an ElevenLabs API key, which you can generate at elevenlabs.io/app/settings/api-keys.

json
{
  "name": "ElevenLabs",
  "source_type": "elevenlabs",
  "config": {
    "api_key": "sk_..."
  }
}
VariableRequiredDescription
api_keyYesElevenLabs API key

Live Tools (4)

ToolDescriptionArguments
elevenlabs_text_to_speechConvert text to speech audiotext, voice_id?, model_id?, output_format?
elevenlabs_list_voicesList available voices (premade and custom)category?
elevenlabs_get_voice_settingsGet settings for a specific voicevoice_id
elevenlabs_get_usageGet current usage and quota information--

Example: Agent Using ElevenLabs Tools

User: "What voices are available for narration?"

Agent: Let me list the available voices.
→ Calls elevenlabs_list_voices()
→ Returns: "Found 24 voices:
  - Rachel (premade, female, American, narrative)
  - Adam (premade, male, American, conversational)
  - Bella (custom, female, British, narrative)
  ..."
User: "Generate an audio clip saying 'Welcome to Agentcy' with Rachel's voice"

Agent: I'll generate the audio.
→ Calls elevenlabs_text_to_speech(text: "Welcome to Agentcy", voice_id: "21m00Tcm4TlvDq8ikWAM")
→ Returns: audio file URL / binary data
→ Reports: "Audio generated successfully using Rachel's voice (MP3, 2.1s)."

ETL Ingestion

This connector does not support ETL ingestion. All tools operate as live API calls to the ElevenLabs platform.

Configuration Reference

json
{
  "name": "ElevenLabs",
  "source_type": "elevenlabs",
  "config": {
    "api_key": "sk_..."
  }
}
FieldTypeDefaultDescription
api_keystringrequiredElevenLabs API key

Troubleshooting

ErrorCauseFix
401 UnauthorizedInvalid API keyVerify the API key at elevenlabs.io/app/settings/api-keys
Quota exceededCharacter quota exhausted for the billing periodUpgrade your ElevenLabs plan or wait for quota reset
Voice not foundInvalid voice_idUse elevenlabs_list_voices to find valid voice IDs
Invalid textText is empty or exceeds the character limitKeep text within the plan's character limit per request
Rate limitedToo many concurrent requestsAdd delays between requests or upgrade your plan

Built by AgentcyLabs. For in-house deployment or Agentcy Cloud (PaaS) access, visit agentcylabs.com.