Skip to main content
Glama

mcp-google-sheets

analyze-audio.ts961 B
import { propsValidation } from '@activepieces/pieces-common'; import { createAction } from '@activepieces/pieces-framework'; import { vlmRunAuth, vlmRunCommon } from '../common'; import { analyzeAudioProperties } from '../common/properties'; import { analyzeAudioSchema } from '../common/schemas'; export const analyzeAudio = createAction({ auth: vlmRunAuth, name: 'analyzeAudio', displayName: 'Analyze Audio', description: 'Process an audio file, extracting features or transcription', props: analyzeAudioProperties, async run({ auth: apiKey, propsValue }) { await propsValidation.validateZod(propsValue, analyzeAudioSchema); const uploadResponse = await vlmRunCommon.uploadFile({ apiKey, file: propsValue.audio, }); const response = await vlmRunCommon.analyzeAudio({ apiKey, file_id: uploadResponse.id, }); return await vlmRunCommon.getresponse(apiKey, response.id, response.status); }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server