بنقرة واحدة
streaming-tts-elevenlabs
Streaming text-to-speech via ElevenLabs WebSocket API with real-time audio generation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Streaming text-to-speech via ElevenLabs WebSocket API with real-time audio generation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Edit, transform, and enhance images using AI models
Extract text from images using OCR and vision AI
Neural text-to-speech via Amazon Polly
Speaker diarization — identifies and tracks who is speaking at each moment in an audio stream
Semantic endpoint detection — uses an LLM to classify whether the user's utterance is a complete thought, reducing false turn boundaries on mid-sentence pauses
Batch speech-to-text via Google Cloud Speech-to-Text API
| name | streaming-tts-elevenlabs |
| description | Streaming text-to-speech via ElevenLabs WebSocket API with real-time audio generation |
| category | voice |
Low-latency streaming text-to-speech using the ElevenLabs WebSocket Streaming API. Maintains a persistent WebSocket connection per session and streams audio chunks as MP3 data as soon as each sentence boundary is reached, enabling near-instant audio playback.
Set ELEVENLABS_API_KEY in your environment or agent secrets store.
., ?, !) for low-latency outputIn agent.config.json:
{
"voice": {
"tts": "elevenlabs"
}
}
Provider-specific options via providerOptions:
{
"voice": {
"tts": "elevenlabs",
"providerOptions": {
"voiceId": "21m00Tcm4TlvDq8ikWAM",
"modelId": "eleven_turbo_v2",
"stability": 0.5,
"similarityBoost": 0.75,
"style": 0.0,
"useSpeakerBoost": true
}
}
}
| Event | Payload | Description |
|---|---|---|
audio_chunk | EncodedAudioChunk | MP3 audio buffer ready for playback |
utterance_complete | { text, durationMs } | ElevenLabs signalled final audio generation done |
cancelled | { remaining: string } | Session was cancelled; remaining text not rendered |
error | Error | WebSocket or synthesis error |
close | — | Session fully terminated |