Elevenlabs Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Elevenlabs MCP or direct API to generate lifelike speech, clone voices, convert text to audio, and manage audio projects through natural language.
Elevenlabs Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Add a pronunciation dictionary from fileAdds a new pronunciation dictionary from a lexicon file to improve speech synthesis accuracy.
Add new project with attributesUse to create a new elevenlabs project for text-to-speech synthesis (e.
Add rules to the pronunciation dictionaryAdds one or more custom pronunciation rules (alias or phoneme) to an existing pronunciation dictionary.
Add sharing voiceAdds an existing, shareable voice to a specified user's elevenlabs account library under a new custom name, requiring the user's public id and the voice id.
Add a voiceAdds a custom voice, requiring a `name` and a `files` list with at least one audio sample, to initiate cloning; returns `voice id` but voice is not immediately usable for synthesis.
Convert chapter to audioConverts the textual content of a chapter, identified by `chapter id` within a `project id`, into audio format.
Convert a projectConverts an existing elevenlabs studio project, including all its chapters and using its configured settings and voices, into speech.
Create a previously generated voiceFinalizes the creation of a voice using its `generated voice id` from a previous generation step by assigning a name, description, and optional labels.
Create an AudioNative enabled projectCreates an elevenlabs audionative project, generating an embeddable audio player from a provided content file using text-to-speech, allowing customization of player appearance, audio settings, and conversion options.
Delete chapter from projectIrreversibly deletes a specific, existing chapter from an existing project, typically to remove unwanted or obsolete content.
Delete a dubbing projectPermanently deletes a dubbing project by its id; this action is irreversible and the project cannot be recovered.
Delete history itemPermanently deletes a specific history item (including its audio file and metadata) using its `history item id`; this operation is irreversible and should be used with caution.
Delete project by idUse to irreversibly delete a specific project by its `project id`; the project must exist and be accessible, and this action cannot be undone.
Delete voice samplePermanently deletes a specific voice sample for a given voice id; this action is irreversible.
Delete voice by idPermanently and irreversibly deletes a specific custom voice using its `voice id`; the voice must exist and the authenticated user must have permission to delete it.
Download history itemsDownloads audio clips from history by id(s), returning a single file or a zip archive, with an optional output format (e.
Dub a video or an audio fileDub a video or audio file into a specified target language, requiring 'file' or 'source url', 'target lang', and 'csv file' if 'mode' is 'manual'.
Edit voiceUpdates the name, audio files, description, or labels for an existing voice model specified by `voice id`.
Edit voice settingsEdits key voice settings (e.
Text to speechConverts text to speech using a specified elevenlabs voice and model, returning a downloadable audio file.
Text to speech streamConverts text to a spoken audio stream, allowing latency optimization, specific output formats (some tier-dependent), and custom pronunciations; ensure the chosen model supports text-to-speech and text is preferably under 5000 characters.
Generate a random voiceGenerates a unique, random elevenlabs text-to-speech voice based on input text and specified voice characteristics.
Get user profile by handleRetrieves the public profile information for an existing elevenlabs user based on their unique handle.
Get audio from history itemRetrieves the audio content for a specific history item from elevenlabs, using a `history item id` that must correspond to a previously generated audio.
Get sample audioRetrieves the audio for a given `sample id` that must belong to the specified `voice id`.
Get chapter by IDFetches comprehensive details for a specific chapter within a given project, including its metadata (name, id), conversion status, progress, download availability, and content statistics.
Get chapters by project idRetrieves a list of all chapters, their details, and conversion status for a project, useful for managing content or tracking progress.
Get chapter snapshotsRetrieves all saved version snapshots for a specific chapter within a given project, enabling review of its history or reversion to prior states.
Get default voice settingsRetrieves the elevenlabs text-to-speech service's default voice settings (stability, similarity boost, style, speaker boost) that are applied when no voice-specific or request-specific settings are provided.
Get dubbed audio for a languageRetrieves an existing dubbed audio file for a specific `dubbing id` and `language code`.
Get dubbing project metadataRetrieves metadata and status for a specific dubbing project by its id.
Get generated itemsRetrieves metadata for a list of generated audio items from history, supporting pagination and optional filtering by voice id.
Get history item by idRetrieves detailed information (excluding the audio file) for a specific audio generation history item from elevenlabs, using its unique id.
Get pronunciation dictionary metadataRetrieves metadata for a specific, existing pronunciation dictionary from elevenlabs using its id.
Get modelsRetrieves a detailed list of all available elevenlabs text-to-speech (tts) models and their capabilities.
Get project by IDUse to retrieve all details for a specific project, including its chapters and their conversion statuses, by providing the project's unique id.
Get projectsFetches a list of all projects and their details associated with the user's elevenlabs account; this is a read-only operation.
Get project snapshotsRetrieves all available snapshots (saved states or versions) for an existing project, enabling history tracking, version comparison, or accessing specific states for playback/processing, particularly in text-to-speech workflows.
Get pronunciation dictionariesRetrieves a paginated list of pronunciation dictionaries, used to customize how specific words or phrases are pronounced by the text-to-speech (tts) engine.
Get pronunciation dictionary versionDownloads the pronunciation lexicon specification (pls) file for an existing version of a pronunciation dictionary from elevenlabs, used to customize tts pronunciation.
Get shared voicesRetrieves a paginated and filterable list of shared voices from the elevenlabs voice library.
Get sso provider adminRetrieves the sso provider configuration for a specified workspace, typically for review purposes, and will indicate if no configuration exists.
Get dubbing transcript by languageRetrieves the textual transcript for a specified dubbing project and language, if one exists for that language in the project.
Get user infoRetrieves detailed information about the authenticated elevenlabs user's account, including subscription, usage, api key, and status.
Get user subscription infoRetrieves detailed subscription information for the currently authenticated elevenlabs user.
Get voiceRetrieves comprehensive details for a specific, existing voice by its `voice id`, optionally including its settings.
Get voices listRetrieves a list of all available voices along with their detailed attributes and settings.
Get voice settingsRetrieves the stability, similarity, style, and speaker boost settings for a specific, existing elevenlabs voice using its `voice id`.
Get API documentationRetrieves the content of the official elevenlabs api documentation page hosted on mintlify.
Remove rules from pronunciation dictionaryPermanently removes exact-match pronunciation rules from a specified elevenlabs pronunciation dictionary using a list of rule strings; non-matching rule strings are ignored and this action cannot add or modify rules.
Speech to speechConverts an input audio file to speech using a specified voice; if a `model id` is provided, it must support speech-to-speech conversion.
Speech to speech streamingConverts an input audio stream to a different voice output stream in real-time, using a specified speech-to-speech model.
Stream chapter audioStreams the audio for a specified chapter snapshot from an elevenlabs project, optionally converting the output to mpeg format.
Stream project audioStreams audio from a specific project snapshot, optionally converting it to mpeg format.
Archive project snapshotArchives an existing project snapshot by its id, creating a permanent, immutable, and typically irreversible copy of its state.
Update project pronunciation dictionariesUpdates a project's pronunciation dictionaries on elevenlabs to improve text-to-speech accuracy for specialized terms; note that while multiple dictionaries can be applied, the ui only displays the first.
Voice generation parameters retrievalFetches configurable parameters for elevenlabs voice generation, used to determine available settings (e.

Connect Elevenlabs MCP Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Elevenlabs tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Convert chapter text to audio file')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Connect Elevenlabs API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Elevenlabs Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Convert this blog post to English audio narration'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Elevenlabs actions with your Agent

Why Use Composio?

AI Native Elevenlabs Integration

  • Supports both Elevenlabs MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for generating speech, voice cloning, and project management

Managed Auth

  • Centralized API key management for Elevenlabs
  • Scoped per-user and per-environment credential handling
  • No hard-coded secrets in your agent code

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Elevenlabs
  • Scoped, least privilege access to Elevenlabs resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Elevenlabs with Composio?

Yes, Elevenlabs requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.