Community影像github.com

LordVayron/video-factory

將已批准的腳本轉換為場景、分鏡表和鏡頭清單(projects/<slug>/shotlist.json),專為連續性而建構。每個場景以單一網格圖像進行故事板,並以單次多鏡頭生成進行拍攝,確保角色在剪輯中保持其位置、道具和畫面側。在用於腳本批准後、鏡頭連續性中斷時,或規劃對話涵蓋範圍時使用。

video-factory 是什麼?

此技能作為一名專業的電影攝影師AI,專注於將已批准的腳本轉化為具備連續性保證的詳細分鏡和鏡頭清單。它借鑒了Higgsfield Popcorn、Wan 3.0和Seedance 2.0等AI影片模型的研究,這些模型在處理以「場景」為單位(而非單一鏡頭)生成的內容時,能更好地維持角色和環境的一致性。此技能會為每個場景生成一個單一的網格圖像(故事板)和一個包含多個鏡頭描述的影片生成提示。支援的平台包括Claude Code、Cursor和Codex等AI代理工具。其工作原理是首先創建一個詳細的`shotlist.json`文件,其中包含場景摘要、角色走位(blocking)以及每個鏡頭的規格(取景、鏡頭、相機運動、對話和特效)。接著,它強制執行嚴格的連續性邏輯,例如180度規則、畫面向(screen sides)以及位置鎖定(seat locks),並透過一個自動化的連續性檢查引擎(`engine/continuity.mjs`)來驗證生成的鏡頭是否與計劃相符,確保角色不會憑空移動或道具憑空消失。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LordVayron/video-factory/tree/HEAD/.claude/skills/cinematographer

Installed? Explore more 影像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

電影攝影師

每次對話開始時,請閱讀 references/cinematography.md(電影文法、視覺風格)和 references/models.md(模型)。

以場景為思考單位,而非鏡頭

研究(Higgsfield Popcorn、Wan 3.0 / Seedance 2.0 多鏡頭):當一個場景一起生成時,AI模型能保持連續性;而當每個鏡頭單獨生成時,則會失去連續性。因此:

  • 場景 = 一個地點,一個連續的時刻,≤ 15 秒,2–5 個鏡頭,每個鏡頭 2–5 秒。
  • 故事板 = 每個場景一個網格圖像(所有分鏡面板在一次生成中完成)→ 分割為各個面板。
  • 影片 = 每個場景一次多鏡頭生成(鏡頭1 [0-3秒] … 硬切。鏡頭2 [3-6秒] …),從場景的第一個分鏡面板開始,並帶有角色、場景設定和語音參考。
  • 一個 20 秒的劇集通常為 2 個場景 → 2 個網格圖像 + 2 次影片生成,所有這些都可以並行執行。

shotlist.json

"scenes": [
  { "id": "A", "summary": "一句話:發生了什麼事", "shots": ["s01","s02","s03"],
    "blocking": "Milo 坐在圓桌左側的椅子上,面向右方,面前放著紙;Rex 坐在右側的椅子上,面向左方;Ana 不在房間裡。" }
],
"shots": [ { "id": "s01", "duration": 3, "characters": ["milo","rex"], "framing": "中景雙人鏡頭", "lens": "35mm 鏡頭", "camera": "固定攝影機",
             "image": "用於故事板面板的凍結時刻", "motion": "這個鏡頭中發生了什麼變化",
             "dialogue": [{ "char": "milo", "text": "…", "delivery": "…" }], "sfx": "…" } ]

走位表(在編寫鏡頭之前先寫)

對於每個場景:每個角色的位置(哪張椅子、畫面的左/右)、面向方向、姿勢、手中道具,以及任何帶有時間點的移動(「在s03中,Rex站起來走到門口」)。如果角色移動了,下一個鏡頭應從他們結束的位置開始。走位文字將逐字放入故事板網格提示和影片提示中。

保持連續性的涵蓋策略

  • 以雙人鏡頭為錨點。 兩個坐著的角色之間的對話主要在一個中景雙人鏡頭中進行;插入特寫鏡頭用於反應和笑點。
  • 單人鏡頭應顯示地理空間: 一個角色的近景鏡頭應保持桌面和另一個角色的肩膀或畫面邊緣在畫面中(過肩鏡頭),並且每次都對著相同的背景牆。
  • 180度法則: 畫面側永不翻轉。在每個包含兩個角色的鏡頭中,都寫入「Milo 畫面左側,Rex 畫面右側」。
  • 在每個鏡頭中命名攝影機運動(「固定攝影機」、「緩慢推近」)。未命名的攝影機會導致 Wan 自行剪輯。
  • 肢體喜劇使用廣角鏡頭,以便整個動作都能被讀懂。
  • 在動作上或笑點台詞處剪輯; 在台詞之後保留反應節拍(0.5–1 秒)。
  • 無不可能跳躍: 角色不能在 s02 中還在桌子旁,卻在 s03 中出現在房間中央,除非有一個鏡頭顯示了他們的移動過程。

交付前檢查

  • 每個場景 ≤ 15 秒,包含 2–5 個鏡頭;總時長需符合腳本時間。
  • 每個鏡頭都有取景、鏡頭、攝影機、畫面、動作、對話(或無)和特效。
  • node engine/gen.mjs estimate <slug>。

連續性邏輯(硬性規則,由 engine/continuity.mjs 執行)

  • 每個場景需聲明 seats。 每個角色都有一個位置和一個畫面側:{ "rex": { "place": "沙發的右側坐墊", "side": "right" } }。提示詞將此作為 SEAT LOCK 在每個鏡頭中重複,包括廣角鏡頭。
  • 沒有角色可以在鏡頭外改變位置。
    • 如果故事需要角色出現在別處,則需添加一個鏡頭,其 moves 屬性說明移動到何處以及如何移動,並且動作需顯示該移動:"moves": { "rex": { "to": "地毯", "side": "right", "how": "跳下沙發" } }。
    • 如果後續場景中,角色在沒有這個移動鏡頭的情況下出現在新位置,計劃檢查將會失敗。
  • 單人鏡頭必須是髒單人鏡頭。 當角色們共用家具時,近景鏡頭必須在角色的畫面側保持夥伴的身影邊緣(毛皮、耳朵、肩膀)。主體旁邊的座位絕不能是空的。
  • 拍攝完成後,執行命令 node engine/continuity.mjs <slug>。
    • 一個視覺評判器讀取每個鏡頭的一幀,並將其與計劃進行比對:家具/地板、畫面側、瞬間移動、日夜、空置的夥伴座位、房間、服裝。
    • 失敗的鏡頭(take)無法被剪輯(edit.mjs 會拒絕它)。使用說明違規的備註重新生成該鏡頭。

Individual skills in this repo

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

LordVayron/video-factory

Creates and maintains the reusable bible of characters, sets and styles (bible/), including character sheets, voice choice and voice samples, and the "clone me" / AI-influencer intake from the user's own photos and voice. Use when a story needs a character or location that doesn't exist yet, when a character drifts between shots, or when the user says "clone me", "make an AI influencer", "new character", "crea un personaje".

LordVayron/video-factory

Produces long-form ambient videos (10 minutes to 3 hours) — guided meditation, sleep stories, breathwork, affirmations, yoga nidra, focus/study music, ambient loops — with seamless looping AI scenes, a Suno music bed and an optional ElevenLabs voice-over with long pauses, delivered as 1080p YouTube video plus MP3. Use for "meditación", "meditation video", "sleep story", "música para dormir", "ambient loop", "focus music", "video largo de relajación", "yoga nidra", "affirmations".

LordVayron/video-factory

Produces an episode of a recurring series — 90s sitcom, comedy skit series, micro-drama / vertical novela, cartoon or anime series — with a locked cast, sets, voices and intro in series/<id>/, using flow v5 (writers' room script, radio cut, storyboards, Production Book with a locked budget, multi-shot scenes, continuity eval, auto edit with unified voices, series intro and outro). Use for "next episode", "otro episodio", "create a series", "crea una serie", "sitcom", "novela para TikTok", or any episode of an existing series in series/.

LordVayron/video-factory

First-run setup conversation for a new creator of the AI Video Factory. Asks exactly five short questions (what to create, where it will be published, language and tone, own brand/product/characters, budget per video), writes studio.json, creates the first project, and explains how to start other formats in new conversations. Use right after installation, when studio.json does not exist, or when the user says "onboarding", "empecemos", "set me up", "configura la fábrica", "what can I make?".

相關技能