@micdrop/cartesia
v1.1.1
Published
Cartesia implementation for @micdrop/server
Maintainers
Readme
@micdrop/cartesia
Micdrop website | Documentation
Cartesia implementation for @micdrop/server.
Installation
npm install @micdrop/cartesiaCartesia TTS (Text-to-Speech)
Usage
import { CartesiaTTS } from '@micdrop/cartesia'
import { MicdropServer } from '@micdrop/server'
const tts = new CartesiaTTS({
apiKey: process.env.CARTESIA_API_KEY || '',
modelId: 'sonic-turbo', // Cartesia model ID
voiceId: 'a0e99841-438c-4a64-b679-ae501e7d6091', // Voice ID
language: 'en', // Optional: specify language
speed: 'normal', // Optional: speech speed
})
// Use with MicdropServer
new MicdropServer(socket, {
tts,
// ... other options
})Documentation
Read full documentation of the Cartesia integration for Micdrop on the website.
License
MIT
Author
Originally developed for Raconte.ai and open sourced by Lonestone (GitHub)
