Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

단어-동기화된 자막을 생성하고 스타일링합니다(텔루구어, 힌디어, 영어, 코드-혼합). HyperFrames 자막이 각 형식의 Remotion 이미지를 통과하면서 자막 텍스트를 수정하고, 화면상 텍스트 아래에 검은색 자막을 덮으며, 모든 컷 조인에서 자막 내용을 확인합니다. 자막을 생성, 재스타일링, 수정 또는 재배치할 때 사용하세요.

ai-video-editor란 무엇인가요?

이 스킬은 AI 비디오 에디터를 위한 자동 자막 생성 및 스타일링 도구입니다. 주어진 단어 목록(cleancut.words.json)을 기반으로 여러 형식(9:16, 16:9)에 맞는 자막 HTML을 생성하며, 각 형식별로 최대 단어 수, 위치, 스타일(pop, clean, karaoke)을 설정할 수 있습니다. 자막은 Remotion과 충돌하지 않도록 설계되어 있으며, 브랜드 색상(accent)과 대문자 사용을 통해 일관된 브랜드 룩을 유지합니다. 텍스트 수정은 소스 데이터(edl.json)에서만 가능하며, 자막 블랙아웃 기능을 통해 화면상 텍스트와 중복을 방지합니다. 주요 플랫폼으로는 Claude Code, Cursor, Codex와 같은 AI 어시스턴트와 함께 사용되며, npm 명령어를 통해 간단히 실행할 수 있습니다. 이 스킬은 특히 Telugu, Hindi, English 및 코드-혼합 자막을 지원하고, Noto Sans Telugu, Devanagari, Poppins 폰트를 내장하여 시스템 폰트에 의존하지 않습니다.

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

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

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

문서

자막

npm run captions -- <p> [--format 9:16] [--style pop|clean|karaoke] [--max-words N] [--position bottom|middle] [--accent "#hex"] [--uppercase]

모든 형식(또는 --format으로 지정된 형식만)에 대해 work/cleancut.words.json(이미 깨끗한 컷 타임라인에 있음)에서 edit-<fmt>/compositions/captions.html을 작성합니다. style, accent 및 uppercase는 모든 형식에서 공유됩니다(하나의 브랜드 룩). max-words와 position은 형식별로 설정하며 --format과 함께 전달합니다. 모든 설정은 project.json → captions에 저장되므로 플래그 없이 다시 실행해도 유지됩니다. 스캐폴드는 이미 자막을 마운트합니다(<div id="captions" … data-track-index="4">).

기본값: 두 형식 모두 하단 밴드 — 16:9 5단어, 64px · 9:16 3단어, y≈1348에서 76px, Instagram 안전 영역 내. Remotion 그래픽은 이 밴드(remotion/src/doc/theme.ts의 CAPTION_SAFE_Y)를 정확히 피하므로 자막과 그래픽이 설계상 충돌하지 않습니다.

npm run scaffold -- <p>는 work/visuals-<fmt>.mp4 위에 자막 패스를 빌드하고 자막을 생성합니다. npm run captions만 다시 실행하여 스타일을 변경할 수 있습니다.

스타일 선택

콘텐츠스타일그룹당 단어 수
쇼츠 / 릴스, 에너제틱, 후크pop (흰색, 두꺼운 외곽선, 강조 색상의 활성 단어, 단어 바운스)2–3
교육 / 인터뷰 / 긴 형식clean (어두운 알약, 활성 단어에 강조 색상)4–6
스토리 / 차분함 / 음악 중심karaoke (단어가 발화됨에 따라 어두움 → 흰색 채움)3–5

강조 색상 = 브리프의 브랜드 색상, 기본값은 #FFD400. 영어 전용 비디오에서만 --uppercase를 사용하세요(인도 스크립트에는 효과 없음).

텍스트 수정

생성된 HTML을 직접 편집하지 마세요. 소스에서 단어를 수정하세요:

  • work/edl.json에 "textFixes": { "<raw word id>": "Correct" }를 추가하고 npm run cut을 다시 실행한 다음 npm run scaffold (새로고침) — raw id는 work/cleancut.words.json의 src 필드입니다.
  • 일반적인 수정 사항: 브랜드/사람 이름, 사용자가 라틴 문자를 원할 때 ASR이 텔루구어/데바나가리 문자로 쓴 영어 단어(또는 그 반대), 컷 후 문장 시작 부분의 대소문자, 숫자(ఇరవై → 20 가독성이 더 좋을 때).

스크립트 및 폰트

텔루구어(Noto Sans Telugu), 데바나가리(Noto Sans Devanagari) 및 라틴(Poppins) 폰트는 각 edit-<fmt>/assets/fonts/에 woff2로 제공되며 index.html과 자막 템플릿 모두에 선언되어 있습니다 — 렌더러에는 시스템 폰트가 없습니다. 새 폰트를 추가하는 경우 로컬 woff2와 함께 자체 @font-face가 필요합니다. 그렇지 않으면 font_family_without_font_face lint 오류가 발생합니다.

인도어 단어는 깁니다: 9:16에서는 --max-words ≤ 3으로 유지하세요. 생성기는 그룹당 문자 수도 제한합니다.

블랙아웃

카드가 이미 단어를 표시할 때(sample_answer, 읽고 있는 전체 화면 인용문) work/visual-plan.json에 "caption_blackouts": [{ "start", "end" }]를 추가하고 npm run captions을 다시 실행하세요. 내부 단어는 삭제되며 구멍이 생기면 자막 그룹이 종료되므로 카드에 걸쳐 있는 줄이 없습니다(템플릿의 "구멍 앞 단어 + 구멍 뒤 단어" 쓰레기 줄).

조인 확인

npm run verify -- <p>는 모든 컷 직후의 프레임을 가져옵니다. 시트를 읽으세요: 각 자막은 한 문장의 실제 조각이어야 합니다. 한 줄에 서로 다른 두 테이크의 접합은 콘텐츠 버그로, 어떤 린터도 감지하지 못합니다. 한 번에 하나의 자막 그룹만 표시되며 그룹은 짧은 일시 정지를 통해 유지되고 절대 겹치지 않습니다.

npm run captions는 단계가 완료되었음을 표시합니다.

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

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

End-to-end editor for TALKING-HEAD videos (a person on camera) in this repo. Use when the user hands over a raw video with a speaker and wants a finished edit, or asks to continue/resume/redo any stage of an existing talking-head project — clean cut, motion graphics, b-roll, SFX, music, captions, final render, thumbnail. Delivers YouTube 16:9 and Instagram 9:16. Telugu, Hindi, English and code-mixed speech. For a voiceover with no presenter use edit-video-faceless.

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.

관련 스킬