UNPKG

n8n-nodes-groq

Version:

N8N community node for Groq API - Speech-to-Text transcription using Whisper AI. Convert audio to text with high accuracy. Perfect for WhatsApp voice messages, audio files, and voice automation workflows.

37 lines (36 loc) 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GroqApi = void 0; class GroqApi { constructor() { this.name = 'groqApi'; this.displayName = 'Groq API'; this.documentationUrl = 'https://console.groq.com/docs/quickstart'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Groq API key from https://console.groq.com/keys', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://api.groq.com/openai/v1', url: '/models', }, }; } } exports.GroqApi = GroqApi;