Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

將純旁白(無主持人畫面)轉換為完成的無臉紀錄片/解說影片,支援 YouTube 16:9 和 Instagram 9:16 — 包含乾淨剪輯、導演規劃、事實查證、場景設計、音效與字幕。

ai-video-editor 是什麼?

這個 AI 技能專為創作者設計,能將一段純旁白音檔或文字腳本自動轉換成風格完整的「無臉」紀錄片或解說影片,適用於 YouTube 和 Instagram 等平台。它不僅進行基礎的影音剪輯,還會深度「導演」影片結構:分析敘事骨架(承諾、轉折、回報)、設計張力曲線、安排鉤子和互動節奏,確保影片在前 30 秒內留住觀眾。技能會自動對旁白中的聲明進行網路查證,擷取真實來源的螢幕截圖,並規劃由庫存影片、圖片、新聞截圖和純圖形動畫組成的場景腳本。此外,它還能設計配樂與音效、自動渲染、加上字幕與片尾。過程中設有「審核關卡」,在導演和場景規劃階段暫停,讓用戶確認方向,避免錯誤渲染浪費時間。支援多種音檔與腳本格式,並依賴 PEXELS_API_KEY 或 PIXABAY_API_KEY 取得素材。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SrigadaAkshayKumar/ai-video-editor/tree/HEAD/.claude/skills/edit-video-faceless

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

edit-video-faceless — 旁白 → 紀錄片

你是導演兼剪輯師。沒有人臉來撐起這部影片:每一秒的畫面、每一拍張力、以及每一個讓觀眾願意停留超過 30 秒的理由,都由你決定。將腳本視為素材,而非規格。請先閱讀 docs/lessons.md;技術細節(渲染、字幕、混音、最終處理、驗證)與 edit-video 相同——請閱讀其架構章節。

此處預設開啟審核關卡(教導此範本的設計發現,在導演階段重新導向影片遠比渲染後修改便宜):請在導演和場景階段後暫停並顯示給用戶。僅當使用者要求全程直接執行時,才跳過審核關卡。

0. 收件

使用者將腳本及其旁白以成對的方式放入 inbox/faceless/ 中 — script-1.txt(或 .md/.docx)和 script-1-audio.mp3(或 .wav/.m4a)— 並說「使用 script-1 和 script-1-audio」(可能寫成「/script-1」;請去除斜線)。執行 npm run inbox 可查看等待處理的檔案及其配對方式。

執行 npm run new -- script-1-audio --script script-1 --brief "<使用者的風格描述,照原樣引用>" [--lang te|hi|en](當命名為 <x> / <x>-audio 時,腳本會自動配對;專案以腳本名稱命名)。提示中的風格詞彙即為簡報 — 使用 edit-video 的「風格簡報 → 設定」對應表進行映射。除非使用者指定品牌或頻道(config/brands/、--brand、--intro/--outro),否則無需品牌或頻道。

腳本為事實來源(source/script.txt):它是旁白原本想要表達的內容。

  • 在執行任何其他操作之前,請完整閱讀它 — 這是你理解概念、論點和聲明的方式;導演(階段 2)是根據腳本加上音檔的實際表達來建構的。
  • transcribe 將口語詞彙對齊到腳本 → work/script-diff.md:額外的口語片段(重讀、假起頭、結巴、即興內容 — 應考慮剪掉的候選項目;對於讀了兩次的台詞,會列出較早的版本)、腳本中未曾說出的段落(告知使用者)、以及建議的字幕文字修正(語音辨識拼寫錯誤 → 腳本的拼寫;將其貼入 edl.json → textFixes,特別是名稱、泰盧固語或印地語詞彙)。
  • 腳本中的專有名詞會自動作為關鍵詞傳遞給語音轉文字系統。
  • 沒有腳本?告知使用者腳本有助於對齊和拼寫,然後僅從轉錄稿繼續處理。 需要一個 b-roll 金鑰(PEXELS_API_KEY 或 PIXABAY_API_KEY);如果沒有,則僅規劃圖形和靜態圖片場景,並事先說明。音樂/音效不需要金鑰。

1. 轉錄 + 乾淨剪輯

執行 npm run transcribe -- <p>,閱讀 work/script-diff.md,然後遵循乾淨剪輯技能的旁白規則:徹底剪掉靜音時段,保留重讀台詞的最後一個完整版本,剪掉朗讀瑕疵,在揭露前保留節奏停頓(0.35-0.55 秒),透過 EDL 中的 "holds" 實現,不要去除所有呼吸聲。在剪輯原因中註明對觀眾的修辭提問 — 它們將成為互動節奏。執行 npm run cut -- <p>。

2. 導演 — 最重要的階段 → work/direction.json

在寫任何東西之前,請完整閱讀乾淨的腳本(work/cleancut.transcript.md)。找出已經存在的元素:

  • 承諾 — 前 20 秒隱含承諾的內容;轉折 — 顯而易見的答案不再是答案的時刻(張力曲線的主幹);回報 — 觀眾最後知道的內容。無法用一句話陳述回報?將其放入 risks 並告知使用者。
{
  "logline": "…", "promise": "…", "turn": { "time": 7.9, "what": "…" }, "payoff": "…",
  "register": "investigative | explainer | cautionary | celebratory",
  "chapters": [ { "index": 0, "start": 0, "end": 46.2, "title": "THE CLAIM", "job": "…", "tension": 0.6, "grade": "cool" } ],
  "tension_curve": [ { "time": 0, "level": 0.6, "why": "…" } ],
  "hooks": [ { "time": 0, "kind": "cold_open|open_loop|payoff|hype", "note": "…" } ],
  "involvement": [ { "time": 132, "kind": "poll|direct_question", "question": "…", "options": ["A", "B"] } ],
  "research": [ { "claim": "…", "time": 151, "search": "…", "priority": "high|low" } ],
  "music": [ { "start": 0, "end": 46.2, "mood": "cold tension", "energy": "bed|build|drive|tense|release|sting" } ],
  "risks": [ "…" ]
}

不可協商的規定:

  • 張力是鋸齒狀,而非一個固定水平:每 60-90 秒至少有一個低谷(≤0.3);最高點在轉折處,而非結尾。張力來自腳本本身的材料(一個開放式問題、一個無法自圓其說的數字)— 絕不能透過在普通句子上添加紅色閃爍來製造。
  • 炒作是有代價的:每個章節最多一個 hype 鉤子,在解說章節中則不使用。
  • 每個開放的迴圈都有一個安排好的回報,否則就不要開啟它。
  • 互動:每部影片 2-4 次,切勿在前 25 秒內、切勿在轉折點上,且其答案必須是觀眾已被告知的內容。進度條是修辭手法,而非數據。
  • 研究清單 = 僅限真實、可查證的聲明(數字、日期、具名組織、引述)。無法找到來源的 → 放入 risks,無需螢幕截圖即可陳述。
  • 5-12 分鐘的影片安排 3-6 個章節;音樂跟隨張力曲線(背景音樂的變化本身就是一個事件 — 發生在轉折處,而非章節標題處);在最關鍵的台詞處規劃至少一個無音樂間隙。

審核關卡: 顯示標題行、章節及其任務、轉折點位置、曲線形狀、互動節奏、按優先級排列的研究清單,以及無法找到來源的項目。

3. 查證聲明

針對每個 research 條目:使用 WebSearch 尋找主要來源(最先報導該消息的媒體、部會/公司文件),優先於綜合報導。記錄確切的 URL、媒體名稱、發布時的標題、從頁面上讀取的日期(搜尋摘要中的日期可能不準確)。絕不虛構來源、修改標題,或將一篇文章關聯到另一個聲明。如果某項聲明無法找到來源 → 告知使用者,並改為規劃圖形場景。

4. 場景 + 動態圖形 → work/visual-plan.json(scenes + overlays + camera_moves)

使用動態圖形技能的詞彙與驗證規則。無臉影片的特殊要求:

  • scenes 從 0 開始連續到結尾(需驗證)。種類:broll(具體的視覺查詢 — 例如「伺服器機房 暗色」,絕非「機會」)、still(照片,套用 Ken Burns 效果)、news(包含 url、source、headline、date,可選的 highlight / highlight_portrait 矩形區域)、graphic(無影片素材 — 這是重點領域;第一優先,適用於數據、定義和重大陳述)。
  • 從一個 title_slide 開始,覆蓋在第一句旁白上(在畫面第 0 幀即可閱讀 — 絕不延遲旁白的出現)。如果影片較長,可增加 speed_hint 約 4-7 秒。
  • 前約 60 秒的剪輯速度是主體的兩倍:2-3 秒的場景,每句台詞一個視覺節奏;主體場景 4-9 秒,長度需有變化(連續三個 6 秒場景會造成單調)。超過約 12 秒畫面會失去活力。
  • 庫存影片絕不能看起來像是在描繪特定的實體或事件。 真實的聲明需要使用 news 場景或圖形場景。
  • 旁白中的每個數字都必須出現在畫面上(number_roll、stat_trio、bar_chart、progress_ring)。疊加層密度:約每 3-4 秒一個節奏;純文字類型的疊加層不得超過三分之一。
  • 絕不能在 news 場景上方添加重構框架疊加層(需驗證)— 這會將引用的文章縮小成縮圖。在新聞場景上只能使用 keyword_chip/side_note/annotation,且需遠離標題。
  • 在每個章節開頭使用 chapter_open;為每個投票節奏使用 poll_prompt;色調跟隨張力(≤0.3 中性/溫暖 · 0.3-0.6 冷色 · 0.6-0.85 冷色/黑色 · >0.85 黑色/火熱);flash 每部影片不超過 2 次。
  • 素材:執行 npm run broll -- search <p> "query" [--photos] → 閱讀縮圖,然後 get;執行 npm run news -- capture <p>(桌面版和手機版截圖)→ 閱讀每個 PNG 檔案(是否有 Cookie 牆?付費牆?404 錯誤?),根據所見內容設定 highlight;如果被封鎖,則在 Chrome 中擷取(claude-in-chrome:新分頁,拒絕非必要 Cookie,save_to_disk)並執行 npm run news -- adopt <p> <url> <png> [--portrait]。
  • 執行 npm run visuals -- <p> --check,然後在兩種格式下對不同場景種類執行 --stills 並閱讀它們。

審核關卡: 按種類顯示場景數量、平均場景長度、哪些聲明有真實的螢幕截圖(媒體名稱)、按家族分類的疊加層計數、以及任何為了誠實而降級為圖形場景的項目。

5. 聲音 → work/audio-plan.json

使用 sfx 和 bgm 技能。沒有背景音樂的無臉影片聽起來像幻燈片:規劃 3-5 種不同的情緒,一次只用一種背景音樂,在關鍵台詞處安排規劃好的靜音間隙,在回報台詞本身不使用音效。審核每個背景音樂(標題符合情緒、時長 ≥ 音樂開始時間 + 提示長度);你無法聽到它們—請告知使用者。

6. 渲染、字幕、最終處理、驗證、片尾

執行 npm run visuals → npm run scaffold → npm run mix → npm run finalize → npm run verify(閱讀兩個檢查清單:每個場景種類的一幀、拼接處、剪輯邊界的字幕)。output/credits.md 包含 SOURCES 區塊 — 當顯示新聞標題時,這是影片描述中必須包含的。

報告

輸出路徑;原始與最終時長以及剪掉的錄音次數;章節列表以及轉折點最終位置;按種類分類的場景;已找到來源的聲明(以及那些無法找到來源的);疊加層/音效數量;使用的背景音樂;你已驗證的項目以及需要使用者親自檢查的項目;片尾提醒。提供 /youtube-metadata 和 /youtube-thumbnail 選項。

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

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.

相關技能