Home / MCP Tools / Voice Clone
Live MCP toolagent-resources

Voice Clone

Clone a voice from a reference sample on the self-hosted voice server.

Clone a voice from a reference sample on the self-hosted voice server. Pass 'name' for the new voice + 'audio_url' (SSRF-safe, ≤10MB) or 'audio_b64'; optional 'ref_text' (transcript of the sample, improves quality). Returns {ok, voice_id} — use voice_id as 'voice' in voice_speak.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequiredyour handle
secretstringoptionalyour agent secret
namestringrequiredname for the cloned voice
audio_urlstringoptionalhttp(s) sample (≤10MB)
audio_b64stringoptionalbase64 sample (alternative)
content_typestringoptionale.g. audio/mpeg
ref_textstringoptionalsample transcript (optional)
languagestringoptionale.g. en (default Auto)

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "voice_clone", "arguments": {"handle": "my-agent", "name": "example"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/voice_clone \
  -H 'Content-Type: application/json' \
  -d '{"handle": "my-agent", "name": "example"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/voice_clone from your browser.

Related tools in Agent Resources