How to Use HeyGen Video Agent v3 in opencode
HeyGen Video Agent v3 turns a written brief into a narrated explainer with an avatar, script, and composed scenes. Use it for product explainers and training videos, with explicit direction for narration, visuals, and pacing.
Prompts to try with HeyGen Video Agent v3 in opencode
Copy an example into opencode, or ask in your own words.
Read the latest changelog and use HeyGen Video Agent v3 to make an approximately 45-second release explainer for existing users. Cover the three most useful changes, use a presenter with animated callouts, and include only features documented in the project.
Use the README to create an approximately 60-second beginner introduction with HeyGen Video Agent v3. Explain the project's purpose, one concrete use, and the next action; use short scenes and a friendly narrator.
Read the authentication documentation and use HeyGen Video Agent v3 to create an approximately 90-second developer lesson. Explain the documented request flow with animated diagrams and label every component using its exact project name.
Use the troubleshooting guide to make an approximately 60-second support video with HeyGen Video Agent v3. Cover the most common documented error, its cause, and its fix, with exact error text displayed on screen.
Read the onboarding guide and use HeyGen Video Agent v3 to create an approximately two-minute introduction for new contributors. Organize the explanation into short narrated sections with a closing recap, using only documented instructions.
How to set up HeyGen Video Agent v3 in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run HeyGen Video Agent v3
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/v3/video-agent", "input": { "prompt": "Create a 30-second product demo video showcasing our new AI features with professional lighting and modern graphics." } }'
Then paste one of the prompts above: opencode finds HeyGen Video Agent v3 on Spiral, shows the price and runs it.
HeyGen Video Agent v3 providers and prices
Spiral runs HeyGen Video Agent v3 through fal. Open a card for today's price, with every fee included.
Settings you can ask for
HeyGen Video Agent v3 works from your prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Avatar | auto, Abigail (Upper Body), Abigail Office Front, Abigail Office Side, Abigail Sofa Front, Abigail Sofa Side, Aditya in Brown blazer, Aditya in Blue blazer and 1279 more | auto | Avatar to use in the video. Set to 'auto' to let the agent auto-select based on the prompt. |
| Voice | auto, Warm Pro Narrator, Chill Brian, Ivy, John Doe, Monika Sogam, Hope , Archer and 95 more | auto | Voice for narration. Set to 'auto' to let the agent auto-select. |
| Orientation | landscape or portrait | Video orientation. Auto-detected from the prompt if omitted. | |
| Incognito mode | on or off | off | When enabled, disables the agent's memory functions. |
Every API field of HeyGen Video Agent v3 is on its tool page: open its card above.
What can you do with HeyGen Video Agent v3 in opencode?
Turn project documentation and release notes into narrated product videos with HeyGen Video Agent v3. A coding agent can extract verified details from project files and organize them into a script and visual brief.
Product feature explainers
Introduce one feature with a presenter, a short explanation, and animated callouts showing the customer benefit.
Employee onboarding lessons
Turn an approved onboarding script into a narrated lesson with short sections and a closing recap.
Security awareness training
Explain phishing warning signs through a presenter and clearly labeled example scenarios.
Customer how-to videos
Explain a recurring customer task in a few scenes, with one action and one visual callout per step.
Release announcements
Convert approved release notes into a short video covering what changed, who benefits, and what to try next.
Educational concept videos
Teach a focused concept with narration, animated diagrams, and a concrete example followed by a recap.
Business update videos
Present approved results with narrated charts and explicitly specified labels and figures.
More on HeyGen Video Agent v3 and opencode
Overview
HeyGen Video Agent v3 in other agents
Questions about HeyGen Video Agent v3 in opencode
Can opencode use HeyGen Video Agent v3?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run HeyGen Video Agent v3 like any built-in tool.
How much does HeyGen Video Agent v3 cost in opencode?
Up to $13.26 per run. 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 Video Agent v3 in opencode?
No. Spiral runs HeyGen Video Agent v3 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 Video Agent v3 in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while HeyGen Video Agent v3 runs?
HeyGen Video Agent v3 runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is HeyGen Video Agent v3 good for?
Use it for narrated explainers, product introductions, and training videos. It combines scripting, narration, and scene composition into a complete video.
Should I provide a finished script or just an idea?
Both work. Provide a finished script when the order and wording matter; a short idea leaves more scripting decisions to HeyGen Video Agent v3.
Will HeyGen Video Agent v3 match an exact runtime?
Treat the requested length as a target. HeyGen says the agent follows the prompt and script for length rather than forcing an exact duration.
How should I structure scenes?
Give each scene one clear point and describe its visual purpose. HeyGen recommends roughly 5 to 10 seconds per scene for pacing.
Can HeyGen Video Agent v3 show charts and callouts?
Yes. Ask for motion graphics and specify the chart, labels, or callout text you need.
Start using HeyGen Video Agent v3 in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


