Package Exports
- voiceclone
- voiceclone/index.js
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 (voiceclone) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
voiceclone
Universal voice cloning SDK for Node.js.
Unified API for ElevenLabs, OpenAI TTS, Fish Audio and more.
🚧 Under active development. Star the repo to stay updated!
Planned Features
- Voice Cloning — Clone voices from audio samples
- Text-to-Speech — Generate speech with cloned or preset voices
- Multi-Provider — Switch between providers with one line of code
- Streaming — Real-time audio streaming support
- TypeScript — Full type support out of the box
Install
npm install voicecloneQuick Start (Preview)
import { VoiceClone } from "voiceclone";
const vc = new VoiceClone({
provider: "elevenlabs",
apiKey: process.env.ELEVENLABS_API_KEY,
});
// Clone a voice from audio samples
const voice = await vc.clone({
name: "My Voice",
files: ["./sample1.mp3", "./sample2.mp3"],
});
// Generate speech with the cloned voice
const audio = await vc.synthesize({
voiceId: voice.id,
text: "Hello from my cloned voice!",
});License
MIT