JSPM

@micdrop/elevenlabs

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 139
  • Score
    100M100P100Q80286F
  • License MIT

ElevenLabs implementation for @micdrop/server

Package Exports

  • @micdrop/elevenlabs
  • @micdrop/elevenlabs/dist/index.js
  • @micdrop/elevenlabs/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@micdrop/elevenlabs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@micdrop/elevenlabs

Micdrop website | Documentation

ElevenLabs implementation for @micdrop/server.

Installation

npm install @micdrop/elevenlabs

ElevenLabs TTS (Text-to-Speech)

Usage

import { ElevenLabsTTS } from '@micdrop/elevenlabs'
import { MicdropServer } from '@micdrop/server'

const tts = new ElevenLabsTTS({
  apiKey: process.env.ELEVENLABS_API_KEY || '',
  voiceId: '21m00Tcm4TlvDq8ikWAM', // ElevenLabs voice ID
  modelId: 'eleven_turbo_v2_5', // Optional: model to use
  language: 'en', // Optional: language code
  voiceSettings: {
    stability: 0.5,
    similarity_boost: 0.75,
    style: 0.5,
  },
})

// Use with MicdropServer
new MicdropServer(socket, {
  tts,
  // ... other options
})

Documentation

Read full documentation of the ElevenLabs integration for Micdrop on the website.

License

MIT

Author

Originally developed for Raconte.ai and open sourced by Lonestone (GitHub)