mcpField
S
storyboard-creation

storyboard-creation

github.com/styleof创意与媒体135 次安装
代码仓库

关于 storyboard-creation

通过 inference.sh CLI 中的 belt 使用 AI 图像生成来制作视觉分镜。面向影视及视觉叙事创作者,提供镜头规划、连续性指导、画面生成和分镜拼接流程。

主要功能

  1. 01镜头类型、角度与运镜指导
  2. 02场景衔接的连续性规则
  3. 03镜头清单规划
  4. 04使用 belt 生成图像
  5. 05将生成画面拼接为分镜

适用场景

  1. 01制作前规划场景镜头
  2. 02为剧本生成分镜画面
  3. 03保持分镜镜头间的连续性
  4. 04将生成图像拼接成分镜行

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/styleof/superpowers --skill storyboard-creation

安装后在 Claude Code 中输入/storyboard-creation确认已加载。

详细介绍

安装 belt CLI 技能: npx skills add belt-sh/cli

分镜制作

通过 inference.sh CLI 使用 AI 图像生成来制作视觉分镜。

快速入门

需要 inference.sh CLI(belt)。安装说明

belt login

# Generate a storyboard panel
belt app run falai/flux-dev-lora --input '{
  "prompt": "storyboard panel, wide establishing shot of a modern city skyline at sunset, cinematic composition, slightly desaturated colors, film still style, 16:9 aspect ratio",
  "width": 1248,
  "height": 832
}'

# Stitch panels into a board
belt app run infsh/stitch-images --input '{
  "images": ["panel1.png", "panel2.png", "panel3.png"],
  "direction": "horizontal"
}'

镜头类型

缩写名称构图适用场景
ECU极特写仅眼睛或某个细节强烈情绪、揭示细节
CU特写面部占满画面情绪、反应、对话
MCU中近景头部和肩部访谈、交谈
MS中景腰部以上一般对话、动作
MLS中远景膝盖以上行走、轻松互动
LS远景全身展示角色所处环境
WS全景环境为主建立地点、展现规模
EWS极远景广阔景观宏大场面、孤立感、转场
生成各类镜头
# Close-Up — emotion focus
belt app run falai/flux-dev-lora --input '{
  "prompt": "close-up shot of a woman face showing concern, soft dramatic lighting from the left, shallow depth of field, cinematic film still, slightly desaturated",
  "width": 1248,
  "height": 832
}'

# Medium Shot — dialogue scene
belt app run falai/flux-dev-lora --input '{
  "prompt": "medium shot of two people talking across a table in a cafe, warm afternoon light through windows, natural composition, cinematic film still, 35mm lens look",
  "width": 1248,
  "height": 832
}'

# Wide Shot — establishing
belt app run falai/flux-dev-lora --input '{
  "prompt": "wide establishing shot of a futuristic laboratory interior, dramatic overhead lighting, long corridor with glass walls, sci-fi atmosphere, cinematic composition, anamorphic lens style",
  "width": 1248,
  "height": 832
}'

摄影机角度

角度效果适用场景
Eye Level中性、自然大多数场景的默认选择
High Angle主体显得渺小、脆弱展现弱势、全景俯瞰
Low Angle主体显得强大、占主导地位权威、英雄气概、威胁
Bird's Eye上帝视角般的俯瞰地图、建立地理方位
Worm's Eye极强的力量感、敬畏感建筑、高耸的人物
Dutch Angle不安、迷失方向紧张、疯狂、动作
Over-the-Shoulder (OTS)让观众与角色处于同一位置对话、主观视角

摄影机运动

运动描述情绪
Pan摄影机(在三脚架上)水平旋转扫视、跟随、揭示
Tilt摄影机(在三脚架上)垂直旋转揭示高度、力量
Dolly摄影机朝主体靠近或远离主体亲密感(推进)、距离感(拉远)
Truck摄影机横向移动并行跟随、揭示
Crane/Jib摄影机垂直向上或向下移动宏大揭示、转场
Zoom镜头焦距变化(摄影机位置不变)焦点转移、强调戏剧效果
Steadicam/Gimbal稳定的手持跟拍沉浸感、跟进行动
Handheld刻意的摄影机抖动紧迫感、纪实感、混乱
Static摄影机不移动稳定、观察、紧张

在分镜中,用画在面板上的箭头表示运动。

连贯性规则

180 度规则

想象两位正在交谈的角色之间有一条线(轴线)。摄影机必须始终位于这条线的同一侧。

         Character A        Character B
              ●─────────────────●
             /                   \
           /     CAMERA ZONE      \
         /     (stay on this side)  \
       📷          📷          📷
     Camera 1   Camera 2   Camera 3

越轴会让观众对空间关系感到困惑。只在有意为之时越轴(中间插入中性镜头,或呈现可见的摄影机移动)。

动作匹配

在同一动作的两个角度之间剪辑时,动作必须无缝衔接:

Panel A: Hand reaches for door handle (medium shot)
Panel B: Hand grabs door handle (close-up)
         ↑ Action continues from same point
视线匹配

当角色看向某样东西时,下一个镜头应从大致的主观视角展示他们所看的对象。

Panel A: Character looks up and to the right
Panel B: The object they see, framed from slightly below-left
屏幕方向

如果角色在一个镜头中从左向右移动,下一个镜头中也应继续从左向右移动。反转方向意味着角色转了身。

面板布局

标准格式
布局面板数适用场景
2x3(6 个面板)每页 6 个细节丰富的场景、对话
3x3(9 个面板)每页 9 个动作场面、蒙太奇
2x2(4 个面板)每页 4 个关键时刻、演示
单幅每页 1 个主打镜头、关键时刻
面板标注格式

每个面板应包含:

┌────────────────────────────────────┐
│ SCENE 3 — SHOT 2                   │ ← Scene and shot number
│                                    │
│   [Generated image here]           │ ← Visual
│                                    │
├────────────────────────────────────┤
│ Shot: MS, eye level                │ ← Shot type and angle
│ Movement: Slow dolly in            │ ← Camera movement
│ Duration: 4 sec                    │ ← Estimated duration
│ Action: Sarah opens the letter     │ ← What happens
│ Dialogue: "This changes everything"│ ← Any spoken lines
│ SFX: Paper rustling, clock ticking │ ← Sound effects
│ Music: Tension builds              │ ← Music cue
└────────────────────────────────────┘

分镜工作流

步骤 1:镜头列表

生成图像前,先编写镜头列表:

SCENE 1 — OFFICE, DAY

1.1  WS  - Establishing shot of office building exterior, morning
1.2  MS  - Sarah walks through office, carrying coffee
1.3  CU  - Sarah's face, notices something on her desk
1.4  ECU - An envelope on the desk, unfamiliar handwriting
1.5  MS  - Sarah picks up envelope, opens it
1.6  CU  - Sarah's eyes widen as she reads
1.7  ECU - Key phrase on the letter (insert text)
步骤 2:生成面板

所有面板采用一致的风格:

# Establish a consistent style prompt suffix
STYLE="cinematic film still, slightly desaturated, warm color grade, 35mm lens, shallow depth of field"

# Panel 1.1 — Wide establishing
belt app run falai/flux-dev-lora --input "{
  \"prompt\": \"wide shot of a modern glass office building exterior, morning golden hour light, people entering, $STYLE\",
  \"width\": 1248, \"height\": 832
}" --no-wait

# Panel 1.2 — Medium shot
belt app run falai/flux-dev-lora --input "{
  \"prompt\": \"medium shot of a professional woman walking through a modern open office, carrying coffee cup, morning light through windows, $STYLE\",
  \"width\": 1248, \"height\": 832
}" --no-wait

# Panel 1.3 — Close-up
belt app run falai/flux-dev-lora --input "{
  \"prompt\": \"close-up of a woman face looking down at her desk with curious expression, soft office lighting, $STYLE\",
  \"width\": 1248, \"height\": 832
}" --no-wait
第 3 步:组装分镜板
# Stitch panels into rows
belt app run infsh/stitch-images --input '{
  "images": ["panel_1_1.png", "panel_1_2.png", "panel_1_3.png"],
  "direction": "horizontal"
}'

belt app run infsh/stitch-images --input '{
  "images": ["panel_1_4.png", "panel_1_5.png", "panel_1_6.png"],
  "direction": "horizontal"
}'

# Then stitch rows vertically for full page
belt app run infsh/stitch-images --input '{
  "images": ["row1.png", "row2.png"],
  "direction": "vertical"
}'

风格一致性提示

  • 所有面板都使用相同的风格后缀(镜头、色彩分级、光照)
  • 如果需要让所有面板中的角色保持一致,请使用 FLUX LoRA
  • 所有面板都保持相同的宽高比
  • 生成的面板数量要多于所需数量,然后选出最佳面板
  • 如果某个面板与整体风格不符,请调整提示词后重新生成

常见错误

错误问题修正方法
越过 180 度线空间关系令人困惑保持在同一侧,或使用中性镜头
镜头类型都相同画面乏味,缺乏节奏感在 CU、MS、WS 之间切换
缺少交代镜头观众不知道场景发生在哪里以 WS 或 EWS 开场
每个场景镜头过多节奏拖沓每个场景通常安排 5-8 个镜头
面板风格不一致看起来像不同的项目使用相同的风格提示词后缀
缺少注释面板含义模糊始终注明镜头类型、运动和动作

相关技能

npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@prompt-engineering

浏览所有应用:belt app list

评论

支持 Markdown