[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [HeyGen Avatar III Digital Twin](https://spiral.ai/integrations/opencode/heygen-avatar-iii-digital-twin)

# How to Use HeyGen Avatar III Digital Twin in opencode

HeyGen Avatar III Digital Twin suits presenter videos where clear narration matters more than expressive movement. Unlike HeyGen Avatar IV Digital Twin, it focuses on lip-sync without advanced body or facial motion.

|  |  |
| --- | --- |
| Model | HeyGen Avatar III Digital Twin |
| Available through | fal |
| Category | Video |
| Price | Up to $0.221 per run at the default inputs. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with HeyGen Avatar III Digital Twin in opencode

- Use HeyGen Avatar III Digital Twin to turn the approved release-summary recording in this project into a 1080p landscape presenter clip. Check its claims against CHANGELOG.md and flag discrepancies before rendering.
- Read the onboarding guide and draft a spoken welcome explaining the first successful task. Use HeyGen Avatar III Digital Twin with the approved narration recording to create a 1080p landscape introduction.
- Use HeyGen Avatar III Digital Twin with the project's approved password-reset narration. Create a 720p review clip and compare the spoken instructions with the current help page.
- Create a vertical 1080p presenter clip from the approved feature-tip recording using HeyGen Avatar III Digital Twin. Verify the feature name and behavior against the README before rendering.
- Use HeyGen Avatar III Digital Twin to render the approved tutorial-introduction recordings as separate 1080p landscape clips. Keep each recording paired with its matching lesson and return a review checklist for pronunciation and lip-sync.

## How to set up HeyGen Avatar III Digital Twin in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run HeyGen Avatar III Digital Twin**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/heygen/avatar3/digital-twin",
    "input": {
      "character": {
        "avatar": "Florin Business Sitting Side"
      },
      "voice": {}
    }
  }'
```

Then paste one of the prompts above: opencode finds HeyGen Avatar III Digital Twin on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## HeyGen Avatar III Digital Twin tools and prices

- [HeyGen Avatar III Digital Twin](https://spiral.ai/tools/fal/fal-ai/heygen/avatar3/digital-twin) (fal): Up to $0.221 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| audio_url |  | — | URL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech. |
| resolution | 360p, 480p, 540p, 720p, 1080p | 720p | Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p |
| aspect_ratio | 16:9, 9:16, 4:5, 5:4, 1:1 | 16:9 | Aspect ratio of the output video. Use '9:16' for portrait (vertical) videos, '16:9' for landscape, '1:1' for square, '4:5' for portrait social video, or '5:4' for landscape social video. |

## What can you do with HeyGen Avatar III Digital Twin in opencode?

Turn project documentation and release notes into presenter videos for users. Use HeyGen Avatar III Digital Twin for spoken explanations, with narration checked against the project's actual behavior.

### Customer welcome messages

Turn an approved welcome recording into a presenter clip that explains the customer's first task and where to get help.

### Training introductions

Create a presenter introduction for each lesson. Keep demonstrations and detailed diagrams in the lesson material, and use the avatar to explain the learning objective.

### Product release summaries

Present the most useful change in a release, who it helps, and what users should try next.

### Internal announcements

Convert approved narration about a process change into a presenter video with a clear effective date and next action.

### Support explainers

Make a spoken answer to one recurring support question, such as how to find an invoice or recover a saved draft.

### Social video tips

Use a vertical presenter clip to deliver one practical tip. Keep the explanation self-contained so viewers can understand it without a separate demonstration.

### Webinar introductions

Create a recorded presenter opening that introduces the topic, names the speaker, and explains what attendees will learn.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## HeyGen Avatar III Digital Twin in other agents

- [Amp](https://spiral.ai/integrations/amp/heygen-avatar-iii-digital-twin)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/heygen-avatar-iii-digital-twin)
- [Claude](https://spiral.ai/integrations/claude-desktop/heygen-avatar-iii-digital-twin)
- [Claude Code](https://spiral.ai/integrations/claude-code/heygen-avatar-iii-digital-twin)
- [Cline](https://spiral.ai/integrations/cline/heygen-avatar-iii-digital-twin)
- [Codex](https://spiral.ai/integrations/codex/heygen-avatar-iii-digital-twin)
- [Cursor](https://spiral.ai/integrations/cursor/heygen-avatar-iii-digital-twin)
- [Devin](https://spiral.ai/integrations/devin/heygen-avatar-iii-digital-twin)
- [dots](https://spiral.ai/integrations/dots/heygen-avatar-iii-digital-twin)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/heygen-avatar-iii-digital-twin)
- [Gemini](https://spiral.ai/integrations/gemini/heygen-avatar-iii-digital-twin)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/heygen-avatar-iii-digital-twin)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/heygen-avatar-iii-digital-twin)
- [goose](https://spiral.ai/integrations/goose/heygen-avatar-iii-digital-twin)
- [Grok](https://spiral.ai/integrations/grok/heygen-avatar-iii-digital-twin)
- [Grok Build](https://spiral.ai/integrations/grok-build/heygen-avatar-iii-digital-twin)
- [Hermes](https://spiral.ai/integrations/hermes/heygen-avatar-iii-digital-twin)
- [Instinct](https://spiral.ai/integrations/instinct/heygen-avatar-iii-digital-twin)
- [Manus](https://spiral.ai/integrations/manus/heygen-avatar-iii-digital-twin)
- [Muse](https://spiral.ai/integrations/muse/heygen-avatar-iii-digital-twin)
- [Muse Code](https://spiral.ai/integrations/muse-code/heygen-avatar-iii-digital-twin)
- [n8n](https://spiral.ai/integrations/n8n/heygen-avatar-iii-digital-twin)
- [Notion](https://spiral.ai/integrations/notion/heygen-avatar-iii-digital-twin)
- [OpenClaw](https://spiral.ai/integrations/openclaw/heygen-avatar-iii-digital-twin)
- [Perplexity](https://spiral.ai/integrations/perplexity/heygen-avatar-iii-digital-twin)
- [Raycast](https://spiral.ai/integrations/raycast/heygen-avatar-iii-digital-twin)
- [VS Code](https://spiral.ai/integrations/vscode/heygen-avatar-iii-digital-twin)
- [Windsurf](https://spiral.ai/integrations/windsurf/heygen-avatar-iii-digital-twin)
- [Zapier](https://spiral.ai/integrations/zapier/heygen-avatar-iii-digital-twin)

## More opencode guides

- [Hedra Character 3](https://spiral.ai/integrations/opencode/hedra-character-3)
- [HeyGen Avatar IV](https://spiral.ai/integrations/opencode/heygen-avatar-iv)
- [Happy Horse Video Edit](https://spiral.ai/integrations/opencode/happy-horse-video-edit)
- [HeyGen Avatar IV Digital Twin](https://spiral.ai/integrations/opencode/heygen-avatar-iv-digital-twin)
- [Happy Horse 1.1 Text to Video](https://spiral.ai/integrations/opencode/happy-horse-1-1-text-to-video)
- [HeyGen Avatar V Digital Twin](https://spiral.ai/integrations/opencode/heygen-avatar-v-digital-twin)

## Questions about HeyGen Avatar III Digital Twin in opencode

**Can opencode use HeyGen Avatar III Digital Twin?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run HeyGen Avatar III Digital Twin like any built-in tool.

**How much does HeyGen Avatar III Digital Twin cost in opencode?**

Up to $0.221 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use HeyGen Avatar III Digital Twin in opencode?**

No. Spiral runs HeyGen Avatar III Digital Twin on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up HeyGen Avatar III Digital Twin in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while HeyGen Avatar III Digital Twin runs?**

HeyGen Avatar III Digital Twin runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is HeyGen Avatar III Digital Twin best for?**

Use it for straightforward presenter videos, such as a welcome message, training introduction, or narrated announcement. It suits content where the spoken message carries the explanation and advanced movement matters less.

**How does Avatar III differ from Avatar IV Digital Twin?**

HeyGen describes Avatar III as lip-sync only, without advanced body or facial motion. Avatar IV Digital Twin adds dynamic expressions and more realistic full-body gestures.

**Can HeyGen Avatar III Digital Twin produce 1080p video?**

Yes. Choose 1080p for a finished presenter clip; use 720p when reviewing an initial draft.

**How should I write a script for HeyGen Avatar III?**

Write the words the presenter should say. Use commas for shorter breaks, periods for longer breaks, and spelled-out numbers or phonetic spellings when pronunciation needs clarification.

**What determines a Digital Twin’s gestures?**

HeyGen says gestures and facial expressions derive from the original footage. Choose footage with suitable movement and expression rather than expecting a new script to supply a different physical performance.

