---
last_updated: 2026-11-25
source_url: https://opper.ai/heygen/heygen-avatar-iv
title: "HeyGen Avatar IV by HeyGen"
description: "HeyGen Avatar IV makes any photo of a person speak, from an audio track or a script read by a HeyGen voice."
---

# HeyGen Avatar IV

By [HeyGen](https://opper.ai/heygen).

Avatar IV is HeyGen's photo-to-talking-video model. Give it one photo of a person and either an audio track or a script with a HeyGen voice, and it renders that person speaking, with lip-sync, facial expression and head and body motion that follow the speech.

A prompt directs the body motion, and the clip lasts as long as the speech. It renders at 720p or 1080p, in portrait, landscape, square or the photo's own proportions.

It suits presenter and explainer videos, personalised outreach, training content and dubbing a spokesperson into new languages from a single picture.

## Available routes

HeyGen Avatar IV runs on 1 route through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=heygen%2Favatar-iv.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [HeyGen](https://opper.ai/provider/heygen) | `heygen/avatar-iv` | US (United States) | Retained | Yes | $0.0385 / sec |

## Key info

- Model id: `heygen/avatar-iv`
- Input: Text, Image, Audio
- Output: Video
- Features: none listed
- Pricing: $0.0385 / sec
- Billing: Per second
- US residency available

## Pricing

Usage-based pricing, billed by the second, not by token.

| Variant | Price |
| --- | --- |
| Standard | $0.0385 / sec |

## Data handling per route

Each route hosting HeyGen Avatar IV has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### HeyGen — United States

Content is retained: used for training by default. Trained on customer data by default. US; dpf sccs.

- Zero data retention: Retained: used for training by default.
- Training: Trained on customer data by default.
- Logging: Other
- Abuse monitoring: On by default, holds flagged content
- Caching: Not cached
- Transfer mechanism: dpf sccs

Verified by Opper on 2026-11-04.

## Get started

Call HeyGen Avatar IV through the Opper gateway with one API key. Lip-sync models run on Opper's async video endpoint: POST /v3/videos with the audio and the face or clip to animate, then poll the status URL until the job is completed and download the file.

See the [Opper video guide](https://docs.opper.ai/build/multimodal/video) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

HeyGen Avatar IV is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate a lip-synced video with HeyGen Avatar IV
```

### Or call it directly

cURL:

```bash
# 1. Submit the job: answers 202 with an id and a status_url
STATUS_URL=$(curl -s https://api.opper.ai/v3/videos \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "heygen/avatar-iv",
    "image": "https://example.com/face.png",
    "audio": "https://example.com/speech.mp3"
  }' | jq -r .status_url)

# 2. Poll the status_url (GET /v3/artifacts/{id}/status) until "status"
#    is "completed" (or "failed")
curl "$STATUS_URL" -H "Authorization: Bearer $OPPER_API_KEY"

# 3. Download the clip from the "url" in the completed status
curl -o video.mp4 "<url>"
```

JavaScript:

```javascript
const headers = {
  Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
  "Content-Type": "application/json",
};

// Submit the job: answers 202 with an id and a status_url
const job = await fetch("https://api.opper.ai/v3/videos", {
  method: "POST",
  headers,
  body: JSON.stringify({
    "model": "heygen/avatar-iv",
    "image": "https://example.com/face.png",
    "audio": "https://example.com/speech.mp3"
  }),
}).then((r) => r.json());

// Poll until the job is done, then download the clip from status.url
let status;
do {
  await new Promise((r) => setTimeout(r, 5000));
  status = await fetch(job.status_url, { headers }).then((r) => r.json());
} while (status.status === "processing");

if (status.status === "failed") throw new Error(status.error);
console.log(status.url);
```

## Use HeyGen Avatar IV in your apps

Pick your tool to see how to run it on HeyGen Avatar IV through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/heygen-avatar-iv)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/heygen-avatar-iv)
- [Codex](https://opper.ai/apps/codex/heygen-avatar-iv)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/heygen-avatar-iv)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/heygen-avatar-iv)
- [Aider](https://opper.ai/apps/aider/heygen-avatar-iv)
- [Goose](https://opper.ai/apps/goose/heygen-avatar-iv)
- [Droid](https://opper.ai/apps/droid/heygen-avatar-iv)
- [OpenCode](https://opper.ai/apps/opencode/heygen-avatar-iv)
- [Pi](https://opper.ai/apps/pi/heygen-avatar-iv)
- [OpenClaw](https://opper.ai/apps/openclaw/heygen-avatar-iv)
- [Hermes](https://opper.ai/apps/hermes/heygen-avatar-iv)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/heygen-avatar-iv)
- [OmniRoute](https://opper.ai/apps/omniroute/heygen-avatar-iv)
- [Cursor](https://opper.ai/apps/cursor/heygen-avatar-iv)
- [Cline](https://opper.ai/apps/cline/heygen-avatar-iv)
- [Continue](https://opper.ai/apps/continue/heygen-avatar-iv)
- [Kilo Code](https://opper.ai/apps/kilo-code/heygen-avatar-iv)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/heygen-avatar-iv)
- [Zed](https://opper.ai/apps/zed/heygen-avatar-iv)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/heygen-avatar-iv)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/heygen-avatar-iv)
- [n8n](https://opper.ai/apps/n8n/heygen-avatar-iv)
- [LibreChat](https://opper.ai/apps/librechat/heygen-avatar-iv)
- [Open WebUI](https://opper.ai/apps/open-webui/heygen-avatar-iv)
- [See all apps](https://opper.ai/apps)

## Other models from HeyGen

- [HeyGen Video 1](https://opper.ai/heygen/heygen-video-1)
- [HeyGen Voice 1](https://opper.ai/heygen/heygen-voice-1)
- [HeyGen Voice 1 Turbo](https://opper.ai/heygen/heygen-voice-1-turbo)
- [HeyGen Lipsync Precision](https://opper.ai/heygen/heygen-lipsync-precision)
- [HeyGen Lipsync Speed](https://opper.ai/heygen/heygen-lipsync-speed)
