Integrations · ElevenLabs
A Guild agent converts text to speech, manages custom voices, and queries audio generation history on your behalf. Guild stores the ElevenLabs API key server-side and injects it into every request, so agent code never sees it. Credential policies let you restrict which operations each agent may call, and every request runs through Guild’s audit trail.
Book a demo
See how teams govern agents that use ElevenLabs.
Talk to sales
Get access to Guild, then connect ElevenLabs to your first agent.
What the ElevenLabs integration exposes
The integration provides tools for text-to-speech conversion with audio streaming, full voice lifecycle management including add, edit, and delete, and voice settings control covering stability and similarity boost. Additional tools cover audio generation history retrieval and download, sample management, and user subscription details.How it works
1
Open credentials in Guild
Go to Access & setup > Credentials in your Guild account or organization. Click Connect and search for elevenlabs.
2
Paste your API key
Enter your ElevenLabs API key into the API Key field. Guild stores it and sends it as the xi-api-key header on every agent request.
3
Import tools in your agent
Import ElevenlabsTools from the
guildai~elevenlabs package and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.Why ElevenLabs access needs governing
ElevenLabs tools can create and delete voices, download audio history, and read subscription details. Guild’s credential proxy enforces credential policies before any request leaves Guild: you write ALLOW and DENY rules scoped to specific operations, agents, or workspaces. A DENY rule always wins over an ALLOW rule, so you can block destructive operations such as voice deletion while permitting read and synthesis operations. Credentials are scoped to an account, workspace, member, or single agent, so a dedicated credential for one agent never serves another. Guild injects the API key server-side; agents never evaluate the key themselves and cannot bypass policy checks. Teams that need a tighter boundary can restrict a workspace to its own credentials, cutting off any shared account credentials entirely.About the ElevenLabs integration
Agents can convert text to speech using any available voice and stream the resulting audio. They can add, edit, and delete custom voices and adjust voice settings. Agents can also query and manage audio generation history and retrieve user subscription details. The integration isguildai~elevenlabs.
Authentication
- Type: API key
- Header: Guild sends the key as
xi-api-key: <key>
Setup
1
Connect ElevenLabs
In Guild, go to Access & setup > Credentials, click Connect, select elevenlabs, and paste the key into API Key.
Usage
Selecting specific tools
Tools are named with theelevenlabs_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~elevenlabs:
Frequently asked questions
Can an agent stream audio directly or does it get a file back?
Can an agent stream audio directly or does it get a file back?
The text-to-speech tool calls the streaming endpoint and returns audio as an audio stream.
Does the integration support webhook events from ElevenLabs?
Does the integration support webhook events from ElevenLabs?
No. The catalog entry lists no webhook events for ElevenLabs, so event-triggered runs from ElevenLabs are not available.
How do I stop one agent from deleting voices while another can?
How do I stop one agent from deleting voices while another can?
Write a credential policy with a DENY rule on the delete voice and delete history operations scoped to the agent that should not use them. Guild’s proxy blocks those calls before they reach ElevenLabs. See Credential policies for rule syntax.
Put a governed agent on ElevenLabs this week
Book a demo
See how teams govern agents that use ElevenLabs.
Talk to sales
Get access to Guild, then connect ElevenLabs to your first agent.