Varosity

HeyGen Avatar (Digital Twin) API

HeyGen's flagship talking-avatar (Digital Twin) on the v3 API — the highest-quality lip-sync available. Drives a pre-trained avatar look with a script (or your own audio), with the Avatar IV motion engine, voice emotion/speed/pitch, captions, and custom backgrounds.

$0.084/s on Varosity credits ($0.080/s with your own key). Clips up to 300s with native audio.

no heygen account needed · no subscription · failed renders never billed

Best for

  • studio-grade lip sync
  • Avatar IV / Avatar V motion engines
  • voice emotion + speed control
  • captions & custom backgrounds

Trade-offs

  • requires a pre-trained avatar look id
  • fixed framing

Call it from your code

One Varosity key works for every model. Video renders are async — the response has a jobId; poll GET /api/v1/jobs/{jobId} until status is "succeeded", then read outputUrl.

curl -X POST https://varosity.ai/api/v1/video/generate \
  -H "Authorization: Bearer $VAROSITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "cinematic aerial of a coastal road at golden hour, slow push-in",
    "modelId": "heygen-avatar-4",
    "aspectRatio": "16:9",
    "durationSec": 5
  }'

Or ask your agent

Connect Claude, Cursor, or any MCP client to https://varosity.ai/api/mcp with your key, then say:

"Use Varosity with heygen-avatar-4 to make a 5-second clip of …"
Agent setup guide

Alternatives to HeyGen Avatar (Digital Twin)