/elevenlabs:voice-changerfrom ElevenLabs
Transforms voice in an audio recording into a different target voice while preserving emotion, timing, and delivery using the ElevenLabs Voice Changer (speech-to-speech) API. Use for dubbing, character voices, speaker anonymization, or any voice conversion task.
Ships in ElevenLabs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Transform the voice in an audio recording into a different target voice. Voice Changer (previously called Speech-to-Speech — the REST endpoints are POST /v1/voice-changer/{voice_id} and /v1/voice-changer/{voice_id}/stream, while the SDK methods and CLI command still use the speech_to_speech / speechToSpeech / speech-to-speech name) keeps the original performance — emotion, pacing, intonation, breaths, whispers, laughs, cries — and only swaps who is speaking.
Setup, before writing any code: if
ELEVENLABS_API_KEYisn't set for this project, runnpx -y @elevenlabs/cli@latest onboard initfrom the app's folder first and follow what it prints: it signs the user in and stores a key for the project, so nobody copies one by hand. Otherwise see the Installation Guide. For JavaScript, use@elevenlabs/*packages only.
eleven_multilingual_sts_v2 — often outperforms eleven_english_sts_v2 even for English-only content.from elevenlabs import ElevenLabs
client = ElevenLabs()
with open("source.mp3", "rb") as audio_file:
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb", # George
audio=audio_file,
model_id="eleven_multilingual_sts_v2",
output_format="mp3_44100_128",
)
with open("converted.mp3", "wb") as f:
for chunk in audio_stream:
f.write(chunk)
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createReadStream, createWriteStream } from "fs";
const client = new ElevenLabsClient();
const audioStream = await client.speechToSpeech.convert("JBFqnCBsd6RMkjVDRZzb", {
audio: createReadStream("source.mp3"),
modelId: "eleven_multilingual_sts_v2",
outputFormat: "mp3_44100_128",
});
audioStream.pipe(createWriteStream("converted.mp3"));
elevenlabs speech-to-speech convert \
--voice-id JBFqnCBsd6RMkjVDRZzb \
--audio source.mp3 \
--model-id eleven_multilingual_sts_v2 \
--output-format mp3_44100_128 \
--output converted.mp3
| Parameter | Type | Default | Description |
|---|---|---|---|
voice_id | string (required) | — | Target voice to speak in. Use a pre-made voice ID, a cloned voice, or a voice from the library |
audio | file (required) | — | Source audio whose performance (emotion, timing, delivery) will be preserved |
model_id | string | eleven_english_sts_v2 | eleven_multilingual_sts_v2 for 29 languages, eleven_english_sts_v2 for English-only |
output_format | string | mp3_44100_128 | See output formats table below |
voice_settings | JSON string | — | Override stored voice settings for this request only |
seed | integer | — | Best-effort deterministic sampling (0 – 4294967295) |
remove_background_noise | boolean | false | Run the isolation model on the input before conversion |
file_format | string | other | other for any encoded audio, or pcm_s16le_16 for 16-bit PCM mono @ 16kHz little-endian (lower latency) |
optimize_streaming_latency | int (query) | — | 0–4. Trade quality for latency. 4 is fastest but disables the text normalizer |
enable_logging | boolean (query) | true | Set to false for zero-retention mode (enterprise only — disables history/stitching) |
| Model ID | Languages | Best For |
|---|---|---|
eleven_multilingual_sts_v2 | 29 | Recommended for everything — often outperforms the English model even on English audio |
eleven_english_sts_v2 | English | API default — English-only fallback |
Only models whose can_do_voice_conversion property is true can be used here. Voice Changer does not currently have a low-latency "flash/turbo" tier — if you need one, keep pcm_s16le_16 input, an opus_* / low-bitrate mp3_* output, and raise optimize_streaming_latency.
eleven_multilingual_sts_v2)English (US, UK, AU, CA), Japanese, Chinese, German, Hindi, French (FR, CA), Korean, Portuguese (BR, PT), Italian, Spanish (ES, MX), Indonesian, Dutch, Turkish, Filipino, Polish, Swedish, Bulgarian, Romanian, Arabic (SA, AE), Czech, Greek, Finnish, Croatian, Malay, Slovak, Danish, Tamil, Ukrainian, Russian.
Use any voice ID from pre-made voices, your cloned voices, or the voice library. Free plans can use pre-made voices through the API, but not Voice Library voices: those fail with a 402 (paid_plan_required). Do not use a voice ID from memory, since tutorials still use voices that have since been retired.
Popular voices:
JBFqnCBsd6RMkjVDRZzb — George (male, narrative)EXAVITQu4vr4xnSDxMaL — Sarah (female, soft)onwK4e9ZLuTAKqWW03F9 — Daniel (male, authoritative)voices = client.voices.get_all()
for voice in voices.voices:
print(f"{voice.voice_id}: {voice.name}")
import requests
from io import BytesIO
from elevenlabs import ElevenLabs
client = ElevenLabs()
audio_url = "https://storage.googleapis.com/eleven-public-cdn/audio/marketing/nicole.mp3"
response = requests.get(audio_url)
audio_data = BytesIO(response.content)
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=audio_data,
model_id="eleven_multilingual_sts_v2",
output_format="mp3_44100_128",
)
with open("converted.mp3", "wb") as f:
for chunk in audio_stream:
f.write(chunk)
Fine-tune the target voice for a single request without changing its stored defaults:
from elevenlabs import VoiceSettings
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=audio_file,
model_id="eleven_multilingual_sts_v2",
voice_settings=VoiceSettings(
stability=0.5,
similarity_boost=0.75,
style=0.0,
use_speaker_boost=True,
),
)
If the input recording is noisy, either pre-process with the voice-isolator skill or pass remove_background_noise=True to do it in a single call:
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=audio_file,
model_id="eleven_multilingual_sts_v2",
remove_background_noise=True,
)
Cleaner input almost always produces better conversion — the model is trying to match phonemes and prosody, and background noise gets in the way.
If you already have raw 16-bit PCM mono @ 16kHz, passing file_format="pcm_s16le_16" skips decoding and reduces latency:
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=pcm_bytes,
model_id="eleven_multilingual_sts_v2",
file_format="pcm_s16le_16",
)
Pair this with optimize_streaming_latency (0–4) as a query param for further latency reductions at some quality cost.
| Format | Description |
|---|---|
mp3_44100_128 | MP3 44.1kHz 128kbps (default) — good for web/apps |
mp3_44100_192 | MP3 44.1kHz 192kbps (Creator+) — higher quality |
mp3_44100_64 | MP3 44.1kHz 64kbps — smaller files |
mp3_22050_32 | MP3 22.05kHz 32kbps — smallest MP3 |
pcm_16000 | Raw PCM 16kHz — real-time pipelines |
pcm_24000 | Raw PCM 24kHz — good streaming balance |
pcm_44100 | Raw PCM 44.1kHz (Pro+) — CD quality |
pcm_48000 | Raw PCM 48kHz (Pro+) — highest quality |
ulaw_8000 | μ-law 8kHz — Twilio / telephony |
alaw_8000 | A-law 8kHz — telephony |
opus_48000_64 | Opus 48kHz 64kbps — efficient streaming |
Pass a seed to make repeated conversions of the same input return (best-effort) identical audio — useful for testing and A/B comparisons.
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=audio_file,
model_id="eleven_multilingual_sts_v2",
seed=12345,
)
The conversion quality is bounded by the input recording — the model can only swap the timbre, not rescue a bad source. A few practical rules:
remove_background_noise=True or run the source through the voice-isolator skill before conversion. Noise hurts more here than in TTS.eleven_multilingual_sts_v2).remove_background_noise=True) for noisy field recordings before conversion.voice_id here as the conversion target.try:
audio_stream = client.speech_to_speech.convert(
voice_id="JBFqnCBsd6RMkjVDRZzb",
audio=audio_file,
model_id="eleven_multilingual_sts_v2",
)
except Exception as e:
print(f"Voice changer failed: {e}")
Common errors:
voice_id, model_id, or file_format vs the supplied audio)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub elevenlabs/plugin --plugin elevenlabs44 skills in this plugin
/agentsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience, and when configuring an agent's tools, workflows, or procedures, including creating, editing, and publishing free-form and structured procedure drafts on an agent branch over the SDKs or REST API./agent-simplificationSimplify a complex ElevenLabs voice agent (typically a large workflow agent) into a leaner architecture — fewer workflow nodes, deduplicated prompts, procedures where they help — while PROVING with a ground-truth test suite that every behaviour of the original is preserved or improved. Use when the user says things like 'simplify this agent', 'flatten this workflow', 'this agent is too complex', 'consolidate these nodes', 'rebuild this agent with fewer nodes', 'can we replace this workflow with procedures', or asks whether a big workflow agent can be made easier to maintain without losing behaviour./agents-platformManage ElevenLabs voice agents through the connected ElevenLabs MCP server. Use when the user asks to create, configure, test, deploy, or inspect agents, knowledge bases, agent tools, tests, or conversations directly on their ElevenLabs account — rather than writing application code. Requires the ElevenLabs MCP server bundled with this plugin./architect-agent-memoryUse when the user wants the agent to remember, learn, save, or memorize a fact, or reports a one-off "the agent said X but should say Y" correction. There is no memory endpoint over REST; this covers the durable alternatives (system prompt or knowledge base) and when to use them./architect-branches-versions-mergeUse when working with agent branches, versions, drafts, traffic splits, or merges. Fires on "make a copy to test on", "create a branch", "switch to my test branch", "send 10% of traffic to the new version", "roll it out gradually", "merge my branch back to main", or when a branch operation errored./architect-create-client-toolUse when the user wants the agent to trigger something in their own browser, app, or SDK during a call (navigate a page, open or close a dialog, read on-screen context, run client-side code), or asks "how do I add a client tool", "make the agent do something in my app", or reports a client tool that won't save or where the agent never gets a response back. For a server API tool see the create-webhook-tool skill; for editing an existing tool see the edit-existing-tool skill.Other plugins' skills for the same job