POST /v1/run, and each output URL is the input of the next. You can skip the first two steps if you already have a portrait photo or a finished voiceover.
What you need
- A Percify API key (Scale or Ultra plan). See Authentication.
- For step 2, a short, clean speech recording of the voice to clone, at a public
httpsURL, as.mp3or.wav. Only clone a voice you have permission to use. - Or skip steps 1 and 2 with your own portrait (
.jpgor.pngwith a clearly visible face) and your own voiceover (.mp3or.wav), both at publichttpsURLs.
Run the pipeline
How much does a talking avatar video cost?
Each step is charged separately, from your plan’s credits:
Get exact numbers before you run: call
POST /v1/estimate for each step with the inputs you plan to send. For step 3, estimate with a real audio URL, because Percify prices it from the audio’s length.
Tips for better results
- Frame the portrait the way you want the video. The video keeps the input image’s aspect ratio, so crop it first.
- One face, facing the camera. A clear, front-facing face gives the lip-sync model the most to work with.
- Reuse the voice. There is no saved voice id in the REST API: send the same sample URL to
zonos2each time to keep a consistent voice. - Start with
infinitetalk-fastwhile you test scripts, then switch toinfinitetalkat720pfor final renders. - Long scripts take longer. Use
?wait=45in a loop or a webhook instead of a tight poll.
Related
Lip-sync video (InfiniteTalk)
Every input of step 3.
Voice cloning and speech
zonos2 and the text to speech models.
Estimate cost
Price each step before running it.
Lip-sync in the app
The same models without code.