Spiral gives your agent every tool with one account. Browse the tools →

opencode · VideoReleased 2026-02-23

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.

Prompts to try with HeyGen Avatar III Digital Twin in opencode

Copy an example into opencode, or ask in your own words.

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.

HeyGen Avatar III Digital Twinopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

HeyGen Avatar III Digital Twin providers and prices

Spiral runs HeyGen Avatar III Digital Twin through fal. Open a card for today's price, with every fee included.

falVideo
HeyGen Avatar III Digital Twin
fal-ai/heygen/avatar3/digital-twin

Settings you can ask for

HeyGen Avatar III Digital Twin works from your audio URL. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution360p, 480p, 540p, 720p, or 1080p720p

Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p

Aspect ratio16:9, 9:16, 4:5, 5:4, or 1:116: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.

Every API field of HeyGen Avatar III Digital Twin is on its tool page: open its card above.

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.

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.

Get started

Start using HeyGen Avatar III Digital Twin in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options