@surfmate.team/digital-human-voice-clone
v0.1.0
Published
Voice-cloning feature: a CloneVoiceManager UI (add / preview / delete / select cloned voices) over digital-human-ports' VoiceCloningPort. Provider-agnostic; an adapter (e.g. MiniMax) implements the port.
Downloads
160
Readme
@surfmate.team/digital-human-voice-clone
A drop-in voice-cloning manager UI over
@surfmate.team/digital-human-ports'
VoiceCloningPort. List · upload a sample · preview · delete · select cloned
voices. Provider-agnostic — inject any adapter implementing the port (e.g.
@surfmate.team/digital-human-minimax).
npm i @surfmate.team/digital-human-voice-cloneimport { CloneVoiceManager } from '@surfmate.team/digital-human-voice-clone'
<CloneVoiceManager
cloning={voiceCloning} // a VoiceCloningPort
selectedVoiceId={voiceId}
onSelect={setVoiceId} // called with the picker-ready id
onPreview={(id) => preview(id)} // optional: wire to your TTS synth
/>The package touches no network itself — all I/O goes through the injected
VoiceCloningPort + onPreview. Peer-depends on React 18+.
License
MIT
