# ElevenLabs AI Voice Changer & Speech-to-Speech Converter API (`dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api`) Actor

Enterprise AI speech-to-speech (STS) voice conversion Actor powered by ElevenLabs neural voice models. Converts voice recordings into 11 human-like voice personas.

- **URL**: https://apify.com/dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api.md
- **Developed by:** [dev00](https://apify.com/dev00) (community)
- **Categories:** AI, MCP servers, Agents
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.00 / 1,000 elevenlabs voice conversions

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## ElevenLabs AI Voice Changer & Speech-to-Speech (11 Personas & STS Engine) - Apify Actor

Enterprise AI speech-to-speech (STS) voice conversion and audio changer Actor powered by **ElevenLabs neural voice models**. Converts source voice recordings, podcasts, and audio links into 11 human-like AI voice personas with pitch modulation and speed controls.

***

### 🎙️ Supported 11 ElevenLabs AI Voice Personas Matrix

| Voice Key (`voice`) | Persona Name | Tone & Accent | Best Used For |
| :--- | :--- | :--- | :--- |
| **`charlie`** *(Default)* | Charlie | Australian Conversational Male | Casual dialogue, podcasts, video voiceovers |
| **`christopher`** | Christopher | Warm, Engaging American Male | Storytelling, audiobooks, character narration |
| **`rachel`** | Rachel | Calm, Professional Female | Corporate presentations, meditation, tutorials |
| **`adam`** | Adam | Deep, Resonant American Male | Trailers, dramatic voiceovers, documentaries |
| **`david`** | David Castlemore | Authoritative Broadcast Male | News reader, formal announcements, executive audio |
| **`george`** | George | Captivating British Storyteller Male | Historical documentaries, audiobooks, drama |
| **`bella`** | Bella | Soft, Expressive Young Female | Story narration, intimate dialogue, characters |
| **`antoni`** | Antoni | Energetic, Crisp Narration Male | Commercials, YouTube shorts, promotional audio |
| **`domi`** | Domi | Friendly, Empathic Female | Customer service, conversational voice bots |
| **`josh`** | Josh | Deep, Engaging & Confident Male | Marketing videos, product explainers, keynotes |
| **`elli`** | Elli | Young, Dynamic & Cheerful Female | Gaming voiceover, lively shorts, animations |

***

### 🎛️ Pitch & Speed Modulation Controls

| Parameter | Type | Default | Accepted Range / Values | Description |
| :--- | :--- | :--- | :--- | :--- |
| **`voice`** | String | `charlie` | 11 Personas listed above | Target ElevenLabs AI voice model persona. |
| **`pitch`** | String | `+0Hz` | `-50Hz` to `+50Hz` (e.g. `-35Hz`, `+40Hz`) | Shifts acoustic pitch frequency up or down. |
| **`speed`** | Number | `1.0` | `0.5` to `2.0` (e.g. `0.85`, `1.05`, `1.3`) | Adjusts playback speed multiplier while maintaining pitch. |

***

### 🚀 Key Features

- **Speech-to-Speech (STS) Voice Transformation**: Replaces the vocal identity while preserving original inflection, emotion, breathing pauses, and natural cadence.
- **Dual Input Modalities**: Convert public audio URL links or upload Base64 encoded audio strings.
- **Binary & Base64 Storage**: Saves converted Base64 payload in default dataset and writes raw `.mp3` audio binary buffer to Key-Value Store (`AUDIO.mp3`).
- **Real-time Acoustic Tuning**: Fine-tune pitch (`-35Hz` deep voice, `+40Hz` high pitch) and speed (`0.85x` deliberate, `1.3x` fast-paced).

***

### 🎯 What People Use It For

- **Video Creators & YouTubers**: Anonymize voiceovers or switch character voices across scenes.
- **Gaming Studios & Animation**: Generate diverse NPC dialogue from single-actor voice tracks.
- **Audiobook & Podcast Producers**: Convert rough guide tracks into polished character narrations.
- **Localization & Dubbing**: Voice conversion preserving original acting cadence.

***

### 📌 Decision Rule & Usage Recommendation

Check if `status === "success"` AND `audio_bytes > 0`. Extract `audio_base64` from the dataset item or download `AUDIO.mp3` from the Key-Value Store.

***

### 💡 What Problem Does This Solve?

- *"Hiring multiple voice actors for character dialogue or dubbing is extremely costly and slow."*
- *"Standard text-to-speech engines lose human emotion, breath pauses, and custom acting pacing."*
- *"Creators who want to narrate content without revealing their personal voice need studio-grade transformation."*

ElevenLabs AI Voice Changer converts your existing voice recording into any of 11 world-class voice personas in seconds.

***

### 🔍 Queries This Actor Answers

- *How do I change a voice recording to sound like ElevenLabs Adam, Rachel, or Christopher programmatically in Node.js or Python?*
- *How do I perform Speech-to-Speech (STS) voice conversion in Apify Actors?*
- *What is an accurate API alternative to ElevenLabs Speech to Speech and Voice Changer?*
- *How do I convert audio from a public MP3 URL into a new voice actor persona?*

***

### 📥 Dedicated Input JSON Examples

#### Mode 1: Public Audio URL Conversion

```json
{
  "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",
  "voice": "adam",
  "pitch": "+0Hz",
  "speed": 1.0
}
```

#### Mode 2: Audio File Upload (Base64 String)

```json
{
  "file": "//NkxAAAAANIAAAAAExBTUVVVVXwv8AA...",
  "voice": "rachel",
  "pitch": "+15Hz",
  "speed": 1.1
}
```

***

### 📤 Dataset Output Format

Each run outputs clean flattened items to the default dataset and full payload to Key-Value store (`OUTPUT`):

```json
{
  "status": "success",
  "success": true,
  "service": "ElevenLabs AI Voice Changer & Speech-to-Speech Engine",
  "pipeline": "Audio-to-Audio (STS) Voice Changer",
  "input_type": "audio_url_link",
  "input_filename": "SoundHelix-Song-1.mp3",
  "detected_format": "mp3",
  "input_bytes": 8945229,
  "input_url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",
  "voice": "Adam",
  "voice_id": "pNInz6obpgDQGcFmaJgB",
  "voice_category": "Narration",
  "pitch": "+0Hz",
  "speed": 1,
  "audio_format": "mp3",
  "audio_bytes": 76752,
  "audio_base64": "//NkxAAAAANIAAAAAExBTUVVVVXwv8AA..."
}
```

***

### ⚠️ Failure Context & Error Handling

If no audio URL or Base64 file input is provided:

```json
{
  "success": false,
  "error": "Missing required parameter: either 'url' (public audio link) or 'file' (Base64 audio string) must be provided."
}
```

***

### 🏷️ Keywords

`elevenlabs voice changer`, `speech to speech actor`, `ai voice changer api`, `elevenlabs sts`, `voice converter api`, `audio to audio voice changer`, `voice modulation api`, `character voice generator`, `voice actor clone api`, `apify actor`.

# Actor input Schema

## `url` (type: `string`):

Direct HTTP/HTTPS link to a source MP3/WAV audio file to convert.

## `file` (type: `string`):

Base64 encoded audio string or Data URL.

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

Choose from 11 premium ElevenLabs voice actor personas.

## `pitch` (type: `string`):

Pitch adjustment (e.g. '+0Hz', '-35Hz' deep voice, '+40Hz' high pitch).

## `speed` (type: `number`):

Playback speed multiplier (0.5x to 2.0x).

## `format` (type: `string`):

Output mode ('json' with Base64 audio + metadata).

## Actor input object example

```json
{
  "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",
  "voice": "charlie",
  "pitch": "+0Hz",
  "speed": 1,
  "format": "json"
}
```

# Actor output Schema

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

No description

## `keyValueStoreResult` (type: `string`):

No description

## `audioFile` (type: `string`):

No description

# 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 = {
    "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
};

// Run the Actor and wait for it to finish
const run = await client.actor("dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api").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 = { "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" }

# Run the Actor and wait for it to finish
run = client.actor("dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api").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 '{
  "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
}' |
apify call dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dev00/elevenlabs-ai-voice-changer-speech-to-speech-converter-api"
        }
    }
}

```

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/txhRiWEbfsMufqetj/builds/7DGdrUoYv4e2FQhpv/openapi.json
