Back to Mastra

Voice Examples

examples/voice/README.md

2025-12-181.1 KB
Original Source

Voice Examples

You can find voice-related examples in a dedicated repository.

Repository Location

All voice examples are available at: github.com/mastra-ai/voice-examples

What's Included

The repository contains example applications demonstrating various voice-based AI capabilities using Mastra and related technologies:

Speech-to-Text

  • Voice Memo App: Records, transcribes, and summarizes audio notes

Text-to-Speech

  • Interactive Story: AI-powered storytelling with voice narration
  • Turn-Taking Debate: AI agents engaging in structured debate with distinct voices

Speech-to-Speech

  • Call Analysis: Complete voice conversation system with analytics integration

Getting Started

Each example in the repository contains its own README with specific setup instructions. Generally, you'll need:

  1. Node.js and a package manager (npm, yarn, or pnpm)
  2. An OpenAI API key
  3. Additional API keys for specific examples

Visit the repository to get started with these examples.