clone_voice
Create a Google voice clone from reference speech and spoken consent.
Requires the user's explicit ownership/permission confirmation. Obtain
the required consent wording with get_voice_consent_script. Inputs are
local paths in stdio or public HTTPS URLs hosted. Returns voice_id for
preview_voice and synthesize_audio. For a saved ElevenLabs clone from
original video speech, use create_byo_voice with clip_reference=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reference_path": "<reference_path>",
"consent_path": "<consent_path>"
},
"name": "clone_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consent_path | Yes | Spoken consent recording: local path in stdio or public HTTPS URL when hosted. Required for Google voice cloning. | |
| language_code | No | Language code, for example "en" or "fr". Leave empty to use the operation default. | |
| reference_path | Yes | Reference speech file: local path in stdio or public HTTPS URL when hosted. | |
| confirm_ownership | No | True only after the user explicitly confirms ownership or the speaker’s permission to clone this voice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||