Varosity

HeyGen Photo Avatar (Avatar IV) API

Turn a single photo into a talking presenter with HeyGen's Avatar IV engine. Pass a photo URL + script and HeyGen animates the face with natural motion — no pre-training required. Control motion via a prompt and expressiveness level.

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

no HeyGen account needed · provider's list price, no markup · failed renders never billed

Best for

  • animate ANY photo as the speaker
  • Avatar IV motion engine
  • motion prompt + expressiveness control

Trade-offs

  • needs a clear front-facing photo
  • less consistent than a trained Digital Twin

How to get the best result

Animating any front-facing photo as a talking speaker (Avatar IV) with motion and expressiveness control. Pick instead: heygen-avatar-4 for a consistent trained avatar; omnihuman for audio-driven singing or performance.

Prompting

  • The prompt is the script; providerOptions.motionPrompt describes body motion and gestures in plain language.
  • Raise providerOptions.expressiveness (low default, medium, high) for more animated delivery.

Settings on Varosity

  • referenceImageUrl (the photo) is required.
  • audioUrl drives lip-sync from your own track; otherwise voiceId (or a default voice) reads the script.

Avoid

  • Side-profile or low-resolution photos; use a clear front-facing face.
  • Leaving expressiveness at low and expecting lively motion.

Example prompt

Script: Welcome back. Today we're tasting three coffees from three continents. motionPrompt: leans in slightly and gestures with the right hand when listing.

From developers.heygen.com, checked against what Varosity sends.

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.

Before you call it

  • heygen-photo-avatar needs a source photo (referenceImageUrl); on Varosity Credits also providerOptions.voiceId (the prompt is the script) or an audioUrl.
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-photo-avatar",
    "aspectRatio": "16:9",
    "durationSec": 5,
    "referenceImageUrl": "https://example.com/start-frame.png"
  }'

Or use HeyGen Photo Avatar (Avatar IV) over MCP

Connect ChatGPT, Claude, Cursor or any MCP client to https://varosity.ai/api/mcp (sign in, or use your key), then say:

"Use Varosity with heygen-photo-avatar to make a clip of …"
MCP setup for your agent

Alternatives to HeyGen Photo Avatar (Avatar IV)