API and MCP · developers

Talking avatar video from code

Percify's AI avatar API turns an image, a voice and a script into a lip synced talking video through one REST endpoint: send a model and its inputs to /run, then poll the generation until the file is ready. The same models are reachable from AI agents through an MCP server. API keys come with the Scale plan and above and draw on the same credit meter as the app. It renders video files; it is not a realtime streaming avatar.

Free to start · no credit card
1
REST endpoint to run any model
120+
image, video and voice models
65
credits for the first agent made 11 s video
Scale
plan and above for API keys
Line drawing of a grid of five small screens with one highlighted, one studio chosen from a set

How a talking avatar is built through the API

Three calls, each the input of the next: an image model makes or edits the face, a voice model speaks the script, and a lip sync model drives the mouth from that audio. The first full agent session ran exactly this pipeline and finished an 11 second talking video for 65 credits.

StepModel typeExample
FaceImageGPT Image 2, or your own photo
VoiceText to speech or voice cloneZonos 2, which clones from a reference recording
VideoLip syncInfiniteTalk, in a fast and a standard variant, billed per second

The endpoints

The base URL is https://api.percify.io/v3/playground/v1, and every request carries your pk_live key as a Bearer token in the Authorization header. The replication pipeline is exposed as well: send a short video URL to be analysed and read back the shot by shot blueprint.

EndpointWhat it does
POST /runStart a generation with a model id and its inputs
GET /generations/{id}Status and the output URL
GET /modelsEvery model and the inputs it accepts
GET /openapi.jsonThe machine readable spec

For AI agents: the MCP server

The MCP server lives at https://api.percify.io/v3/mcp. In Claude, add it as a custom connector and sign in with your Percify account, no key needed. In Claude Code, Cursor, Codex or any other MCP client, pass your pk_live key as a Bearer header. An agent can then make the face, the voice and the video from inside the chat. Setup is on the MCP page.

Timing, and designing for long jobs

Lip sync on the fast 480p path spends about 7.62 seconds of compute per second of audio, and a four minute clip on the fast model completed in about 13.6 minutes. Treat every render as an asynchronous job: start it, store the id, and poll with a backoff rather than holding a request open.

That also marks the edge of what it is for. It produces finished video files. If you need an avatar that answers people live in a conversation, this is the wrong tool.

What it costs

The API uses the same credit meter as the app, with lip sync billed per second of output. A 20 second talking clip at 480p averages 69 credits. Current rates are on API pricing, and the model list with every input is in the AI model catalog.

Your first render in four steps

  1. 1

    Get a key

    API keys come with the Scale plan and above. Keep the pk_live key server side.

  2. 2

    List the models

    GET /models returns every model and the inputs it accepts.

  3. 3

    Run the pipeline

    Face, then voice, then lip sync, each a POST /run with the previous output as input.

  4. 4

    Poll and store

    Read /generations/{id} until the output URL appears, then keep your own copy.

Output from the same pipeline

Real talking avatar renders, the kind the API returns.

Frequently asked questions

Does Percify have an AI avatar API?

Yes. One REST endpoint runs any model, and a talking avatar is three calls: an image, a voice, then lip sync. The same models are available to AI agents through an MCP server.

Which plan includes API access?

API keys come with the Scale plan and above. Usage draws on the same credit meter as the app.

How long does an API render take?

Lip sync on the fast 480p path takes about 7.6 seconds of compute per second of audio. A four minute clip finished in about 13.6 minutes, so design for asynchronous jobs.

Can AI agents like Claude use it?

Yes. Connect the MCP server at https://api.percify.io/v3/mcp as a custom connector in Claude and sign in, or pass a pk_live key in Claude Code, Cursor or Codex.

Is it a realtime streaming avatar API?

No. It renders finished video files. It is not built for an avatar that holds a live conversation.

Keep reading

Build it into your product

One key, one endpoint, the whole avatar pipeline.

Free to start · no credit card