Communitygithub.com

마이챗 AI 아바타 비디오

HeyGen의 v2 API를 사용하여 아바타, 음성, 스크립트, 장면, 배경을 정밀하게 제어하는 AI 아바타 비디오를 제작합니다.

마이챗 AI 아바타 비디오란 무엇인가요?

이 스킬은 HeyGen API(v2)를 기반으로 AI 아바타 비디오를 제작할 수 있는 강력한 도구입니다. 개발자와 AI 에이전트 사용자가 비디오의 모든 측면(아바타 선택, 음성 지정, 스크립트 작성, 장면별 배경 설정)을 정밀하게 제어할 수 있습니다. 단일 장면 비디오부터 여러 장면으로 구성된 복잡한 비디오, 투명 WebM 합성 비디오, 사진 기반 아바타(토킹 포토)까지 다양한 포맷을 지원합니다. 또한 Remotion과 통합하여 프로그래매틱 방식으로 비디오를 생성하거나, 웹훅을 통해 비동기 작업을 처리할 수 있습니다. 이 스킬은 '비디오에 대한 아이디어만 설명'하는 간단한 경우보다는, 특정 아바타와 정확한 스크립트가 필요한 상황(예: 브랜드 일관성이 중요한 프로덕션 비디오, 배치 생성)에 최적화되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/9018/mychat/tree/HEAD/OpenMontage/.agents/skills/avatar-video

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

아바타 비디오

HeyGen의 /v2/video/generate API를 사용하여 아바타, 음성, 스크립트, 장면, 배경을 완벽하게 제어하는 AI 아바타 비디오를 만듭니다. 단일 장면 또는 여러 장면 비디오를 정확한 구성으로 제작할 수 있습니다.

인증

모든 요청에 X-Api-Key 헤더가 필요합니다. HEYGEN_API_KEY 환경 변수를 설정하세요.

curl -X GET "https://api.heygen.com/v2/avatars" \
  -H "X-Api-Key: $HEYGEN_API_KEY"

도구 선택

HeyGen MCP 도구(mcp__heygen__*)를 사용할 수 있다면, 직접 HTTP API 호출보다 MCP 도구를 선호하세요. MCP 도구는 인증과 요청 형식을 자동으로 처리합니다.

작업MCP 도구대안 (직접 API)
비디오 상태 확인 / URL 가져오기mcp__heygen__get_videoGET /v2/videos/{video_id}
계정 비디오 목록 보기mcp__heygen__list_videosGET /v2/videos
비디오 삭제mcp__heygen__delete_videoDELETE /v2/videos/{video_id}

비디오 생성(POST /v2/video/generate)과 아바타/음성 목록 조회는 직접 API 호출을 통해 수행합니다. 아래 참조 파일을 확인하세요.

기본 워크플로우

  1. 아바타 목록 보기 — GET /v2/avatars → 아바타 선택, 미리보기, avatar_id와 default_voice_id 확인. avatars.md 참조
  2. 음성 목록 보기(필요시) — GET /v2/voices → 아바타의 성별/언어와 일치하는 음성 선택. voices.md 참조
  3. 스크립트 작성 — 각 장면을 하나의 개념으로 구성. scripts.md 참조
  4. 비디오 생성 — POST /v2/video/generate에 아바타, 음성, 스크립트, 장면별 배경 포함. video-generation.md 참조
  5. 완료 확인 — GET /v2/videos/{video_id}로 상태가 completed가 될 때까지 폴링. video-status.md 참조

빠른 참조

작업읽을 문서
아바타 목록 및 미리보기avatars.md
음성 목록 및 선택voices.md
스크립트 작성 및 구성scripts.md
비디오 생성 (단일/다중 장면)video-generation.md
사용자 정의 배경 추가backgrounds.md
캡션/자막 추가captions.md
텍스트 오버레이 추가text-overlays.md
투명 WebM 비디오 생성video-generation.md (WebM 섹션)
템플릿 사용templates.md
사진으로 아바타 생성photo-avatars.md
비디오 상태 확인 / 다운로드video-status.md
에셋 업로드 (이미지, 오디오)assets.md
Remotion과 함께 사용remotion-integration.md
웹훅 설정webhooks.md

이 스킬을 사용해야 하는 경우 vs Create Video 스킬

이 스킬은 정밀한 제어가 필요할 때 사용합니다. 즉, 사용자가 아바타를 직접 선택하고, 정확한 스크립트를 작성하며, 각 장면을 구성할 수 있습니다.

사용자가 단순히 비디오 아이디어를 설명하고 AI가 나머지(스크립트, 아바타, 시각적 요소)를 처리하길 원한다면 create-video 스킬을 대신 사용하세요.

사용자 발화Create Video 스킬이 스킬
"X에 관한 비디오 만들어줘"✓
"제품 데모 만들어줘"✓
"Y 아바타가 정확히 Z라고 말하게 해줘"✓
"각 장면 배경이 다른 멀티 장면 비디오"✓
"합성용 투명 WebM"✓
"내 스크립트에 이 특정 음성을 사용해줘"✓
"정확한 사양으로 비디오 배치 생성"✓

참조 파일

핵심 비디오 생성

비디오 사용자 정의

고급 기능

통합

기초

모범 사례

  1. 비디오 생성 전에 아바타 미리보기 — preview_image_url을 다운로드하여 사용자가 아바타를 확인한 후 결정할 수 있도록 합니다.
  2. 아바타의 기본 음성 사용 — 대부분의 아바타에는 자연스러운 결과를 위해 미리 매칭된 default_voice_id가 있습니다.
  3. 대안: 수동 성별 매칭 — 기본 음성이 없으면 아바타와 음성의 성별이 일치하는지 확인합니다.
  4. 개발 시 테스트 모드 사용 — test: true로 설정하여 크레딧을 소모하지 않습니다(출력물에 워터마크가 표시됨).
  5. 넉넉한 타임아웃 설정 — 비디오 생성은 보통 5-15분, 때로는 더 오래 걸립니다.
  6. 입력값 검증 — 생성 전에 아바타와 음성 ID가 존재하는지 확인합니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

9018/mychat

Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).

9018/mychat

Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.

9018/mychat

Review local character animation with schema checks, Playwright browser previews, frame sampling, and FFmpeg/ffprobe final output checks.

9018/mychat

Create videos from a text prompt using HeyGen's Video Agent. Use when: (1) Creating a video from a description or idea, (2) Generating explainer, demo, or marketing videos from a prompt, (3) Making a video without specifying exact avatars, voices, or scenes, (4) Quick video prototyping or drafts, (5) One-shot prompt-to-video generation, (6) User says "make me a video" or "create a video about X".

9018/mychat

Generate Mandarin and multilingual narration with Volcengine Doubao Speech 2.0. Use when creating Chinese voiceovers, when the user prefers Doubao/Volcengine/火山引擎/豆包 TTS, or when narration needs character-level timestamp metadata for subtitles.

9018/mychat

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

9018/mychat

Use when implementing Disney's 12 animation principles with Framer Motion in React applications

9018/mychat

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). HyperFrames-native: single paused timeline, seek-safe, deterministic.

9018/mychat

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

9018/mychat

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

9018/mychat

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

9018/mychat

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

9018/mychat

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

9018/mychat

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (website-to-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

9018/mychat

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

9018/mychat

Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the `remotion-official` skill.

9018/mychat

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

9018/mychat

Animate SVG character rigs with GSAP, CSS transforms, Remotion frame control, and HyperFrames-compatible browser previews.

9018/mychat

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

9018/mychat

Download video and audio from YouTube and 1000+ sites using yt-dlp. No API keys needed. Use when: (1) Downloading a video from YouTube or other sites, (2) Extracting audio from a video URL, (3) Downloading subtitles/captions from a video, (4) Getting video metadata without downloading.

관련 스킬