Create a quick-cloned custom voice from a local WAV or MP3 audio sample
clone_voiceClone a custom voice from a provided audio sample for use in text-to-speech.
Instructions
Create a quick-cloned custom voice.
Calls POST /v1/voices/clone with multipart form data. Use the returned
voice_id with text_to_speech, text_to_speech_stream, or
text_to_speech_with_timestamps. Delete temporary cloned voices with
delete_cloned_voice when they are no longer needed.
Args:
name: Display name for the cloned voice. Must be 1-30 characters.
audio_file_path: Local WAV or MP3 sample path. Maximum file size is 25 MB.
model: Voice cloning model. Default: ssfm-v30.
audio_base64: Base64-encoded WAV or MP3 sample for a remote MCP server.
audio_filename: Filename with .wav or .mp3 extension for audio_base64.
Returns:
Dict returned by the Typecast API plus normalized handoff fields:
voice_id, cloned_voice_id, next_step_voice_id, next_step_model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | No | ssfm-v30 | |
| audio_base64 | No | ||
| audio_filename | No | voice.wav | |
| audio_file_path | No |