clone_voice
Create a new voice profile from a reference audio sample, then use the returned profile_id to generate speech.
Instructions
Clone a new voice profile from a reference audio sample.
The new voice is immediately available for use with generate_speech
(pass the returned profile_id as the profile_id argument). Pass
exactly one of ref_audio_base64 or ref_audio_path.
Args:
name: A human-friendly name for the cloned voice.
ref_audio_base64: Base64-encoded audio (WAV, MP3, FLAC, etc.) of
the reference voice — 5-30 seconds of clean single-speaker
speech.
ref_text: Optional transcript of the reference audio (improves
quality for some engines).
instruct: Optional style instruction (e.g. 'whisper', 'excited').
language: Language of the reference audio (ISO code or 'Auto').
ref_audio_path: Path to the reference audio under
OMNIVOICE_MCP_BASE_PATH (relative to it, or absolute inside
it); refused when no base path is configured. Prefer this
lane for LLM agents - the clip never enters the context.
Returns:
JSON with the new profile's id, name, and kind.
For long operations use voicestudio_start_job.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| instruct | No | ||
| language | No | Auto | |
| ref_text | No | ||
| ref_audio_path | No | ||
| ref_audio_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |