Skip to content

CustomVoiceRef

CustomVoiceRef = object

Defined in: voices.ts:307

A reference to a local audio or video file for ElevenLabs Instant Voice Cloning. Build one with voices.elevenlabs({ path }) and pass it as the voice name in renderOptions.narration to clone a voice from the file at path.

video.renderOptions({
narration: {
voice: { name: voices.elevenlabs({ path: './my-voice.mp3' }) },
},
})

path: string

Defined in: voices.ts:307