voice-changer
ElevenLabs Voice Changer
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.
Key Facts
- Maximum input length: 5 minutes per request — split longer recordings into chunks and stitch the outputs.
- Maximum file size: 50 MB per request — compress to MP3 if your source is larger.
- Pricing: 1,000 characters per minute of audio processed (duration-based, not text-based).
- Recommended model:
eleven_multilingual_sts_v2— often outperformseleven_english_sts_v2even for English-only content.
Quick Start
Python
from elevenlabs import ElevenLabs