ElevenLabs : Eleven Flash v2.5
elevenlabs/eleven-flash-v2-5
actif
tts
1 fournisseur
ElevenLabs' ultra-low-latency model in 32 languages, ideal for conversational use cases.
AuteurElevenLabs
Langues32 langues
VoixChargement...
Formats de réponseSynchrone : MP3 · WAV · PCM · Opus · µ-law · A-law
Streaming : MP3 · PCM · Opus · µ-law · A-law
Streaming : MP3 · PCM · Opus · µ-law · A-law
Statutactif
Fournisseurs
Plusieurs fournisseurs peuvent héberger le même modèle. Choisissez-en un lorsque vous avez besoin d’un backend fixe, ou laissez le routage choisir parmi eux.
FournisseurSlugPour 1k caractèresLatenceiPour le TTS, la latence correspond au délai jusqu’au premier octet audio. Pour le STT, elle correspond au délai jusqu’au premier token.ModesDisponibilité
ElevenLabs
14 paramètres
elevenlabs
$0,05
—
Synchrone · Streaming
Langues prises en charge
32 langues
English
en
Japanese
ja
Chinese
zh
German
de
Hindi
hi
French
fr
Korean
ko
Portuguese
pt
Italian
it
Spanish
es
Russian
ru
Indonesian
id
Dutch
nl
Turkish
tr
Filipino
fil
Polish
pl
Swedish
sv
Bulgarian
bg
Romanian
ro
Arabic
ar
Czech
cs
Greek
el
Finnish
fi
Croatian
hr
Malay
ms
Slovak
sk
Danish
da
Tamil
ta
Ukrainian
uk
Hungarian
hu
Norwegian
no
Vietnamese
vi
Voix
Fonctionnalités
Text to speech
Generates spoken audio from text input.
text_to_speech
Streaming
Streams synthesized audio incrementally over a persistent connection (WebSocket/SSE).
streaming
Synchronous
Synthesizes speech from fully-submitted text in a single synchronous request.
synchronous
Multilingual
Supports 32 languages.
multilingual
Low latency
Designed for lower-latency speech generation use cases.
low_latency
Fine-tuning
Supports provider-managed fine-tuning for this model.
fine_tuning
Code
TTS en streaming avec l’ElevenLabs SDK
Fait passer l’ElevenLabs SDK par AllModels et diffuse la réponse audio en streaming.
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-flash-v2-5",
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.
}
