UNPKG

n8n-nodes-elevenlabs-langfix

Version:

Complete implementation of ElevenLabs AI voice generation into n8n workflows.

42 lines 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ElevenLabsApi = void 0; class ElevenLabsApi { constructor() { this.name = 'elevenLabsApi'; this.displayName = 'ElevenLabs API'; this.documentationUrl = 'https://elevenlabs.io/docs/api-reference/introduction'; this.properties = [ { displayName: 'API Key', name: 'xiApiKey', type: 'string', typeOptions: { password: true, }, required: true, default: '', description: 'Your ElevenLabs API key. Get it from your ElevenLabs dashboard under Profile > API Key.', hint: 'Never share your API key or commit it to version control', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'xi-api-key': '={{$credentials.xiApiKey}}', accept: 'application/json', }, }, }; this.test = { request: { baseURL: 'https://api.elevenlabs.io/v1', url: '/user/subscription', method: 'GET', }, }; } } exports.ElevenLabsApi = ElevenLabsApi; //# sourceMappingURL=ElevenLabsApi.credentials.js.map