Communitygithub.com

edit-video: 토킹헤드 원본을 완성된 YouTube 편집본으로

카메라를 보고 말하는 원본 영상을 YouTube 16:9와 Instagram 9:16 완성본으로 편집하는 에이전트 스킬. 전사, 클린 컷, 모션 그래픽, B-roll, 효과음, 선택적 배경음악, 단어 단위 자막, -14 LUFS 마스터링, 최종 검증까지. 영어·힌디어·텔루구어 및 혼용 발화 지원.

edit-video: 토킹헤드 원본을 완성된 YouTube 편집본으로란 무엇인가요?

YouTube 에피소드 레시피 1단계(편집), SrigadaAkshayKumar/ai-video-editor(2026-10-09 공개; README에 완성본 16:9 컨택트 시트가 있고, GitHub Actions에서 매일 돌아가는 얼굴 없는 채널 파이프라인을 설명함). 원본을 inbox/talking/에 넣고 "video-1 빠르고 경쾌하게 편집해줘"라고 하면 됩니다. 에이전트가 스타일 표현을 설정으로 바꾸고, 전사(영어는 Whisper, 텔루구어·힌디어는 ElevenLabs), 다시 말하기·말 더듬기·공백을 지우는 클린 컷, 6가지 화면 레이아웃과 28가지 모션 그래픽에 B-roll을 더한 비주얼 플랜을 작성합니다. Remotion으로 화면을 렌더링하고 HyperFrames로 단어 단위 자막을, ffmpeg로 효과음과 선택적 CC0 음악을 믹스해 -14 LUFS로 마스터링한 뒤 길이, 라우드니스, 정지 프레임, 모든 컷 지점을 검증합니다. 모든 결정은 JSON에 저장되어 어느 단계든 다시 할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SrigadaAkshayKumar/ai-video-editor/tree/HEAD/.claude/skills/edit-video

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

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

문서

edit-video — talking head → final-16x9.mp4 + final-9x16.mp4

당신은 편집자입니다. tools/의 도구들은 기계적인 작업을 수행합니다; 모든 편집 결정은 당신이 내리며, 파일(work/edl.json, work/visual-plan.json, work/audio-plan.json)에 보관하여 어떤 단계든 다시 실행할 수 있습니다. 세션당 한 번 docs/lessons.md를 읽으십시오 — 그곳의 모든 규칙은 깨진 렌더링으로 인해 얻어진 것입니다.

아키텍처 (이러한 형태를 가진 이유)

raw ─ transcribe ─ cut ─┬─ work/cleancut.mp4 ──────────────┐
                        │                                    │ (대화)
       visual-plan.json ┴─ Remotion `Doc` (음소거) ×2 포맷    │
                             └─ HyperFrames 자막 패스 ×2       │
       audio-plan.json ─────────────── tools/mix.mjs ◄───────┘ → work/mix.wav (한 번)
                                                     finalize: 화면 + -14 LUFS 마스터 + 인트로/아웃트로
  • Remotion은 전체 화면을 그립니다: 6가지 스테이지 레이아웃(전체 / 도크 왼쪽 / 도크 오른쪽 / 밴드 / 코너 / 테이크오버) 중 하나의 A-롤, 28가지 모션 그래픽 유형, B-롤 컷어웨이, 카메라 무브, 챕터 레일.
  • HyperFrames는 단어 수준의 자막만 그립니다(브라우저 셰이핑으로 텔루구어/데바나가리가 올바르게 렌더링됨).
  • ffmpeg는 모든 오디오를 처리합니다: 어떤 렌더링에도 <audio> 태그 없음 — 이 리포지토리가 상속받는 템플릿에서 임베딩 시 대화가 반복적으로 손상되었습니다.
  • 두 포맷 모두 하나의 클린 컷 타임라인, 하나의 시각 계획 및 하나의 믹스를 공유합니다.

단계

#단계도구기술 / 참고사항
0수집`npm run new -- --brief "…" [--lang tehi
1전사npm run transcribe -- <p>영어 → whisper (무료) · 텔루구어/힌디어 → ElevenLabs
2클린 컷npm run cut -- <p> [--dry-run]clean-cut 기술. 가장 중요한 단계.
3시각 계획work/visual-plan.json 작성; npm run visuals -- <p> --check; --stills t1,t2motion-graphics 기술
4B-롤`npm run broll -- searchget`
5화면 렌더링npm run visuals -- <p>포맷당 비디오 1분당 약 1~2분
6자막npm run scaffold -- <p> (+ npm run captions -- <p> --style …)captions 기술
7오디오 계획work/audio-plan.json 작성; npm run sfx -- list; `npm run bgm -- searchget; npm run mix -- `
8마무리npm run finalize -- <p>린트, 렌더링, 마스터링, 인트로/아웃트로, output/credits.md
9검증npm run verify -- <p> → work/verify-*/sheet.jpg 두 개 모두 읽기절대 건너뛰지 마세요
10패키징youtube-metadata, youtube-thumbnail 기술마지막에 제공

npm run status로 진행 상황을 확인할 수 있습니다. 재컷 후: node tools/retime.mjs <p>는 두 계획을 새 타임라인(이전 clean → raw → 새 clean)으로 옮기고, 컷된 순간이 있는 항목을 나열합니다.

실행 방법

  1. 수집. 사용자가 클립을 inbox/talking/에 넣고 프롬프트에서 이름을 지정합니다("edit video-1 …", "/video-1"로 작성될 수 있음 — 슬래시 제거). npm run inbox는 대기 중인 항목을 나열합니다. npm run new -- video-1 --brief "<사용자의 스타일 단어, 그대로>" (+ 언어를 말했다면 --lang, 이름/브랜드에 대해 --keyterms). 프롬프트의 스타일 지침이 brief입니다 — 계획 전에 설정에 매핑하십시오("스타일 brief → 설정" 참조). 프롬프트가 이미 답변한 것은 묻지 마세요. 브랜드/채널: 기본값 없음 — 이 리포지토리는 여러 클라이언트를 위해 편집합니다. 사용자가 누구의 비디오인지 말할 때만 config/brands/<slug>.json을 로드하고(또는 사용자가 제공한 정보로 생성), --brand를 전달하고, 사용자가 요청하면 inbox/brand/의 --intro/--outro 클립을 추가하세요.
  2. 전사, 그런 다음 work/transcript.md를 처음부터 끝까지 읽으세요. 헤더의 engine과 language를 확인하세요.
  3. 클린 컷 — clean-cut 지침을 정확히 따르세요. 경계 검토 및 취약 단어 출력을 포함합니다.
  4. work/cleancut.transcript.md(클린 컷 시간)에서 시각 계획을 세우세요. 계획을 작성하고, --check로 검증하세요(각 구성 요소의 필수 필드를 확인합니다 — 템플릿의 가장 흔한 조용한 결함), 수정한 후, 6-10개의 흥미로운 시간에 --stills를 렌더링하고 전체 렌더링 전에 두 포맷 모두에서 읽으세요. 프레이밍: 9:16에서 화자가 중앙에서 벗어난 경우 "framing": {"9:16": "40% 45%"}를 설정하세요.
  5. 화면 렌더링, 자막 스캐폴딩, 오디오 계획 및 믹싱, 마무리, 검증을 수행하세요.
  6. 보고: 두 출력 경로; raw → clean 지속 시간 및 잘린 내용(이유별); 오버레이/B-롤/SFX 개수; 사용된 음악; 취약하거나 불확실한 사항; 설명에 반드시 포함되어야 하는 크레딧; 그리고 믹스를 들을 수 없다는 점을 솔직히 말하고 — 사용자에게 조인, 배경 레벨 및 덕킹을 확인해 달라고 요청하세요. /youtube-metadata 및 /youtube-thumbnail을 제공하세요.

스타일 brief → 설정

사용자의 단어를 구체적인 선택으로 변환하고 계획 전에 한 줄로 명시하세요:

사용자 말설정
빠른 / 에너지 넘치는 / 릴스 / 펀치감 있는keepPauseMax 0.25, 자막 pop 2-3단어, 2-4초마다 비트, 카메라 펀치, 구조에 서브밴드 SFX
차분한 / 전문적인 / 다큐멘터리 / 장편keepPauseMax 0.4-0.5, 자막 clean 4-6단어, 6-10초마다 비트, SFX 적게, 부드러운 배경음
미니멀 / 깔끔 / 군더더기 없는오버레이 적게(필요한 경우에만 텍스트 마크), 마키/글리치 없음, clean 자막 또는 없음
대담한 / 프리미엄 / 뉴스 / 에디토리얼--style broadcast, 고대비 포인트
스토리텔링 / 감성적인karaoke 자막, piano/cinematic 배경음, 핵심 대사에 음악 간격
"음악 없음" / "SFX 없음" / "자막 없음" / "B-롤 없음"정확히 존중; 해당 단계 건너뛰기
(음악 언급 없음)BGM 없음 — 사용자가 프롬프트 시작 부분에서 음악 추가 여부를 말함; 기본값은 없음. 추가 시: CC0만(--cc0) 사용하고 SFX가 배경음 위에 명확히 들려야 함
색상("노란색 사용", hex)자막 --accent, 오버레이 section 악센트/브랜드

brief에서 특이한 사항이 있으면 이러한 기본값을 재정의합니다. project.json.brief에 brief을 보관하여 나중에 재편집할 때 동일한 스타일을 따르도록 합니다.

검토 게이트

기본값: 바로 진행하고 보고합니다. 사용자가 체크포인트를 요청하면(또는 project.json.review가 "stages"인 경우), 클린 컷 후, 시각 계획 후(스틸 표시), 오디오 계획 후에 멈춥니다. 요청된 변경 사항은 해당 단계의 새로운 기준이 되며, 수정하고 동일한 단계를 다시 보여줍니다.

규칙

  • 모든 계획 시간은 클린 컷 타임라인 기준입니다; EDL 시간은 raw 기준입니다.
  • 오버레이 텍스트는 기본적으로 짧은 영어입니다(원어 스크립트는 자막에 있음). 단, brief에 다른 지시가 있는 경우는 예외입니다.
  • 생성된 파일(compositions/captions.html, work/props-*.json)을 수동으로 편집하지 마세요 — 다시 생성하세요.
  • .env의 키: ELEVENLABS_API_KEY(텔루구어/힌디어), PEXELS_API_KEY 또는 PIXABAY_API_KEY(B-롤). 키가 없으면 중단하고 정확히 어떤 키인지, 그리고 C:\AI-edits\.env에 넣어야 한다고 말하세요.
  • Windows: Write 도구로 JSON을 작성하세요(PowerShell은 인라인 JSON을 망가뜨리고; Out-File/Set-Content는 BOM을 추가함 — 도구는 JSON에서 이를 허용하지만, 절대 코드 파일을 그런 식으로 작성하지 마세요).
  • 사용자가 최종 결과를 확인하면 정리: render/, work/visuals-*.mp4, work/captioned-*, work/stills-*, work/verify-*는 다시 생성 가능합니다. output/, work/*.json, assets/를 유지하세요.

Individual skills in this repo

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

SrigadaAkshayKumar/ai-video-editor

Turn a finished AI-edits video (projects/<p>, or several parts of one long video) into YouTube Shorts. Reuses the edit's word timestamps, reads the whole transcript, picks self-contained dialog moments, adds text hooks + comment prompts, renders 9:16 clips with Remotion. Use when the user asks to clip/make shorts from an edited project or a long video.

SrigadaAkshayKumar/ai-video-editor

Choose, fetch and place background music for an edit — Openverse search (commercial-use CC, or CC0-only), music_cues in work/audio-plan.json with fades, offsets and a deliberate silence gap; tools/mix.mjs conditions every bed, sets it to one measured house level under the voice and sidechain-ducks it. Use when adding, swapping or re-levelling music.

SrigadaAkshayKumar/ai-video-editor

Generate and style word-synced captions (Telugu, Hindi, English, code-mixed) as the HyperFrames captions pass over each format's Remotion picture, fix caption text, black captions out under on-screen text, and check caption content at every cut join. Use when creating, restyling, correcting or repositioning captions in any edit.

SrigadaAkshayKumar/ai-video-editor

Editorial rules for turning a raw talking video or voiceover into a clean cut — removing retakes, repetitions, false starts, stutters, fillers, mispronounced words, contradictions/inconsistencies, off-script chatter and dead air — by writing work/edl.json for tools/cut.mjs. Telugu, Hindi, English and code-mixed speech. Use for stage 2 of edit-video or whenever the user asks to tighten/re-cut a video.

SrigadaAkshayKumar/ai-video-editor

Turns a bare voiceover (no presenter on camera) into a finished faceless documentary/explainer for YouTube 16:9 and Instagram 9:16 — clean-cuts the narration, DIRECTS it (story spine, tension curve, hooks, involvement beats), researches the claims and screenshots the real sources, plans a scene track (stock b-roll, stills, news screenshots, pure-graphic beats) with motion graphics, designs music + SFX, renders, captions and credits it. Use when the user gives a voiceover/narration file (or says "faceless video", "make a video from this VO", "documentary").

SrigadaAkshayKumar/ai-video-editor

Plan the picture of an edit in work/visual-plan.json — motion graphics (28 component types across six stage layouts that dock/shrink/dim the video), b-roll cutaways from Pexels/Pixabay, camera moves, a-roll framing for 9:16 — validate it, QA it with stills in both formats, and render it with Remotion. Use for any titles, charts, stats, lower thirds, diagrams, b-roll or zooms in a talking-head or faceless edit.

SrigadaAkshayKumar/ai-video-editor

Design the sound effects of an edit in work/audio-plan.json sfx_events — which effect, where, how often — using the measured SFX library (repo assets/sfx, HyperFrames' bundled set, CC0 fetches from Openverse) and the spectral rule that sub-band cues carry structure while vocal-band cues are rationed. Mixed and levelled by tools/mix.mjs. Use when adding or adjusting SFX in any edit.

SrigadaAkshayKumar/ai-video-editor

Write the upload package for a video this repo edited — YouTube title options, description with chapters, tags, pinned comment, thumbnail text, and the Instagram Reels caption + hashtags for the 9:16 cut — optimised for whichever channel/client the user says it is for (config/brands/ profiles, only when named). Use when the user asks what to title a video, for a description, tags, chapters, "the YouTube metadata", an Instagram caption, or SEO/CTR advice on a finished render.

SrigadaAkshayKumar/ai-video-editor

Design and build a high-CTR thumbnail for a video this repo edited — hook selection, the real face frame pulled from the footage, background cut-out, type set with real fonts (Telugu/Devanagari included), the YouTube 1280x720 thumbnail and the Instagram 1080x1920 cover, an optional image-generation prompt for the background layer, and a feed-size legibility check. Use when the user asks for a thumbnail, thumbnail ideas, a cover image, or how to make the thumbnail more clickable.

관련 스킬