Elevenlabs API

Give your agents access to Elevenlabs API. Bring your own Elevenlabs key, or skip the signup and pay per call from your Composio balance with Composio Instant.

Elevenlabs logoElevenlabs
Instant

Elevenlabs is an advanced AI voice generation platform for lifelike, multilingual speech synthesis. Perfect for creating natural voices for videos, apps, and business content in seconds.

396 Tools
COMPOSIO INSTANT

What is Composio Instant?

Composio Instant lets your agent use paid APIs like Elevenlabs without a separate account or API key for each one. New accounts start with $2 of free credit.

No Elevenlabs account or key

Your agent calls Elevenlabs through Composio, so there is nothing to sign up for, store, or rotate.

Pay per call, at cost

$0.08 per 1,000 Multilingual v2 input characters, paid from your Composio balance with zero markup.

Works in any agent

Claude, ChatGPT, Cursor, and other MCP clients, or your own code with the Composio SDK.

Works with your apps

Use Elevenlabs with Gmail, Slack, Google Sheets, and 1,700+ other apps you connect.

AI ASSISTANTS

Connect the Elevenlabs API to your AI assistant

Use Elevenlabs from the AI assistant you already work in. Connect Composio once, then paste the prompt.

  1. 1

    Open the Connectors menu

    Use the button to open Claude's Add connector dialog with Composio filled in. Or click + in the message box, then Connectors, Add connector and Add custom connector.
    Add Composio to Claude
  2. 2

    Add the Composio MCP server

    Name it Composio, paste the MCP server URL and click Add.
    https://connect.composio.dev/mcp
  3. 3

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  4. 4

    Paste the prompt

    Start a new chat and paste the prompt. Claude runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks.
    Install in ChatGPT
  2. 2

    Authorize in your browser

    Connect the plugin, then sign in to Composio to approve the connection.
  3. 3

    Turn on Composio in your chat

    In a new chat, click +, then More, and select Composio.
  4. 4

    Paste the prompt

    Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser.
    Install in Cursor
  2. 2

    Paste the prompt

    Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
  1. 1

    Add the Composio plugin

    Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add.
    Add to Grok Bot
  2. 2

    Authenticate

    Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize.
  3. 3

    Paste the prompt

    Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
  1. 1

    Paste the setup prompt

    Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.
    Set up Composio from composio.dev/hermes
  2. 2

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  3. 3

    Paste the prompt

    Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
ClaudeNew chat

Paste this prompt

Use ElevenLabs through Composio Instant to turn “Welcome to the weekly product update. Here are three changes to share with your team.” into speech using voice ID 21m00Tcm4TlvDq8ikWAM. Return the downloadable audio file.

What success looks like

ELEVENLABS_TEXT_TO_SPEECH

Your assistant runs ElevenLabs and replies with a downloadable audio file of the text spoken in the selected voice.

Runs on Composio Instant
SDK

Use the Elevenlabs API in your code

Call Elevenlabs from your own agent with the Composio SDK. Four steps and one tool call.

  1. 1

    Set up Composio

    Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.
    export COMPOSIO_API_KEY="your_composio_api_key"
  2. 2

    Install the SDK

    The Python SDK needs Python 3.11 through 3.15.
    pip install composio
  3. 3

    Run the call

    Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account.
    ELEVENLABS_TEXT_TO_SPEECH
  4. 4

    Read the response

    When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
agent.py
from composio import Composio

composio = Composio()

session = composio.sessions.create(
    user_id="user_123",
    toolkits=["elevenlabs"],
    instant={
        "toolkits": {"enable": ["elevenlabs"]},
        "return_instant_charge": True,
    },
)

result = session.execute(
    "ELEVENLABS_TEXT_TO_SPEECH",
    arguments={
        "text": "Welcome to the weekly product update. Here are three changes to share with your team.",
        "voice_id": "21m00Tcm4TlvDq8ikWAM",
    },
    account="instant_account",
)
print(result)
print("Instant charge:", result.instant_charge)
TOOLS

Available Elevenlabs API tools

6 Elevenlabs tools run on Instant, priced per call with no Elevenlabs key. Tools marked Your key need your own Elevenlabs account.

ActionTool slugWhat it doesAvailability
Text to SpeechELEVENLABS_TEXT_TO_SPEECHConvert text into a downloadable audio file with an ElevenLabs voice and model.
Instant$0.08 per 1,000 Multilingual v2 input characters
Convert VoiceELEVENLABS_SPEECH_TO_SPEECHConvert an audio file into speech in a specified voice.
Instant$0.12 per input audio minute of voice conversion
Isolate AudioELEVENLABS_STREAM_AUDIO_ISOLATIONRemove background noise to isolate vocals or speech in an audio file.
Instant$0.12 per input audio minute of voice isolation
Plan MusicELEVENLABS_CREATE_MUSIC_PLANGenerate a music composition plan from a text prompt.
Instant$0 per request
Speech to speech streamingELEVENLABS_SPEECH_TO_SPEECH_STREAMINGConverts an uploaded audio file to a different voice using a streaming speech-to-speech endpoint and returns a downloadable audio file.
Instant$0.12 per input audio minute of streamed voice conversion
Text to speech streamELEVENLABS_TEXT_TO_SPEECH_STREAMConverts text through the provider streaming endpoint and returns a downloadable audio file.
Instant$0.08 per 1,000 Multilingual v2 input characters for streamed speech
Compose MusicELEVENLABS_COMPOSE_MUSICCompose a song from a prompt or composition plan and return its audio.Your key
Create PodcastELEVENLABS_CREATE_PODCASTCreate and convert a Studio podcast from text or URLs with one or two voices.Your key
Create Dubbing ProjectELEVENLABS_CREATE_DUBBING_PROJECTCreate an asynchronous dubbing project from uploaded media or a public URL.Your key

Instant prices are Elevenlabs's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.

USE CASES

Elevenlabs API use cases and example prompts

Copy a prompt into your agent. Each one uses Elevenlabs with apps you connect through Composio.

  • Create launch narration

    Read the approved narration script in my Launch Brief in Google Docs. Use ElevenLabs Text to Speech to turn it into a downloadable audio file, then save the file in my Launch Assets folder in Google Drive.

    Apps used: Elevenlabs, Google Docs, Google Drive

  • Clean up webinar audio

    Use ElevenLabs Isolate Audio to remove background noise from the recording in my Webinar Recordings folder in Google Drive. Save the cleaned audio in that folder and post its link in Slack's #webinar channel.

    Apps used: Elevenlabs, Google Drive, Slack

  • Adapt onboarding voiceover

    Use ElevenLabs Convert Voice to convert the approved onboarding voiceover in my Onboarding Audio folder in Google Drive into our selected narration voice. Save the converted audio in the folder and add its link to my Onboarding Assets sheet in Google Sheets.

    Apps used: Elevenlabs, Google Drive, Google Sheets

  • Make a product podcast

    Use ElevenLabs to create a two-voice Studio podcast from the launch overview on my Product Launch page in Notion. Save the podcast audio in my Launch Assets folder in Google Drive.

    Apps used: Elevenlabs, Notion, Google Drive

TROUBLESHOOTING

Elevenlabs API troubleshooting

Still stuck? The Instant tools docs cover limits, charges and session settings.

Start with Elevenlabs.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Elevenlabs tool your agent needs.Free to start.

Start building