# ElevenLabs Text to Speech - v4, v3, Multilingual v2 MP3 (`seemuapps/text-to-speech-elevenlabs`) Actor

Turn text into natural MP3 speech with ElevenLabs v4, v3, Multilingual v2 and Flash models. 40+ voices or any voice ID, many languages, bulk texts.

- **URL**: https://apify.com/seemuapps/text-to-speech-elevenlabs.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Features:** Limited permissions
- **Stats:** 9 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $250.00 / 1,000 1,000 characters (v4 turbo)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ElevenLabs Text to Speech - v4, v3, Multilingual v2 MP3

Turn any text into natural-sounding MP3 speech with ElevenLabs models: Eleven v4, v4 Turbo, v3, Multilingual v2, Flash v2.5 and Turbo v2.5. Pick from 40+ built-in voices or paste any voice ID from the ElevenLabs Voice Library, and convert one text or hundreds in a single run.

### What you get

- One **MP3 file** per text (44.1 kHz, 128 kbps), saved to the run's key-value store with a direct download link
- One **dataset row** per text with:
  - `audioUrl`: direct link to the MP3 file
  - `text`, `characters`
  - `durationSeconds`: length of the audio
  - `fileSizeBytes`, `contentType`
  - `voice`, `model`, `modelName`, `stability`, `similarity`
- Export the list to JSON, CSV, Excel or Google Sheets from the Apify console, or fetch it through the API

### Use cases

- **Voiceovers** for YouTube videos, TikToks, Reels, ads and product demos
- **Audiobooks and narration**: chapter-by-chapter MP3s for long-form content
- **E-learning and training**: course narration in many languages
- **Podcasts and newsletters**: turn articles and blog posts into audio
- **Localization**: the same script read in Spanish, German, French, Japanese and more
- **Accessibility**: audio versions of web pages and documents

### How to use

1. Paste your text into **Text**. Add more texts under **More texts** to get several MP3 files from one run.
2. Choose a **Voice** from the list, or paste a voice ID into **Custom voice ID**.
3. Pick a **Model**:
   - **Eleven v4**: the most natural delivery, understands audio tags like `[warmly]`, `[whispers]` or `[laughs]`
   - **Eleven v4 Turbo**: fast and the lowest price
   - **Eleven v3**: very expressive, up to 5,000 characters per text
   - **Multilingual v2**: steady, consistent narration for long texts
   - **Flash v2.5 / Turbo v2.5**: quick generation in 32 languages
4. Optionally tune **Stability** (higher = steadier, lower = more expressive) and **Similarity**.
5. Run the Actor. Open the **Output** or **Dataset** tab and click each `audioUrl` to play or download the MP3.

The language is detected from your text automatically, so just write in the language you want to hear.

### Input example

```json
{
  "text": "Welcome to our product tour. In the next two minutes, you'll see how easy it is to turn any script into a voiceover.",
  "texts": ["Bienvenidos a nuestra tienda en línea. ¡Hoy tenemos descuentos especiales!"],
  "voice": "Roger",
  "model": "eleven_v4",
  "stability": 0.6
}
```

### Output example

```json
{
  "index": 1,
  "text": "Welcome to our product tour. In the next two minutes, you'll see how easy it is to turn any script into a voiceover.",
  "characters": 133,
  "audioUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/speech-0001.mp3",
  "audioKey": "speech-0001.mp3",
  "contentType": "audio/mpeg",
  "fileSizeBytes": 130862,
  "durationSeconds": 7.97,
  "voice": "Roger",
  "model": "eleven_v4",
  "modelName": "Eleven v4",
  "stability": 0.6,
  "similarity": null,
  "createdAt": "2026-11-15T05:29:17.275Z"
}
```

### Pricing

You pay per started 1,000 characters of each text, and only after its MP3 has been saved. The price per 1,000 characters depends on the model (see the **Pricing** tab). Texts that fail, are too long, or don't fit your maximum cost per run are skipped and not charged.

### Limits

- Up to 10,000 characters per text (5,000 for Eleven v3). Use **Max characters per text** to set a lower limit; longer texts are skipped, not charged. Split long documents into several texts.
- Up to 1,000 texts per run.
- Output is MP3 only.
- On the Apify Free plan, each run converts up to 1,000 characters in total, with a few runs per day. Any paid Apify plan removes these limits.

### FAQ

**Can I use my own cloned voice?** You can use any public voice ID from the ElevenLabs Voice Library. Private cloned voices from your own ElevenLabs account are not available.

**Which languages are supported?** All languages supported by the chosen model, including English, Spanish, French, German, Italian, Portuguese, Polish, Hindi, Japanese, Korean, Chinese and many more. Write your text in the target language.

**How long are the files kept?** The MP3 files live in the run's key-value store and follow your Apify data retention settings. Download them or copy them to your own storage if you need them long-term.

# Actor input Schema

## `text` (type: `string`):

The text to turn into speech. Any language the model supports is detected automatically. Eleven v4 and v3 understand audio tags such as \[warmly], \[whispers] or \[laughs].

## `texts` (type: `array`):

Optional extra texts. Each one becomes its own MP3 file and dataset row.

## `voice` (type: `string`):

Pick a built-in voice. To use any other voice, paste its ID into 'Custom voice ID' below.

## `voiceId` (type: `string`):

Optional. A voice ID from the ElevenLabs Voice Library (e.g. JBFqnCBsd6RMkjVDRZzb). Overrides the Voice picker when set.

## `model` (type: `string`):

Speech model. Price per 1,000 characters depends on the model (see the Pricing tab).

## `stability` (type: `number`):

0 to 1. Higher values give a steadier, more consistent delivery; lower values are more expressive. Leave empty for the model default (0.5).

## `similarity` (type: `number`):

0 to 1. How closely the output matches the original voice. Very high values can add artifacts. Ignored by Eleven v3. Leave empty for the model default.

## `speakerBoost` (type: `boolean`):

Boosts similarity to the original speaker. Only used by Multilingual v2, Flash v2.5 and Turbo v2.5. Leave unset for the model default (on).

## `maxCharactersPerText` (type: `integer`):

Texts longer than this are skipped (and not charged). Hard limit is 10,000 characters per text (5,000 for Eleven v3).

## Actor input object example

```json
{
  "text": "Welcome to our product tour. In the next two minutes, you'll see how easy it is to turn any script into a natural-sounding voiceover.",
  "voice": "Alicia",
  "model": "eleven_v4",
  "maxCharactersPerText": 5000
}
```

# Actor output Schema

## `results` (type: `string`):

One record per text: audioUrl, characters, durationSeconds, fileSizeBytes, voice, model.

## `audioFiles` (type: `string`):

Key-value store holding one MP3 file per text (speech-0001.mp3, speech-0002.mp3, ...).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "text": "Welcome to our product tour. In the next two minutes, you'll see how easy it is to turn any script into a natural-sounding voiceover."
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/text-to-speech-elevenlabs").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "text": "Welcome to our product tour. In the next two minutes, you'll see how easy it is to turn any script into a natural-sounding voiceover." }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/text-to-speech-elevenlabs").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "text": "Welcome to our product tour. In the next two minutes, you'\''ll see how easy it is to turn any script into a natural-sounding voiceover."
}' |
apify call seemuapps/text-to-speech-elevenlabs --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/text-to-speech-elevenlabs"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8RYcneJakY8A4AQkc/builds/QhiJGAMPbCJMMJSdT/openapi.json
