TTS Provider Interface

Streams cross-provider TTS audio with latency tracking and mulaw 8kHz mono output.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/reaatech/voice-agent-kit --skill tts-provider-interface
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS Provider Interface
Source: https://github.com/reaatech/voice-agent-kit/tree/main/skills/tts-provider-interface
Command: npx skills add https://github.com/reaatech/voice-agent-kit --skill tts-provider-interface

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines cross-provider TTS workflows by offering a single, consistent interface for streaming audio synthesis and latency tracking, removing the need to implement provider-specific adapters separately.

Core Features & Use Cases

  • Streaming synthesis: Real-time audio chunks with first-byte latency metrics.
  • Provider-agnostic interface: Switch between Deepgram, AWS Polly, Google Cloud with minimal changes.
  • Voice selection & output formatting: Configure voices and convert output to mulaw 8kHz mono for Twilio-compatible playback.
  • Use Case: Build scalable voice agents that respond to user input with low-latency audio.

Quick Start

Provide a text and a voice config to tts.synthesize to initiate streaming audio with latency tracking.

Frequently Asked Questions about TTS Provider Interface

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

FAQPage Schema
How do I unify streaming TTS workflows across multiple providers?

Unify streaming TTS workflows by using a provider-agnostic interface that standardizes audio synthesis across Deepgram, AWS Polly, and Google Cloud. It removes the need to implement provider-specific adapters separately while adding latency-aware streaming.

Can I switch between Deepgram, AWS Polly, and Google Cloud TTS with minimal code changes?

Switch between Deepgram, AWS Polly, and Google Cloud TTS with minimal changes by using a provider-agnostic interface. This interface standardizes audio synthesis and latency tracking, eliminating the need for provider-specific adapters.

How do I track first-byte latency for real-time audio synthesis?

Track first-byte latency for real-time audio synthesis by initiating streaming with the tts.synthesize tool. It provides real-time audio chunks alongside latency metrics, enabling low-latency synchronous audio output.

Does the TTS interface support Twilio-compatible audio formatting?

The TTS interface supports Twilio-compatible playback by enforcing mulaw 8kHz mono output formatting. This ensures the streaming audio synthesis output is correctly formatted for telephony applications.

What tools are available for benchmarking and canceling streaming audio synthesis?

Benchmark and cancel streaming audio synthesis using the tts.benchmark and tts.cancel tools. The interface also provides tts.status for monitoring, alongside tts.synthesize for initiating the real-time audio generation.

How do I configure voice selection for cross-provider text to speech synthesis?

Configure voice selection for cross-provider text to speech synthesis by providing a text input and voice config to the tts.synthesize tool. This initiates streaming audio output formatted as mulaw 8kHz mono.