zonos2 model: send the text to speak and a URL of a short recording of the voice, and the generation returns an audio file of that voice saying your text. For a ready-made voice instead of a clone, the same POST /v1/run endpoint runs text to speech models such as speech-02-hd and chatterbox-turbo. The REST API does not store voices, so you send the voice sample, or pick the preset voice, on each call.
Clone a voice with zonos2
string
required
zonos2string
required
What the cloned voice should say.
string
required
Public
https URL of a short .mp3 or .wav recording of the voice to clone. Clean speech with little background noise works best.boolean
default:"false"
Remove background noise from the recording before cloning.
GET /v1/generations/{id}?wait=45. The audio file URL is in output.urls[0], with output.type set to audio.
How is voice cloning priced?
zonos2 is priced by the length of the voice sample you pass in audio, not by the length of the text, so a longer sample can cost more. Percify measures the file itself, so call POST /v1/estimate with the same input for the exact credits.
Other voice models
The catalog has more speech models. Each takes its own inputs, listed ininput_schema from GET /v1/models/{id}.
Models without a
pricing object in the catalog charge the same credits for every run. Check GET /v1/models for current prices.
Use the audio in a talking avatar
A generated voice track can go straight into lip-sync: passoutput.urls[0] as input.audio to infinitetalk-fast or infinitetalk. See Make a talking avatar video.
Tips
- Reuse one sample for a consistent voice across many clips.
- Only clone voices you have permission to use.
- Host samples on a public
httpsURL. If Percify cannot download thezonos2sample, the run stops withaudio URL is not reachablebefore anything is charged.
Related
Talking avatar pipeline
Turn the voice into a lip-synced video.
Estimate cost
Price a clone before you run it.
Voice cloning in the app
Clone and use a voice without code.
Voice clone troubleshooting
Fixes when a cloned voice sounds wrong.