Lumoz Instant Voice Cloning & Multilingual TTS
Yes! Lumoz AI natively supports Instant Voice Cloning (lumoz_clone_voice) and 90+ language Text-to-Speech (lumoz_generate_tts) directly through MCP.
1. How to Clone a User's Voice in MCP
If the user uploads or provides an audio recording of their voice (10 to 120 seconds of clean speech in MP3, WAV, or M4A):
Option A: Permanent Reusable Voice Clone (lumoz_clone_voice)
- If the user's audio is a local file or chat attachment, first upload it to Lumoz R2 CDN using
lumoz_upload_media(pass the base64 data URI). - Call
lumoz_clone_voice:{ "name": "User Custom Voice", "audio_url": "https://cdn.lumozai.com/uploads/...", "remove_background_noise": true, "sample_text": "Hello, this is an instant preview generated with Lumoz Voice Cloning." } lumoz_clone_voicereturns a permanent white-labelvoice_id(e.g."lumoz-voice-user-custom-a8f2k").- Pass that
voice_idintolumoz_generate_ttsfor all future voiceovers!
Option B: 1-Step Instant Clone & Speak (lumoz_generate_tts with reference_audio)
You can also pass reference_audio directly inside lumoz_generate_tts (or lumoz_run_model with model_id: "lumoz-tts"):
{
"text": "[warmly] Hello and welcome! This entire voiceover was synthesized using my own cloned voice.",
"reference_audio": "https://cdn.lumozai.com/uploads/..."
}
2. Directing Emotion & Merging with Video
- Inline Emotion Tags: Use bracketed cues in
textsuch as[whispers],[excited],[calmly],[laughs], or[narrator tone]. - Merging Voiceover into Video: Once
lumoz_generate_ttsreturns theaudio_url, calllumoz_run_microservicewithservice: "video-audio-merger",video_url, andaudio_urlto combine the cloned voiceover with any video!