Skip to main content
Voice cloning lets you generate speech in a voice provided by a short reference audio sample. With tts-chatterbox-hd, upload a sample to /audio/voices, save the returned vv_... voice handle, then pass that handle to /audio/speech.
Voice handles are model-specific. A handle created with tts-chatterbox-hd must be used with tts-chatterbox-hd.

How it works

  1. Upload - Send a clean reference audio file to POST /audio/voices
  2. Save - Store the returned id voice handle
  3. Generate - Send the handle as voice in POST /audio/speech

Prerequisites

  • A Venice API key
  • A clean reference sample in MP3, WAV, FLAC, or M4A format
  • At least 5 to 10 seconds of clear speech from one speaker
Set your API key:

Step 1: Upload a voice sample

Create a voice handle by uploading the reference audio as multipart form data:
Response (200):
Save the id for speech generation:

Step 2: Generate speech

Pass the cloned voice handle as voice in the speech request:
The response body is binary audio in the requested format.

Complete example

This example uploads a reference sample, extracts the voice handle with jq, and writes the generated audio to chatterbox-clone.mp3:

Voice sample tips

Use a sample with one speaker, minimal background noise, and no music. Natural speech works better than whispered, sung, or heavily processed audio. Longer samples can help when the voice has distinctive pacing, accent, or tone, but keep the sample focused on the target speaker.

Handle expiration

Chatterbox HD cloning is zero-shot: Venice stores the uploaded reference audio temporarily, and the model reads it when you synthesize speech. No persistent voice template is created. Voice handles expire automatically after 7 days. After a handle expires, upload the reference sample again to create a new vv_... handle.

Discover cloning support

Models that support cloning include a voice_cloning object in the model spec. Query TTS models to check supported formats, minimum sample length, and retention:
tts-chatterbox-hd advertises:

API parameters

Create voice

Generate speech

Common errors