streaming-tts-elevenlabs

Stream real-time text-to-speech via the ElevenLabs WebSocket API.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/framerslab/agentos-skills --skill streaming-tts-elevenlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streaming-tts-elevenlabs
Source: https://github.com/framerslab/agentos-skills/tree/main/registry/curated/streaming-tts-elevenlabs
Command: npx skills add https://github.com/framerslab/agentos-skills --skill streaming-tts-elevenlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides real-time text-to-speech capabilities with high-quality voice output, solving the need for instant and accurate voice generation from text.

Core Features & Use Cases

  • Real-time Streaming: Delivers MP3 audio chunks as soon as sentence boundaries are reached.
  • High-Quality Voice: Offers premium voice quality with custom cloned voices and multilingual support.
  • Use Case: Ideal for applications requiring expressiveness, accent accuracy, or custom voice cloning, such as voice assistants or interactive voice responses.

Quick Start

Set the ELEVENLABS_API_KEY and use the skill to generate speech from the text "Hello, how can I assist you today?".

Frequently Asked Questions about streaming-tts-elevenlabs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream text-to-speech audio in real-time using the ElevenLabs API?

Real-time text-to-speech streaming via the ElevenLabs API is achieved by connecting to the WebSocket API, which delivers MP3 audio chunks instantly as soon as sentence boundaries are reached.

Can I use custom cloned voices and multilingual models for real-time text-to-speech?

Yes, real-time text-to-speech supports premium voice quality through custom voice cloning and multilingual models, ensuring expressiveness and accent accuracy for voice assistants.

Do I need an ElevenLabs API key to generate real-time speech from text?

Yes, you must set the ELEVENLABS_API_KEY environment variable to authenticate requests and generate high-quality MP3 audio output from text.

What audio format does the ElevenLabs WebSocket API return for streaming text-to-speech?

The ElevenLabs WebSocket API returns MP3 audio chunks for streaming text-to-speech, allowing applications to process and play voice output progressively as sentences complete.

When should I use streaming text-to-speech instead of standard generation for voice assistants?

Use streaming text-to-speech for interactive voice responses or voice assistants when you need instant audio feedback, as sentence-boundary flushing significantly reduces latency compared to waiting for full text processing.

Why is my ElevenLabs text-to-speech streaming not flushing audio chunks immediately?

Streaming text-to-speech relies on sentence-boundary detection to flush MP3 audio chunks; if your input text lacks proper punctuation or sentence boundaries, audio delivery will be delayed until boundaries are reached.

Related Skills