🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@mastra/speech-google

Package Overview
Dependencies
Maintainers
11
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mastra AI framework compromise" supply chain attack.

Affected versions:

0.2.1
View campaign page

@mastra/speech-google

Mastra Google speech integration (DEPRECATED - use @mastra/voice-google instead)

latest
npmnpm
Version
0.1.23
Version published
Weekly downloads
577
125.39%
Maintainers
11
Weekly downloads
 
Created
Source

@mastra/speech-google (DEPRECATED)

⚠️ This package is deprecated. Please use @mastra/voice-google instead.

Migration

  • Install the new package:
npm install @mastra/voice-google
  • Update your imports:
// Old
import { GoogleTTS } from '@mastra/speech-google';
// New
import { GoogleVoice } from '@mastra/voice-google';
  • Update initialization:
// Old
const tts = new GoogleTTS({
  model: {
    name: 'en-US-Standard-C',
    apiKey: 'your-api-key',
  },
});

// New
const voice = new GoogleVoice({
  speechModel: {
    apiKey: 'your-api-key',
  },
  speaker: 'en-US-Standard-C',
});

The new package combines both speech synthesis and recognition capabilities.

FAQs

Package last updated on 13 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts