
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@caleblawson/voice-gladia
Advanced tools
Gladia AI Voice integration for Mastra, providing Speech-to-text (STT) capabilities using Gladia's voice technology.
npm install @mastra/voice-gladia
The module requires the following environment variable:
GLADIA_API_KEY=your_api_key
import { GladiaVoice } from '@mastra/voice-gladia';
import { createReadStream } from 'fs';
import path from 'path';
const voice = new GladiaVoice({
listeningModel: {
apiKey: process.env.GLADIA_API_KEY!,
},
});
// Create an agent with voice capabilities
// Note: Gladia only supports STT, so the agent will only be able to listen.
export const agent = new Agent({
name: 'Agent',
instructions: `You are a helpful assistant with STT capabilities.`,
model: google('gemini-1.5-pro-latest'),
voice: voice,
});
// Example usage with a local audio file
const audioStream = createReadStream(path.join(process.cwd(), 'audio.m4a'));
try {
const text = await voice.listen(audioStream, {
fileName: 'audio.m4a',
mimeType: 'audio/mp4',
});
console.log('Transcription:', text);
} catch (error) {
console.error('Error transcribing audio:', error);
}
Gladia does not expose a list of available "voices" in the traditional sense. The service focuses on providing high-quality transcription across various languages and audio characteristics.
Gladia supports a wide range of languages. For a complete list, please refer to the Gladia documentation.
FAQs
Mastra Gladia AI voice integration
The npm package @caleblawson/voice-gladia receives a total of 2 weekly downloads. As such, @caleblawson/voice-gladia popularity was classified as not popular.
We found that @caleblawson/voice-gladia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.