Communitygithub.com

Aseel1600/Edit01

텍스트 프롬프트를 기반으로 여러 공급자 게이트웨이를 통해 AI 비디오를 생성합니다. 텍스트 설명으로 비디오 생성, 콘텐츠 제작을 위한 AI 비디오 클립 생성, 참조 이미지를 사용한 이미지-비디오 생성, 비디오 생성 공급자(VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni) 선택 등에 사용합니다. HeyGen API, fal.ai API, Kling 공식 직접 API, Gemini API(Gemini Omni Flash)를 지원합니다.

Edit01란 무엇인가요?

이 스킬은 네 가지 주요 게이트웨이(HeyGen API, fal.ai API, Kling 공식 직접 API, Gemini API)를 통해 여러 AI 비디오 생성 공급자에 접근할 수 있는 통합 인터페이스를 제공합니다. 각 게이트웨이는 고유한 환경 변수(예: `HEYGEN_API_KEY`, `FAL_KEY`, `KLING_API_KEY`, `GEMINI_API_KEY`)로 인증되며, VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni Flash 등 다양한 모델을 지원합니다. 특히 'video_selector' 도구를 사용하여 가용성, 비용 및 품질을 기반으로 최적의 공급자를 자동으로 선택하고, 시네마틱 의도가 있을 경우 Seedance 2.0을 우선시합니다. 또한, Gemini Omni Flash는 상태 저장 다중 턴 편집을 지원하여 기존 클립을 반복적으로 개선할 수 있습니다. 따라서 개발자는 이 스킬을 통해 텍스트-비디오, 이미지-비디오 생성 및 비디오 편집 작업을 효율적으로 수행할 수 있습니다.

지원 대상~Claude Code✓Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Aseel1600/Edit01/tree/HEAD/.agents/skills/ai-video-gen

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

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

문서

비디오 생성 (멀티 게이트웨이)

텍스트 프롬프트로 AI 비디오를 생성합니다. 네 가지 API 경로를 통해 여러 공급자를 지원합니다:

게이트웨이환경 변수공급자도구
fal.aiFAL_KEYSeedance 2.0 (표준 + 고속), Kling v3/v2.1, MiniMax, VEOseedance_video, kling_video, minimax_video, veo_video
HeyGenHEYGEN_API_KEYVEO 3.1, Kling Pro, Sora v2, Runway Gen-4, Seedance Pro / Lite (1.x)heygen_video
Kling 공식KLING_API_KEYKling 공식 Classic, Turbo 및 기본 Omni 비디오kling_official_video
Gemini APIGEMINI_API_KEY / GOOGLE_API_KEYGemini Omni Flash (생성 + 대화형 편집)gemini_omni_video

반복 편집 — Gemini Omni. 기존 클립을 재생성하는 것이 아니라 개선해야 하는 경우(객체 추가/제거, 스타일 변경, 조명 또는 화면 텍스트 변경), Gemini Omni Flash가 상태 저장 다중 턴 편집을 제공하는 유일한 공급자입니다. 프롬프트를 작성하기 전에 Layer 3 gemini-omni의 권위 있는 프롬프팅 가이드(참조 이미지 태그, 타임코드 구문, 편집 프롬프트 규칙)를 참조하세요.

권장 프리미엄 기본값 — Seedance 2.0. 프리미엄 게이트웨이가 구성된 경우(FAL_KEY → seedance_video 또는 HeyGen의 비디오 에이전트/아바타 샷 경로), Seedance 2.0은 시네마틱, 트레일러 및 고충실도 클립 작업에 권장되는 기본값입니다. 이 모델은 단일 패스 네이티브 동기화 오디오, 멀티 샷 생성, 감독 수준 카메라 제어 및 인용 대사에서의 립싱크를 제공하는 유일한 모델이며, 2026년 초 기준 Artificial Analysis Elo에서 1위를 차지했습니다. 사용자가 특정한 이유(예산, 공급자 선호도, VEO의 사실적인 풍경 또는 Kling의 특정 애니메이션 스타일 등)가 있는 경우에만 전환하세요. 프롬프트 및 매개변수 가이드는 Layer 3 seedance-2-0을 참조하세요.

중요: 항상 공급자 도구를 직접 호출하는 대신 video_selector를 사용하세요. 선택기가 가용성 확인, 비용 비교 및 자동 대체를 처리하며, 점수 엔진은 이미 시네마틱 의도에 대해 Seedance 2.0에 편향되어 있습니다.

인증

사용 가능한 공급자와 비용/품질 목표에 가장 잘 맞는 구성된 게이트웨이를 사용하세요.

  • HeyGen: HEYGEN_API_KEY를 설정하여 다중 모델 게이트웨이에 액세스합니다.
  • fal.ai: FAL_KEY를 설정하여 fal.ai를 통해 Kling, MiniMax 및 Veo에 액세스합니다.
  • Kling 공식: KLING_API_KEY를 설정하여 provider="kling_official"을 통해 Kling의 공식 직접 API에 액세스합니다.
  • Gemini API: GEMINI_API_KEY 또는 GOOGLE_API_KEY를 설정하여 Gemini Omni 비디오 생성 및 대화형 편집에 액세스합니다.

레지스트리와 현재 작업 적합성을 먼저 확인하지 않고 어떤 게이트웨이도 기본값 또는 최고 선택으로 설명하지 마세요.

fal.ai Kling(kling_video, provider="kling")과 Kling 공식(kling_official_video, provider="kling_official")은 다른 경로입니다. 공식 공급자가 선택된 경우 fal.ai 대기열 URL, FAL_KEY 또는 이미지 업로드 동작을 재사용하지 마세요.

curl -X POST "https://api.heygen.com/v1/workflows/executions" \
  -H "X-Api-Key: $HEYGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workflow_type": "GenerateVideoNode", "input": {"prompt": "해안 도시 위를 일몰에 비행하는 드론 샷"}}'

기본 워크플로우

  1. workflow_type: "GenerateVideoNode" 및 프롬프트를 사용하여 POST /v1/workflows/executions 호출
  2. 응답에서 execution_id 수신
  3. GET /v1/workflows/executions/{id}를 10초마다 폴링하여 상태가 completed가 될 때까지 대기
  4. 출력에서 반환된 video_url 사용

비디오 생성 실행

엔드포인트

POST https://api.heygen.com/v1/workflows/executions

요청 필드

필드유형필수설명
workflow_type문자열Y"GenerateVideoNode"여야 함
input.prompt문자열Y생성할 비디오에 대한 텍스트 설명
input.provider문자열비디오 생성 공급자 (기본값: "veo_3_1"). 아래 공급자 참조.
input.aspect_ratio문자열종횡비 (기본값: "16:9"). 일반적인 값: "16:9", "9:16", "1:1"
input.reference_image_url문자열이미지-비디오 생성을 위한 참조 이미지 URL
input.tail_image_url문자열마지막 프레임 가이드를 위한 테일 이미지 URL
input.config객체공급자별 구성 재정의

공급자

공급자값설명
VEO 3.1"veo_3_1"Google VEO 3.1 (기본값, 최고 품질)
VEO 3.1 고속"veo_3_1_fast"더 빠른 VEO 3.1 변형
VEO 3"veo3"Google VEO 3
VEO 3 고속"veo3_fast"더 빠른 VEO 3 변형
VEO 2"veo2"Google VEO 2
Kling Pro"kling_pro"Kling Pro 모델
Kling V2"kling_v2"Kling V2 모델
Sora V2"sora_v2"OpenAI Sora V2
Sora V2 Pro"sora_v2_pro"OpenAI Sora V2 Pro
Runway Gen-4"runway_gen4"Runway Gen-4
Seedance Lite"seedance_lite"Seedance Lite
Seedance Pro"seedance_pro"Seedance Pro
LTX Distilled"ltx_distilled"LTX Distilled (가장 빠름)

curl

curl -X POST "https://api.heygen.com/v1/workflows/executions" \
  -H "X-Api-Key: $HEYGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workflow_type": "GenerateVideoNode",
    "input": {
      "prompt": "골든 아워에 해안 도시 위를 비행하는 드론 샷, 시네마틱 조명",
      "provider": "veo_3_1",
      "aspect_ratio": "16:9"
    }
  }'

TypeScript

interface GenerateVideoInput {
  prompt: string;
  provider?: string;
  aspect_ratio?: string;
  reference_image_url?: string;
  tail_image_url?: string;
  config?: Record<string, any>;
}

interface ExecuteResponse {
  data: {
    execution_id: string;
    status: "submitted";
  };
}

async function generateVideo(input: GenerateVideoInput): Promise<string> {
  const response = await fetch("https://api.heygen.com/v1/workflows/executions", {
    method: "POST",
    headers: {
      "X-Api-Key": process.env.HEYGEN_API_KEY!,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      workflow_type: "GenerateVideoNode",
      input,
    }),
  });

  const json: ExecuteResponse = await response.json();
  return json.data.execution_id;
}

Python

import requests
import os

def generate_video(
    prompt: str,
    provider: str = "veo_3_1",
    aspect_ratio: str = "16:9",
    reference_image_url: str | None = None,
    tail_image_url: str | None = None,
) -> str:
    payload = {
        "workflow_type": "GenerateVideoNode",
        "input": {
            "prompt": prompt,
            "provider": provider,
            "aspect_ratio": aspect_ratio,
        },
    }

    if reference_image_url:
        payload["input"]["reference_image_url"] = reference_image_url
    if tail_image_url:
        payload["input"]["tail_image_url"] = tail_image_url

    response = requests.post(
        "https://api.heygen.com/v1/workflows/executions",
        headers={
            "X-Api-Key": os.environ["HEYGEN_API_KEY"],
            "Content-Type": "application/json",
        },
        json=payload,
    )

    data = response.json()
    return data["data"]["execution_id"]

응답 형식

{
  "data": {
    "execution_id": "node-gw-v1d2e3o4",
    "status": "submitted"
  }
}

상태 확인

엔드포인트

GET https://api.heygen.com/v1/workflows/executions/{execution_id}

curl

curl -X GET "https://api.heygen.com/v1/workflows/executions/node-gw-v1d2e3o4" \
  -H "X-Api-Key: $HEYGEN_API_KEY"

응답 형식 (완료)

{
  "data": {
    "execution_id": "node-gw-v1d2e3o4",
    "status": "completed",
    "output": {
      "video": {
        "video_url": "https://resource.heygen.ai/generated/video.mp4",
        "video_id": "abc123"
      },
      "asset_id": "asset-xyz789"
    }
  }
}

완료 폴링

async function generateVideoAndWait(
  input: GenerateVideoInput,
  maxWaitMs = 600000,
  pollIntervalMs = 10000
): Promise<{ video_url: string; video_id: string; asset_id: string }> {
  const executionId = await generateVideo(input);
  console.log(`비디오 생성 제출됨: ${executionId}`);

  const startTime = Date.now();
  while (Date.now() - startTime < maxWaitMs) {
    const response = await fetch(
      `https://api.heygen.com/v1/workflows/executions/${executionId}`,
      { headers: { "X-Api-Key": process.env.HEYGEN_API_KEY! } }
    );
    const { data } = await response.json();

    switch (data.status) {
      case "completed":
        return {
          video_url: data.output.video.video_url,
          video_id: data.output.video.video_id,
          asset_id: data.output.asset_id,
        };
      case "failed":
        throw new Error(data.error?.message || "비디오 생성 실패");
      case "not_found":
        throw new Error("워크플로우를 찾을 수 없음");
      default:
        await new Promise((r) => setTimeout(r, pollIntervalMs));
    }
  }

  throw new Error("비디오 생성 시간 초과");
}

사용 예제

간단한 텍스트-비디오

curl -X POST "https://api.heygen.com/v1/workflows/executions" \
  -H "X-Api-Key: $HEYGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workflow_type": "GenerateVideoNode",
    "input": {
      "prompt": "햇빛이 비치는 공원을 걷는 사람, 얕은 피사계 심도"
    }
  }'

이미지-비디오

{
  "workflow_type": "GenerateVideoNode",
  "input": {
    "prompt": "이 제품 사진을 천천히 확대하고 부드러운 입자 효과로 애니메이션화",
    "reference_image_url": "https://example.com/product-photo.png",
    "provider": "kling_pro"
  }
}

소셜 미디어용 세로 형식

{
  "workflow_type": "GenerateVideoNode",
  "input": {
    "prompt": "트렌디한 커피숍 내부, 카메라가 천천히 카운터 위를 패닝",
    "aspect_ratio": "9:16",
    "provider": "veo_3_1"
  }
}

LTX를 사용한 빠른 생성

{
  "workflow_type": "GenerateVideoNode",
  "input": {
    "prompt": "추상적인 다채로운 모양이 변형되고 흐르는",
    "provider": "ltx_distilled"
  }
}

모범 사례

  1. 프롬프트를 자세하게 작성 — 카메라 움직임, 조명, 스타일 및 분위기 세부 정보 포함
  2. FAL_KEY가 설정된 경우 시네마틱 및 움직임 중심 작업에는 Seedance 2.0(seedance_video 통해)을 기본값으로 — 단일 패스 동기화 오디오, 멀티 샷, 립싱크, 감독 수준 카메라. 사용자가 특별히 Google 또는 OpenAI 모션 캐릭터를 원할 경우 VEO 3.1 / Sora V2 Pro를 사용하고, 속도가 중요한 제약 조건인 경우에만 ltx_distilled 또는 veo3_fast 사용
  3. 참조 이미지 사용 — 이미지-비디오 생성에 유용하며, 제품 사진이나 정지 이미지에 애니메이션 효과를 주기에 좋음
  4. 비디오 생성은 가장 느린 워크플로우 — 최대 5분 허용, 10초마다 폴링
  5. 종횡비가 중요 — 소셜 미디어 스토리/릴에는 9:16, 가로에는 16:9, 정사각형에는 1:1 사용
  6. 출력에는 asset_id 포함 — 생성된 비디오를 다른 HeyGen 워크플로우에서 참조하는 데 사용
  7. 출력 URL은 임시 — 생성된 비디오는 즉시 다운로드하거나 저장

Individual skills in this repo

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

Aseel1600/Edit01

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

Aseel1600/Edit01

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

Aseel1600/Edit01

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

Aseel1600/Edit01

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".

Aseel1600/Edit01

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.

Aseel1600/Edit01

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.

Aseel1600/Edit01

Generate expressive, multilingual narration with fish.audio (S1 / S2-generation models) and reuse cloned voices via reference_id. Use when the user prefers fish.audio/Fish Audio TTS, wants a specific playground voice model, or needs high-emotion voice-clone narration.

Aseel1600/Edit01

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

Aseel1600/Edit01

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.

Aseel1600/Edit01

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`).

Aseel1600/Edit01

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.

Aseel1600/Edit01

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`.

Aseel1600/Edit01

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.

Aseel1600/Edit01

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).

Aseel1600/Edit01

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.

Aseel1600/Edit01

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.

Aseel1600/Edit01

Best practices for Remotion - Video creation in React

Aseel1600/Edit01

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.

Aseel1600/Edit01

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.

Aseel1600/Edit01

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

관련 스킬