> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/ai-ml/elevenlabs.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# ElevenLabs

ElevenLabs is an AI audio platform. Clone and design voices, create dubbing, manage pronunciation dictionaries and download generation history.

![ElevenLabs logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-e15ebb3d79c0b4b43099db849e98770bb711e127%2Felevenlabs.png?alt=media)

|                    |                                                                              |
| ------------------ | ---------------------------------------------------------------------------- |
| **Category**       | [AI and ML](https://docs.fastn.ai/connectors/catalog/ai-ml.md)               |
| **Website**        | [elevenlabs.io](https://elevenlabs.io)                                       |
| **Authentication** | API key                                                                      |
| **Slug**           | `elevenlabs`                                                                 |
| **On fastn.ai**    | [Embed ElevenLabs in your product](https://fastn.ai/integrations/elevenlabs) |

## Setup

Your customers enter their API key for ElevenLabs when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect ElevenLabs from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **ElevenLabs**.
2. Select **Connect** on the ElevenLabs card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use ElevenLabs's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Pronunciation Dictionary from File</td><td><code>addPronunciationDictionaryFromFile</code></td><td>Create a pronunciation dictionary from a.pls lexicon file. Send multipart/form-data. FREE: no character cost. Returns the new dictionary metadata.</td></tr><tr><td>Add Voice (Clone)</td><td><code>addVoice</code></td><td>Create a new instant voice clone from audio samples. Send multipart/form-data with name and audio files. FREE of character cost but consumes a voice slot. Returns { voice_id, requires_verification }.</td></tr><tr><td>Create Dubbing</td><td><code>createDubbing</code></td><td>Start a dubbing job that translates and re-voices a media file or URL into a target language. Send multipart/form-data. COST: charges based on media duration. Returns { dubbing_id, expected_duration_sec }.</td></tr><tr><td>Create Voice (from Preview)</td><td><code>createVoice</code></td><td>Save a designed voice preview as a permanent voice using a generated_voice_id from Design Voice. FREE of character cost but consumes a voice slot. Returns the new voice object.</td></tr><tr><td>Delete Dubbing</td><td><code>deleteDubbing</code></td><td>Delete a dubbing job by ID. FREE: no character cost. Returns { status }.</td></tr><tr><td>Delete History Item</td><td><code>deleteHistoryItem</code></td><td>Delete a history item by ID. FREE: no character cost. Returns { status }.</td></tr><tr><td>Delete Voice</td><td><code>deleteVoice</code></td><td>Delete a voice by ID. FREE: no character cost. Returns { status }.</td></tr><tr><td>Design Voice (Text to Voice Preview)</td><td><code>designVoice</code></td><td>Generate candidate voice previews from a text description (voice design). Returns base64 audio previews + generated_voice_id values to use with Create Voice. COST: charges credits/characters for the preview generation. Keep text short to validate cheaply.</td></tr><tr><td>Download History</td><td><code>downloadHistory</code></td><td>Download one or more history items as audio. A single ID returns one audio file; multiple IDs return a zip. FREE: no character cost. Returns binary.</td></tr><tr><td>Edit Voice</td><td><code>editVoice</code></td><td>Update an existing voice's name, description, labels, or replace its sample files. Send multipart/form-data. FREE: no character cost. Returns { status }.</td></tr></tbody></table>

<details>

<summary>View 22 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Edit Voice Settings</td><td><code>editVoiceSettings</code></td><td>Update the default settings (stability, similarity_boost, style, speed, use_speaker_boost) for a voice. FREE: no character cost. Returns { status }.</td></tr><tr><td>Get Character Usage Stats</td><td><code>getCharacterUsageStats</code></td><td>Get character/credit usage metrics over a time window, optionally broken down by voice/model/etc. FREE: no character cost. start_unix/end_unix are UTC milliseconds.</td></tr><tr><td>Get Dubbed Audio</td><td><code>getDubbedAudio</code></td><td>Download the dubbed audio/video for a completed dubbing job in a given language. FREE: no character cost. Returns binary.</td></tr><tr><td>Get Dubbing</td><td><code>getDubbing</code></td><td>Get the status and metadata of a dubbing job. FREE: no character cost. Poll until status is 'dubbed'.</td></tr><tr><td>Get History Item</td><td><code>getHistoryItem</code></td><td>Get metadata for a single history item by ID. FREE: no character cost.</td></tr><tr><td>Get History Item Audio</td><td><code>getHistoryItemAudio</code></td><td>Download the audio for a previously generated history item. FREE: no character cost (replays existing audio). Returns binary audio.</td></tr><tr><td>Get Pronunciation Dictionary</td><td><code>getPronunciationDictionary</code></td><td>Get a pronunciation dictionary and its rules by ID. FREE: no character cost.</td></tr><tr><td>Get User</td><td><code>getUser</code></td><td>Get the authenticated user's profile and subscription summary. FREE: no character cost.</td></tr><tr><td>Get User Subscription</td><td><code>getUserSubscription</code></td><td>Get the authenticated user's detailed subscription info, including character usage/limits, invoices and pending changes. FREE: no character cost. Use this to check remaining character quota before TTS.</td></tr><tr><td>Get Voice</td><td><code>getVoice</code></td><td>Get metadata and settings for a single voice by ID. FREE: no character cost.</td></tr><tr><td>Get Voice Settings</td><td><code>getVoiceSettings</code></td><td>Get the stability/similarity/style/speed settings for a voice. FREE: no character cost.</td></tr><tr><td>List History</td><td><code>listHistory</code></td><td>List generated speech history items (TTS/STS) with metadata. FREE: no character cost. Paginated via start_after_history_item_id.</td></tr><tr><td>List Models</td><td><code>listModels</code></td><td>List all available TTS/STT/STS models with capability flags and cost factors. FREE: no character cost. Useful to discover model_id values (e.g. eleven_flash_v2_5).</td></tr><tr><td>List Pronunciation Dictionaries</td><td><code>listPronunciationDictionaries</code></td><td>List pronunciation dictionaries in your workspace. FREE: no character cost. Cursor-paginated.</td></tr><tr><td>List Shared Voices</td><td><code>listSharedVoices</code></td><td>Browse the public Voice Library of shared community/professional voices. FREE: no character cost. Paginated by page/page_size.</td></tr><tr><td>List Voices</td><td><code>listVoices</code></td><td>List all voices available to your account (v2, paginated). FREE: no character cost. Returns voice_id, name, category, labels, settings and pagination tokens.</td></tr><tr><td>Sound Generation (Sound Effects)</td><td><code>soundGeneration</code></td><td>Generate a sound effect from a text prompt. Returns binary audio (MP3 default). COST: charges credits/characters. Keep duration_seconds small (e.g. 0.5) when validating to minimize cost.</td></tr><tr><td>Speech to Speech (Voice Changer)</td><td><code>speechToSpeech</code></td><td>Transform source audio into a target voice while preserving delivery/emotion. Send multipart/form-data with an audio file. Returns binary audio. COST: charges characters/credits based on audio length.</td></tr><tr><td>Speech to Text (Transcribe)</td><td><code>speechToText</code></td><td>Transcribe audio to text with the Scribe model. Send multipart/form-data with a file or a source_url. Returns JSON with text, detected language and word-level timing. COST: charges per minute of audio.</td></tr><tr><td>Text to Speech (Convert)</td><td><code>textToSpeech</code></td><td>Convert text into speech audio with a chosen voice. Returns binary audio (application/octet-stream). Billed per character. COST: charges characters. To minimize cost when validating, use the cheapest model eleven_flash_v2_5 and a 1-2 word text (e.g. 'Hi').</td></tr><tr><td>Text to Speech Stream</td><td><code>textToSpeechStream</code></td><td>Stream synthesized speech as it is generated (text/event-stream of audio chunks). Lower time-to-first-byte for real-time playback. COST: charges characters. Cheapest model eleven_flash_v2_5; use a 1-2 word text to validate cheaply.</td></tr><tr><td>Text to Speech with Timestamps</td><td><code>textToSpeechWithTimestamps</code></td><td>Convert text to speech and return JSON with base64 audio plus character-level timing alignment. Useful for captions/lip-sync. COST: charges characters. Cheapest model eleven_flash_v2_5; validate with a 1-2 word text.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/ai-ml/elevenlabs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
