Skip to main content
The Percify API makes a talking avatar video in three generations: an image model creates the face, a voice model speaks your script in a cloned voice, and a lip-sync model animates the face to that audio. Each step is a 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 https URL, as .mp3 or .wav. Only clone a voice you have permission to use.
  • Or skip steps 1 and 2 with your own portrait (.jpg or .png with a clearly visible face) and your own voiceover (.mp3 or .wav), both at public https URLs.

Run the pipeline

The idempotency keys make the script safe to rerun: a step that already ran returns its existing generation instead of charging again.

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 zonos2 each time to keep a consistent voice.
  • Start with infinitetalk-fast while you test scripts, then switch to infinitetalk at 720p for final renders.
  • Long scripts take longer. Use ?wait=45 in a loop or a webhook instead of a tight poll.
AI agents can do all three steps for you. Through the MCP server, create_avatar saves a face and a voice once, and avatar_say makes that avatar speak any script.

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.
Last modified on September 16, 2026