ElevenLabs: Eleven Multilingual v2
ElevenLabs' most life-like, emotionally rich model in 29 languages, best for voice overs, audiobooks, post-production and other content creation.
Streaming: MP3 · PCM · Opus · µ-law · A-law
Providers
Different providers can host the same model. Choose one provider when you need a fixed backend, or let routing select among them.
Supported languages
en
ja
zh
de
hi
fr
ko
pt
it
es
id
nl
tr
fil
pl
sv
bg
ro
ar
cs
el
fi
hr
ms
sk
da
ta
uk
ru
Voices
Features
Generates spoken audio from text input.
text_to_speech
Streams synthesized audio incrementally over a persistent connection (WebSocket/SSE).
streaming
Synthesizes speech from fully-submitted text in a single synchronous request.
synchronous
Supports 29 languages.
multilingual
Designed for expressive, natural, or emotionally rich generated speech.
expressive_speech
Supports provider-managed fine-tuning for this model.
fine_tuning
Supports explicit style control for generated or converted speech.
style_control
Supports speaker boost voice enhancement controls.
speaker_boost
Code
ElevenLabs SDK streaming TTS
Routes the ElevenLabs SDK through allmodels and streams the audio response.
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({
apiKey: process.env.ALLMODELS_API_KEY,
baseUrl: "https://api.allmodels.io/el"
});
const stream = await client.textToSpeech.stream("voice_id", {
text: "I'm sorry, Dave. I'm afraid I can't do that.",
modelId: "elevenlabs/eleven-multilingual-v2",
outputFormat: "mp3_44100_128"
});
const reader = stream.getReader();
for (;;) {
const { done, value } = await reader.read();
if (done) break;
// Write value to your response, file, or audio playback pipeline.
}
