Individual skill
heygen-cli
Create AI videos, manage avatars, translate videos, and download results via the HeyGen API. Use when an agent needs to generate videos from text prompts, create avatar-based videos, translate existing videos, or automate video production workflows.
SKILL.md
Source commit 27f93c98ee5d798eadca0d7a5f1e6845431c315c
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 171
- Repository last updated
- Nov 7, 2026
- License
- Apache-2.0
Observed agent integration: claude-code, codex
- agents Repository topic
- ai Repository topic
- api Repository topic
- avatar Repository topic
- cli Repository topic
- golang Repository topic
- heygen Repository topic
- text-to-speech Repository topic
- video Repository topic
- video-translation Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.agents/skills/README.mddoc · 1,533 bytes.agents/skills/changelog-cli/SKILL.mddoc · 4,089 bytes.agents/skills/e2e-cli-test/SKILL.mddoc · 9,761 bytes.agents/skills/release-cli/SKILL.mddoc · 7,425 bytes.claude/skills/changelog-cli/SKILL.mddoc · 4,089 bytes.claude/skills/e2e-cli-test/SKILL.mddoc · 9,761 bytes.claude/skills/release-cli/SKILL.mddoc · 7,425 bytes.gitattributesasset · 19 bytes.github/GIT_CONVENTIONS.mddoc · 1,683 bytes.github/ISSUE_TEMPLATE/bug.ymlasset · 1,015 bytes.github/ISSUE_TEMPLATE/config.ymlasset · 28 bytes.github/ISSUE_TEMPLATE/feature.ymlasset · 637 bytes.github/PULL_REQUEST_TEMPLATEasset · 173 bytes.github/dependabot.ymlasset · 324 bytes.github/scripts/check_pr_template.pyruns · 1,004 bytes.github/scripts/cleanup-failed-release.shruns · 3,397 bytes.github/scripts/find-run-draft.shruns · 736 bytes.github/scripts/install-goreleaser.shruns · 792 bytes.github/workflows/ci.ymlasset · 8,851 bytes.github/workflows/dev-release.ymlasset · 6,594 bytes.github/workflows/release-stable.ymlasset · 10,287 bytes.gitignoreasset · 85 bytes.gitleaks.tomlasset · 194 bytes.golangci.ymlasset · 908 bytes.goreleaser.yamlasset · 999 bytesAGENTS.mddoc · 8,055 bytesCODE_OF_CONDUCT.mddoc · 5,520 bytesCONTRIBUTING.mddoc · 8,230 bytesLICENSEasset · 10,763 bytesMakefileruns · 601 bytesNOTICEasset · 88 bytesREADME.mddoc · 12,149 bytesRELEASE.mddoc · 15,986 bytesSECURITY.mddoc · 654 bytesSKILL.mdcore · 8,302 bytesSKILL.mdcore · 8,302 bytesSKILL.mdcore · 8,302 bytesSKILL.mdcore · 8,302 bytesSKILL.mdcore · 8,302 bytesSKILL.mdcore · 8,302 bytescmd/heygen/aliases.goruns · 3,960 bytescmd/heygen/aliases_brandkit_test.goruns · 1,166 bytescmd/heygen/aliases_test.goruns · 3,309 bytescmd/heygen/auth.goruns · 2,023 bytescmd/heygen/auth_login.goruns · 41,706 bytescmd/heygen/auth_login_device_test.goruns · 8,277 bytescmd/heygen/auth_login_dispatch_test.goruns · 15,474 bytescmd/heygen/auth_login_friendly_test.goruns · 7,898 bytescmd/heygen/auth_login_oauth_test.goruns · 48,074 bytescmd/heygen/auth_login_picker.goruns · 6,069 bytescmd/heygen/auth_login_picker_test.goruns · 5,129 bytescmd/heygen/auth_logout.goruns · 4,076 bytescmd/heygen/auth_logout_test.goruns · 5,687 bytescmd/heygen/auth_status.goruns · 8,829 bytescmd/heygen/auth_status_friendly_test.goruns · 6,553 bytescmd/heygen/auth_status_oauth_test.goruns · 8,817 bytescmd/heygen/auth_status_test.goruns · 14,435 bytescmd/heygen/auth_test.goruns · 4,883 bytescmd/heygen/builder.goruns · 17,194 bytescmd/heygen/builder_test.goruns · 45,199 bytescmd/heygen/columns.goruns · 4,697 bytescmd/heygen/columns_test.goruns · 2,480 bytescmd/heygen/config_cmd.goruns · 4,157 bytescmd/heygen/config_cmd_test.goruns · 6,501 bytescmd/heygen/confirm.goruns · 861 bytescmd/heygen/confirm_test.goruns · 1,064 bytescmd/heygen/context.goruns · 6,081 bytescmd/heygen/context_test.goruns · 5,004 bytescmd/heygen/deprecated_flags_test.goruns · 7,432 bytescmd/heygen/feedback.goruns · 2,900 bytescmd/heygen/feedback_test.goruns · 3,541 bytescmd/heygen/formatter_select.goruns · 1,179 bytescmd/heygen/generated_example_flags_test.goruns · 9,092 bytescmd/heygen/generated_examples_test.goruns · 488 bytescmd/heygen/generated_root_test.goruns · 13,575 bytescmd/heygen/go_version_pin_test.goruns · 4,911 bytescmd/heygen/headers_test.goruns · 2,297 bytescmd/heygen/help_flatten.goruns · 4,911 bytescmd/heygen/hidden_commands_test.goruns · 2,579 bytescmd/heygen/idempotency_key_test.goruns · 2,377 bytescmd/heygen/instant_video_test.goruns · 2,811 bytescmd/heygen/main.goruns · 4,823 bytescmd/heygen/main_test.goruns · 3,350 bytescmd/heygen/poll_configs.goruns · 1,753 bytescmd/heygen/poll_configs_test.goruns · 470 bytescmd/heygen/root.goruns · 9,242 bytescmd/heygen/root_test.goruns · 1,286 bytescmd/heygen/testutil_test.goruns · 3,688 bytescmd/heygen/timeouts.goruns · 2,148 bytescmd/heygen/timeouts_test.goruns · 1,567 bytescmd/heygen/update.goruns · 11,327 bytescmd/heygen/update_notice.goruns · 11,520 bytescmd/heygen/update_notice_test.goruns · 20,836 bytescmd/heygen/update_notice_unix.goruns · 1,303 bytescmd/heygen/update_notice_windows.goruns · 1,008 bytescmd/heygen/update_test.goruns · 20,862 bytescmd/heygen/video_download.goruns · 8,974 bytescmd/heygen/video_download_test.goruns · 21,352 bytescmd/heygen/video_list_test.goruns · 7,124 bytescodegen/examples.goruns · 2,601 bytescodegen/examples/ai-clipping.yamlasset · 509 bytescodegen/examples/asset.yamlasset · 2,840 bytescodegen/examples/audio.yamlasset · 453 bytescodegen/examples/avatar.yamlasset · 1,835 bytescodegen/examples/background-removal.yamlasset · 1,105 bytescodegen/examples/batch.yamlasset · 855 bytescodegen/examples/brand.yamlasset · 3,507 bytescodegen/examples/filler-word-removal.yamlasset · 1,296 bytescodegen/examples/folder.yamlasset · 222 bytescodegen/examples/lipsync.yamlasset · 1,537 bytescodegen/examples/model.yamlasset · 4,101 bytescodegen/examples/template.yamlasset · 1,964 bytescodegen/examples/user.yamlasset · 92 bytescodegen/examples/video-agent.yamlasset · 1,387 bytescodegen/examples/video-translate.yamlasset · 3,219 bytescodegen/examples/video.yamlasset · 2,391 bytescodegen/examples/voice.yamlasset · 1,422 bytescodegen/examples/webhook.yamlasset · 1,116 bytescodegen/examples_test.goruns · 1,672 bytescodegen/generate.goruns · 3,753 bytescodegen/generate_test.goruns · 2,831 bytescodegen/grouper.goruns · 33,929 bytescodegen/grouper_test.goruns · 33,138 bytescodegen/main.goruns · 2,506 bytescodegen/schema.goruns · 4,816 bytescodegen/schema_test.goruns · 6,128 bytescodegen/surface_allowlist_test.goruns · 12,857 bytescodegen/templates/command.go.tmplasset · 1,560 bytescodegen/templates/registry.go.tmplasset · 723 bytescodegen/testdata/golden/registry.goruns · 587 bytescodegen/testdata/golden/upload.goruns · 1,020 bytescodegen/testdata/golden/widget.goruns · 6,708 bytescodegen/testdata/mini_spec.jsonasset · 8,508 bytescodegen/testdata/test_examples.yamlasset · 999 bytescodegen/testdata/test_spec.yamlasset · 9,336 bytesdocs/demo.gifasset · 88,401 bytesdocs/demo.tapeasset · 934 bytesgen/ai-clipping.goruns · 26,836 bytesgen/asset.goruns · 41,261 bytesgen/audio.goruns · 5,174 bytesgen/avatar.goruns · 72,050 bytesgen/background-removal.goruns · 14,795 bytesgen/brand.goruns · 78,621 bytesgen/filler-word-removal.goruns · 10,740 bytesgen/folder.goruns · 9,088 bytesgen/lipsync.goruns · 40,579 bytesgen/model.goruns · 92,143 bytesgen/registry.goruns · 4,400 bytesgen/template.goruns · 328,384 bytesgen/user.goruns · 5,382 bytesgen/video-agent.goruns · 41,000 bytesgen/video-translate.goruns · 87,620 bytesgen/video.goruns · 335,599 bytesgen/voice.goruns · 29,999 bytesgen/webhook.goruns · 24,164 bytesgo.modasset · 2,784 bytesgo.sumasset · 15,178 bytesinternal/analytics/analytics.goruns · 12,592 bytesinternal/analytics/analytics_test.goruns · 22,786 bytesinternal/auth/chain_resolver.goruns · 3,146 bytesinternal/auth/chain_resolver_test.goruns · 4,358 bytesinternal/auth/chain_typed_test.goruns · 5,775 bytesinternal/auth/constants.goruns · 822 bytesinternal/auth/credential.goruns · 2,295 bytesinternal/auth/credentials_file.goruns · 4,172 bytesinternal/auth/env_resolver.goruns · 984 bytesinternal/auth/env_resolver_test.goruns · 805 bytesinternal/auth/file_resolver.goruns · 12,297 bytesinternal/auth/file_resolver_test.goruns · 14,335 bytesinternal/auth/file_store.goruns · 1,275 bytesinternal/auth/file_store_test.goruns · 7,730 bytesinternal/auth/not_configured.goruns · 196 bytesinternal/auth/oauth/browser.goruns · 3,757 bytesinternal/auth/oauth/browser_test.goruns · 5,418 bytesinternal/auth/oauth/device.goruns · 7,295 bytesinternal/auth/oauth/device_test.goruns · 8,397 bytesinternal/auth/oauth/loopback.goruns · 12,355 bytesinternal/auth/oauth/loopback_test.goruns · 10,977 bytesinternal/auth/oauth/oauth.goruns · 20,439 bytesinternal/auth/oauth/oauth_test.goruns · 21,670 bytesinternal/auth/oauth/pkce.goruns · 1,463 bytesinternal/auth/oauth/pkce_test.goruns · 1,949 bytesinternal/auth/oauth/tokens.goruns · 2,066 bytesinternal/auth/oauth/tokens_test.goruns · 1,961 bytesinternal/auth/oauth_store.goruns · 6,972 bytesinternal/auth/resolver.goruns · 1,101 bytesinternal/auth/store.goruns · 143 bytesinternal/auth/user_store.goruns · 4,414 bytesinternal/auth/user_store_test.goruns · 9,205 bytesinternal/client/client.goruns · 20,552 bytesinternal/client/client_test.goruns · 8,759 bytesinternal/client/executor.goruns · 20,794 bytesinternal/client/executor_test.goruns · 38,860 bytesinternal/client/oauth_transport_test.goruns · 32,310 bytesinternal/client/retry.goruns · 5,536 bytesinternal/client/retry_test.goruns · 12,099 bytesinternal/command/hidden.goruns · 1,375 bytesinternal/command/spec.goruns · 13,652 bytesinternal/command/spec_test.goruns · 18,941 bytesinternal/config/config.goruns · 953 bytesinternal/config/env_provider.goruns · 1,404 bytesinternal/config/env_provider_test.goruns · 1,588 bytesinternal/config/file_provider.goruns · 1,741 bytesinternal/config/file_provider_test.goruns · 4,269 bytesinternal/config/layered_provider.goruns · 1,668 bytesinternal/config/layered_provider_test.goruns · 3,280 bytesinternal/errors/api_error.goruns · 334 bytesinternal/errors/codes.goruns · 2,639 bytesinternal/errors/codes_test.goruns · 8,078 bytesinternal/errors/errors.goruns · 8,354 bytesinternal/errors/errors_test.goruns · 13,080 bytesinternal/origin/origin.goruns · 8,204 bytesinternal/origin/origin_test.goruns · 6,646 bytesinternal/output/formatter.goruns · 1,612 bytesinternal/output/human_formatter.goruns · 19,334 bytesinternal/output/human_formatter_test.goruns · 20,430 bytesinternal/output/json_formatter.goruns · 2,799 bytesinternal/output/json_formatter_test.goruns · 6,672 bytesinternal/output/spinner.goruns · 2,831 bytesinternal/output/spinner_test.goruns · 1,183 bytesinternal/paths/paths.goruns · 400 bytesscripts/install.shruns · 5,235 bytesscripts/release-surface.shruns · 10,476 bytes
Read excerpt
# HeyGen CLI
Official CLI for the HeyGen video generation API. 30+ commands auto-generated from the OpenAPI spec. All output is JSON by default.
- **API Docs**: https://developers.heygen.com
- **Install**: `curl -fsSL https://static.heygen.ai/cli/install.sh | bash`
- **Auth**: Requires `HEYGEN_API_KEY` environment variable. The key must be provisioned by a user from https://app.heygen.com/settings/api
For attended human setup in a remote/headless terminal, `heygen auth login
--device` can provision the shared `~/.heygen/credentials` OAuth session.
Agents and CI must continue using `HEYGEN_API_KEY`; device login deliberately
refuses unattended environments.
## Key Commands