This MCP server implementation provides voice interaction capabilities for AI assistants, enabling speech-to-text and text-to-speech functionality. It uses faster-whisper for improved speech recognition performance and integrates with PyAudio for audio processing. The server offers a simplified API for starting conversations and replying to user input, making it suitable for applications requiring natural language voice interfaces with AI models.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Generate audio files for a conversation defined in a script. Parameters: script (string - path to JSON or Markdown script), output_path (string - path to save the audio file), script_format (string - either 'json' or 'markdown')
Convert text directly to speech. Parameters: text (string - text to convert), output_path (string - path to save the audio file), text_file_path (optional string - path to a text file containing the text to convert)
Transcribe speech from audio or video files. Parameters: file_path (string - path to the audio or video file), include_timestamps (optional boolean - whether to include timestamps), detect_speakers (optional boolean - whether to detect speakers)