Community图像github.com

LordVayron/video-factory

将已批准的分镜脚本转换为场景、分镜表与镜头(projects/<slug>/shotlist.json),专为连续性设计——每个场景以一张网格图故事板呈现,并通过一次多镜头生成完成拍摄,从而在镜头切换时保持角色位置、道具与屏幕方向的一致性。适用于分镜脚本批准后、镜头连续性被破坏时,或需要为对白规划覆盖拍摄时使用。

video-factory 是什么?

该技能将已批准的分镜脚本转换为结构化的场景、分镜表与镜头列表(projects/<slug>/shotlist.json),专注于影视连续性。它利用最新AI视频生成模型(如Higgsfield Popcorn、Wan 3.0 / Seedance 2.0)的多镜头生成能力,通过将整场戏作为一个整体生成,消除了镜头间角色位置、道具与屏幕方向的跳跃问题。用户需在每场戏中编写分镜图(一张网格图)、分镜表(包含角色位置、朝向、姿态)以及覆盖规划(遵循180度规则、脏单拍、动接动等原则)。该技能适用于Claude Code、Cursor、Codex等AI代理开发环境,要求用户具备剪辑与AI生成工作流的知识。其核心流程包括:阅读参考文档、按场景思考而非按镜头思考、编写分镜表与镜头列表、检查连续性(通过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 秒。
  • 故事板 = 每个场景一张网格图(所有分镜面板在一次生成中完成)→ 分割成独立面板。
  • 视频 = 每个场景一次多镜头生成(Shot 1 [0-3s] … 硬切. Shot 2 [3-6s] …),以场景的第一个分镜面板开头,附带角色和场景参考以及语音参考。
  • 一个 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": "右侧" } }。提示词在每个镜头(包括全景)中将其重复为座位锁定。
  • 角色不得在屏幕外改变位置。
    • 如果剧情需要角色出现在别处,则添加一个镜头,其 moves 字段说明去哪以及如何移动,且动作展示该移动过程:"moves": { "rex": { "to": "地毯上", "side": "右侧", "how": "跳下沙发" } }。
    • 如果后续场景开始角色出现在新位置而没有该镜头,计划检查将失败。
  • 单拍必须是脏单拍。 当角色共用家具时,近景要保留搭档在画面相应方向的边缘(皮毛、耳朵、肩膀)。主体旁边的座位不能空着。
  • 拍摄后,运行 node engine/continuity.mjs <slug>。
    • 视觉裁判读取每个镜头的一帧图像,并与计划比较:家具/地板、方向、瞬移、日夜、搭档座位是否空着、房间、服装。
    • 失败的镜头不能剪辑(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?".

相关技能