Skill · em Criar imagem, vídeo e arte

heygen-best-practices

Best practices for HeyGen - AI avatar video creation API

Procedência

Antes de instalar

20 arquivos · 202,7 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/heygen-best-practices/.

d=".claude/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/skills/heygen-best-practices/.

d="$HOME/.claude/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: instala em .agents/skills/heygen-best-practices/.

d=".agents/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.agents/skills/heygen-best-practices/.

d="$HOME/.agents/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/heygen-best-practices/.

d=".agents/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/heygen-best-practices/.

d="$HOME/.gemini/antigravity-cli/skills/heygen-best-practices"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/heygen-best-practices"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/rules/assets.md" "$u/rules/assets.md" \
  -o "$d/rules/authentication.md" "$u/rules/authentication.md" \
  -o "$d/rules/avatars.md" "$u/rules/avatars.md" \
  -o "$d/rules/backgrounds.md" "$u/rules/backgrounds.md" \
  -o "$d/rules/captions.md" "$u/rules/captions.md" \
  -o "$d/rules/dimensions.md" "$u/rules/dimensions.md" \
  -o "$d/rules/photo-avatars.md" "$u/rules/photo-avatars.md" \
  -o "$d/rules/quota.md" "$u/rules/quota.md" \
  -o "$d/rules/remotion-integration.md" "$u/rules/remotion-integration.md" \
  -o "$d/rules/scripts.md" "$u/rules/scripts.md" \
  -o "$d/rules/streaming-avatars.md" "$u/rules/streaming-avatars.md" \
  -o "$d/rules/templates.md" "$u/rules/templates.md" \
  -o "$d/rules/text-overlays.md" "$u/rules/text-overlays.md" \
  -o "$d/rules/video-agent.md" "$u/rules/video-agent.md" \
  -o "$d/rules/video-generation.md" "$u/rules/video-generation.md" \
  -o "$d/rules/video-status.md" "$u/rules/video-status.md" \
  -o "$d/rules/video-translation.md" "$u/rules/video-translation.md" \
  -o "$d/rules/voices.md" "$u/rules/voices.md" \
  -o "$d/rules/webhooks.md" "$u/rules/webhooks.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.heygen-best-practices

Prévia do SKILL.md

---
name: heygen-best-practices
description: Best practices for HeyGen - AI avatar video creation API
metadata:
  tags: heygen, video, avatar, ai, api, text-to-video
---

## When to use

Use this skill whenever you are dealing with HeyGen API code to obtain domain-specific knowledge for creating AI avatar videos, managing avatars, handling video generation workflows, and integrating with HeyGen's services.

## How to use

Read individual rule files for detailed explanations and code examples:

### Foundation
- [rules/authentication.md](rules/authentication.md) - API key setup, X-Api-Key header, and authentication patterns
- [rules/quota.md](rules/quota.md) - Credit system, usage limits, and checking remaining quota
- [rules/video-status.md](rules/video-status.md) - Polling patterns, status types, and retrieving download URLs
- [rules/assets.md](rules/assets.md) - Uploading images, videos, and audio for use in video generation

### Core Video Creation
- [rules/avatars.md](rules/avatars.md) - Listing avatars, avatar styles, and avatar_id selection
- [rules/voices.md](rules/voices.md) - Listing voices, locales, speed/pitch configuration
- [rules/scripts.md](rules/scripts.md) - Writing scripts, pauses/breaks, pacing, and structure templates
- [rules/video-generation.md](rules/video-generation.md) - POST /v2/video/generate workflow and multi-scene videos
- [rules/video-agent.md](rules/video-agent.md) - One-shot prompt video generation with Video Agent API
- [rules/dimensions.md](rules/dimensions.md) - Resolution options (720p/1080p) and aspect ratios

### Video Customization
- [rules/backgrounds.md](rules/backgrounds.md) - Solid colors, images, and video backgrounds
- [rules/text-overlays.md](rules/text-overlays.md) - Adding text with fonts and positioning
- [rules/captions.md](rules/captions.md) - Auto-generated captions and subtitle options

### Advanced Features
- [rules/templates.md](rules/templates.md) - Template listing and variable replacement
- [rules/video-translation.md](rules/video-translation.md) - Translating videos, quality/fast modes, and dubbing
- [rules/streaming-avatars.md](rules/streaming-avatars.md) - Real-time interactive avatar sessions
- [rules/photo-avatars.md](rules/photo-avatars.md) - Creating avatars from photos (talking photos)
- [rules/webhooks.md](rules/webhooks.md) - Registering webhook endpoints and event types
…

Ver todo o marketplace