Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

設計並製作高點擊率(CTR)的 YouTube 縮圖與 Instagram 封面——包含鉤子選擇、真實人臉擷取、背景去背、支援泰盧固語/天城文的字體排版、1280x720 與 1080x1920 尺寸輸出,以及資訊流可讀性檢查。

ai-video-editor 是什麼?

此技能專為 AI 影片編輯工具設計,能自動化生成高點擊率的 YouTube 縮圖與 Instagram Reels 封面。其核心價值在於解決影像生成模型的兩大痛點:無法產生創作者的真實臉孔,以及無法正確排版文字(尤其是非拉丁字母如泰盧固語)。技能採用分層合成策略,先從原始影片中擷取真實人臉並進行去背,再疊加可選的 AI 生成背景或純色漸層,最後使用真實字體進行精確排版,確保每一張縮圖都具備個人辨識度與專業質感。 技能支援 Claude Code、VS Code Cursor、Codex CLI 等命令列或 IDE 整合的 AI 代理平台。它會自動讀取影片的逐字稿與視覺規劃 JSON,從中找出最佳的鉤子(hook)作為縮圖文案,並根據章節強調色或品牌色選擇配色。處理流程包含人臉影格提取、去背檢查、背景生成提示撰寫、渲染輸出與資訊流預覽檢驗,最後產生 1280x720 的 YouTube 縮圖與 1080x1920 的 Instagram 封面。此外,技能內建嚴格的職業倫理規範,禁止偽造文件、浮誇圖示或誤導性元素,確保縮圖的可靠性與專業形象。

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

在你喜歡的 AI 中提問

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

說明文件

縮圖(與 Reels 封面)

決定一切的規則

影像模型無法產生創作者的真正臉孔,也無法設定文字(它會搞亂拉丁字母,且完全無法正確呈現泰盧固語的連字)。生成的「戴眼鏡印度男子」是一個陌生人,而在個人頻道上出現陌生人會破壞辨識度。因此,每個縮圖都是圖層:

  1. 臉部——從影片中擷取的真實影格,去除背景;
  2. 背景/圖形——可為生成、影片影格或純色強調漸層;
  3. 文字——由 tools/thumbnail.mjs render 使用真實字體設定。 無臉影片:省略臉部圖層,使用圖形/靜態背景加上文字。

1. 先閱讀影片(絕不要問內容是什麼)

請讀取 work/cleancut.transcript.md、work/visual-plan.json(其中的 big_statement 已經是重點——最佳的那個通常就是縮圖文案;chapter_open 是各章節)、若 youtube-metadata 技能已執行則包含標題(縮圖要補足標題,而非重複標題)。

2. 一個鉤子

找一個單一瞬間,其觀眾預期與影片實際內容之間的落差最大:違反直覺的解答、他們不知道的數字、不觀看就無法釐清的二元選擇。針對學生/職涯初期觀眾:金錢、工作與浪費的努力;害怕浪費努力比承諾回報更有效。要以風險為出發點——但僅限於影片確實會解決的那一個。

3. 臉部影格(有聲受訪者)

node tools/thumbnail.mjs frames <p> --auto            # 重點瞬間 + big_statement 起始點
node tools/thumbnail.mjs frames <p> --at 41.2,88.0    # 或指定的乾淨剪輯時間點

影格來自原始 RAW 素材的全畫質(透過 work/timeline.json 映射)。讀取這些影格;選擇眼睛看鏡頭、眉毛上揚或皺眉、嘴巴在半開狀態、若有手勢則手在畫面內。說明選擇哪個與原因。 node tools/thumbnail.mjs cutout <p> work/thumb/face-41.2.png → work/thumb/cutout.png(讀取結果:頭髮和手的邊緣是否完整?)。

4. 背景(可選的生成圖層)

提供使用者一個僅針對背景的影像生成提示,以構圖與光線為描述方式,而非場景:「深海軍藍攝影棚背景,右上單一暖色邊緣光,左三分之一處有柔和琥珀色光暈,細緻點狀網格紋理,深色暗角,右三分之二留空供主體去背用,電影感,高對比,16:9 1280x720」。負面提示永遠為:no text, no letters, no words, no watermark, no logos, no people, no faces, no hands, cluttered, low contrast, busy。(「no people」很重要——生成的圖層不能額外加入第二個人。)或跳過此步驟:渲染器會自動繪製一個強調色漸層。

5. 渲染

node tools/thumbnail.mjs render <p> --big "NOT ENOUGH" --small "Certificates alone" \
     --native "ఉద్యోగం రాదు" --cutout work/thumb/cutout.png [--background work/thumb/bg.png] \
     --accent "#ffcc00" --side right

→ output/thumbnail-16x9.png(1280x720)與 output/cover-9x16.png(1080x1920 Reels 封面)。 佈局規則已內建:臉部占三分之一,文字占另三分之二;兩種文字尺寸;右下角保留給持續時間標籤。文字 3–4 個單詞;其中一個單詞要超大。本地文字行與英文標題並排,可瞬間傳達語言資訊。強調色 = 鉤子所在章節的章節強調色,或若使用者指定了品牌則使用該品牌的顏色(config/brands/<slug>.json)。無品牌 → 不假設頻道風格。

6. 交付前檢查

讀取資訊流預覽圖(work/thumb/preview-120-*.png):大字是否可讀?臉部是否可辨識?是否與標題重複?陌生人能否理解?影片是否真的提供了所暗示的內容?

禁止事項

禁止偽造商標、證書、薪資單或文件;預設不得使用任何商標(若有需要,請標明並讓使用者決定);禁止反射性紅色箭頭加驚訝表情——可信度重於警報效果;禁止使用表情符號。

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

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.

相關技能