Overview

MiniMaxTTSService provides high-quality text-to-speech synthesis using MiniMax’s T2A (Text-to-Audio) API with streaming capabilities, emotional voice control, and support for multiple languages. The service offers various models optimized for different use cases, from low-latency to high-definition audio quality.

Installation

To use MiniMax services, no additional dependencies are required beyond the base installation:
pip install "pipecat-ai"

Prerequisites

MiniMax Account Setup

Before using MiniMax TTS services, you need:
  1. MiniMax Account: Sign up at MiniMax Platform
  2. API Credentials: Get your API key and Group ID from the platform
  3. Voice Selection: Choose from available voice models and emotional settings

Required Environment Variables

  • MINIMAX_API_KEY: Your MiniMax API key for authentication
  • MINIMAX_GROUP_ID: Your MiniMax group ID