storyboard-creation by inferen-sh/skills
npx skills add https://github.com/inferen-sh/skills --skill storyboard-creation通过 inference.sh CLI 使用 AI 图像生成创建可视化故事板。
需要 inference.sh CLI (
infsh)。安装说明
infsh login
# 生成故事板分镜
infsh 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
}'
# 将分镜拼接成故事板
infsh app run infsh/stitch-images --input '{
"images": ["panel1.png", "panel2.png", "panel3.png"],
"direction": "horizontal"
}'
| 缩写 | 名称 | 取景范围 | 使用场景 |
|---|---|---|---|
| ECU |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 大特写 |
| 仅眼睛,一个细节 |
| 强烈情感,揭示细节 |
| CU | 特写 | 脸部充满画面 | 情感,反应,对话 |
| MCU | 中特写 | 头部和肩膀 | 采访,对话 |
| MS | 中景 | 腰部以上 | 一般对话,动作 |
| MLS | 中远景 | 膝盖以上 | 行走,随意互动 |
| LS | 远景 | 全身 | 角色在环境中 |
| WS | 广角镜头 | 环境占主导 | 建立地点,规模感 |
| EWS | 超广角镜头 | 广阔风景 | 史诗级场景,孤立感,转场 |
# 特写 — 情感焦点
infsh 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
}'
# 中景 — 对话场景
infsh 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
}'
# 广角镜头 — 定场镜头
infsh 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
}'
| 角度 | 效果 | 使用场景 |
|---|---|---|
| 平视 | 中性,自然 | 大多数场景的默认角度 |
| 俯拍 | 主体显得渺小,脆弱 | 展示弱点,概览 |
| 仰拍 | 主体显得强大,占主导 | 权威,英雄主义,威胁感 |
| 鸟瞰 | 上帝视角概览 | 地图,建立地理环境 |
| 虫视 | 极致的力量感,敬畏感 | 建筑,高耸的人物 |
| 荷兰式倾斜 | 不安,迷失方向 | 紧张,疯狂,动作场景 |
| 过肩镜头 (OTS) | 观众与角色同视角 | 对话,主观视角 |
| 运动 | 描述 | 情感 |
|---|---|---|
| 摇摄 | 摄像机水平旋转(在三脚架上) | 扫描,跟随,揭示 |
| 俯仰摇摄 | 摄像机垂直旋转(在三脚架上) | 揭示高度,力量感 |
| 推拉 | 摄像机向主体靠近/远离 | 亲密感(推入),距离感(拉出) |
| 横移 | 摄像机横向移动 | 平行跟随,揭示 |
| 升降/摇臂 | 摄像机垂直上下移动 | 宏大揭示,转场 |
| 变焦 | 镜头焦距变化(摄像机不动) | 焦点转移,戏剧性强调 |
| 斯坦尼康/云台 | 平滑的手持跟踪 | 沉浸感,跟随动作 |
| 手持 | 刻意的手持抖动 | 紧迫感,纪录片感,混乱 |
| 固定 | 摄像机不移动 | 稳定性,观察,紧张感 |
在故事板中,用画在分镜上的箭头表示运动。
想象两个对话角色之间有一条线(轴线)。摄像机必须始终停留在这条线的一侧。
角色 A 角色 B
●─────────────────●
/ \
/ 摄像机区域 \
/ (停留在此侧) \
📷 📷 📷
摄像机 1 摄像机 2 摄像机 3
越轴会使观众对空间关系感到困惑。只有在有意图时才越轴(中间使用中性镜头或可见的摄像机运动)。
当在同一动作的两个角度之间切换时,动作必须无缝衔接:
分镜 A:手伸向门把手(中景)
分镜 B:手抓住门把手(特写)
↑ 动作从同一点继续
当一个角色看向某物时,下一个镜头应从其大致视角展示他们所看到的内容。
分镜 A:角色向上并向右看
分镜 B:他们看到的物体,从稍左下角度取景
如果一个角色在一个镜头中从左向右移动,他们应该在下一个镜头中继续从左向右移动。反转方向意味着他们转身了。
| 布局 | 分镜数 | 用途 |
|---|---|---|
| 2x3 (6 分镜) | 每页 6 个 | 详细场景,对话 |
| 3x3 (9 分镜) | 每页 9 个 | 动作序列,蒙太奇 |
| 2x2 (4 分镜) | 每页 4 个 | 关键时刻,演示 |
| 单格 | 每页 1 个 | 英雄镜头,关键时刻 |
每个分镜应包含:
┌────────────────────────────────────┐
│ 场景 3 — 镜头 2 │ ← 场景和镜头编号
│ │
│ [生成的图像在此处] │ ← 视觉内容
│ │
├────────────────────────────────────┤
│ 镜头:中景,平视 │ ← 镜头类型和角度
│ 运动:缓慢推入 │ ← 摄像机运动
│ 时长:4 秒 │ ← 预估时长
│ 动作:莎拉打开信件 │ ← 发生的事件
│ 对话:"这改变了一切" │ ← 任何台词
│ 音效:纸张沙沙声,时钟滴答声 │ ← 音效
│ 音乐:紧张感增强 │ ← 音乐提示
└────────────────────────────────────┘
在生成图像之前,先编写镜头列表:
场景 1 — 办公室,白天
1.1 广角镜头 - 办公室建筑外部定场镜头,早晨
1.2 中景 - 莎拉端着咖啡走过办公室
1.3 特写 - 莎拉的脸,注意到桌上有什么
1.4 大特写 - 桌上的信封,陌生的笔迹
1.5 中景 - 莎拉拿起信封,打开它
1.6 特写 - 莎拉阅读时睁大眼睛
1.7 大特写 - 信件上的关键短语(插入文本)
在所有分镜中使用一致的风格:
# 建立一致的风格提示后缀
STYLE="cinematic film still, slightly desaturated, warm color grade, 35mm lens, shallow depth of field"
# 分镜 1.1 — 广角定场镜头
infsh 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
# 分镜 1.2 — 中景
infsh 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
# 分镜 1.3 — 特写
infsh 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
# 将分镜拼接成行
infsh app run infsh/stitch-images --input '{
"images": ["panel_1_1.png", "panel_1_2.png", "panel_1_3.png"],
"direction": "horizontal"
}'
infsh app run infsh/stitch-images --input '{
"images": ["panel_1_4.png", "panel_1_5.png", "panel_1_6.png"],
"direction": "horizontal"
}'
# 然后将行垂直拼接成完整页面
infsh app run infsh/stitch-images --input '{
"images": ["row1.png", "row2.png"],
"direction": "vertical"
}'
| 错误 | 问题 | 解决方法 |
|---|---|---|
| 越轴 | 混淆空间关系 | 停留在一侧或使用中性镜头 |
| 所有镜头类型相同 | 视觉单调,无节奏感 | 在特写、中景、广角镜头之间变化 |
| 没有定场镜头 | 观众不知道他们在哪里 | 以广角镜头或超广角镜头开始场景 |
| 每个场景镜头太多 | 节奏拖沓 | 每个场景 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
浏览所有应用:infsh app list
每周安装量
7.0K
仓库
GitHub 星标数
182
首次出现
12 天前
安全审计
安装于
claude-code5.5K
gemini-cli5.0K
codex5.0K
amp5.0K
opencode5.0K
kimi-cli5.0K
Create visual storyboards with AI image generation via inference.sh CLI.
Requires inference.sh CLI (
infsh). Install instructions
infsh login
# Generate a storyboard panel
infsh 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
infsh app run infsh/stitch-images --input '{
"images": ["panel1.png", "panel2.png", "panel3.png"],
"direction": "horizontal"
}'
| Abbreviation | Name | Framing | When to Use |
|---|---|---|---|
| ECU | Extreme Close-Up | Eyes only, a detail | Intense emotion, revealing detail |
| CU | Close-Up | Face fills frame | Emotion, reaction, dialogue |
| MCU | Medium Close-Up | Head and shoulders | Interviews, conversations |
| MS | Medium Shot | Waist up | General dialogue, action |
| MLS | Medium Long Shot | Knees up | Walking, casual interaction |
| LS | Long Shot | Full body | Character in environment |
| WS | Wide Shot | Environment dominant | Establishing location, scale |
| EWS | Extreme Wide Shot | Vast landscape | Epic scope, isolation, transitions |
# Close-Up — emotion focus
infsh 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
infsh 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
infsh 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
}'
| Angle | Effect | When to Use |
|---|---|---|
| Eye Level | Neutral, natural | Default for most scenes |
| High Angle | Subject looks small, vulnerable | Showing weakness, overview |
| Low Angle | Subject looks powerful, dominant | Authority, heroism, threat |
| Bird's Eye | God-like overview | Maps, establishing geography |
| Worm's Eye | Extreme power, awe | Architecture, towering figures |
| Dutch Angle | Unease, disorientation | Tension, madness, action |
| Over-the-Shoulder (OTS) | Viewer positioned with character | Conversations, POV |
| Movement | Description | Emotion |
|---|---|---|
| Pan | Camera rotates horizontally (on tripod) | Scanning, following, revealing |
| Tilt | Camera rotates vertically (on tripod) | Revealing height, power |
| Dolly | Camera moves toward/away from subject | Intimacy (in), distance (out) |
| Truck | Camera moves laterally | Following alongside, revealing |
| Crane/Jib | Camera moves up or down vertically | Grand reveals, transitions |
| Zoom | Lens focal length changes (camera stays) | Focus shift, dramatic emphasis |
| Steadicam/Gimbal | Smooth handheld tracking | Immersion, following action |
In storyboards, indicate movement with arrows drawn on panels.
Imagine a line (axis) between two characters in conversation. The camera must stay on ONE side of that line.
Character A Character B
●─────────────────●
/ \
/ CAMERA ZONE \
/ (stay on this side) \
📷 📷 📷
Camera 1 Camera 2 Camera 3
Crossing the line confuses the viewer about spatial relationships. Only cross intentionally (with a neutral shot in between or a visible camera move).
When cutting between two angles of the same action, the action must continue seamlessly:
Panel A: Hand reaches for door handle (medium shot)
Panel B: Hand grabs door handle (close-up)
↑ Action continues from same point
When a character looks at something, the next shot should show what they're looking at, from their approximate point of view.
Panel A: Character looks up and to the right
Panel B: The object they see, framed from slightly below-left
If a character moves left-to-right in one shot, they should continue left-to-right in the next. Reversing direction implies they turned around.
| Layout | Panels | Use For |
|---|---|---|
| 2x3 (6 panels) | 6 per page | Detailed scenes, dialogue |
| 3x3 (9 panels) | 9 per page | Action sequences, montages |
| 2x2 (4 panels) | 4 per page | Key moments, presentations |
| Single | 1 per page | Hero shots, critical moments |
Each panel should include:
┌────────────────────────────────────┐
│ 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
└────────────────────────────────────┘
Before generating images, write a shot list:
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)
Use consistent style across all panels:
# 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
infsh 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
infsh 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
infsh 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
# Stitch panels into rows
infsh app run infsh/stitch-images --input '{
"images": ["panel_1_1.png", "panel_1_2.png", "panel_1_3.png"],
"direction": "horizontal"
}'
infsh 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
infsh app run infsh/stitch-images --input '{
"images": ["row1.png", "row2.png"],
"direction": "vertical"
}'
| Mistake | Problem | Fix |
|---|---|---|
| Crossing the 180-degree line | Confuses spatial relationships | Stay on one side or use neutral shot |
| All same shot type | Visually boring, no rhythm | Vary between CU, MS, WS |
| No establishing shot | Viewer doesn't know where they are | Start scenes with WS or EWS |
| Too many shots per scene | Pacing drags | 5-8 shots per scene is typical |
| Inconsistent style between panels | Looks like different projects | Use same style prompt suffix |
| Missing annotations | Panels are ambiguous | Always note shot type, movement, action |
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
Browse all apps: infsh app list
Weekly Installs
7.0K
Repository
GitHub Stars
182
First Seen
12 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
claude-code5.5K
gemini-cli5.0K
codex5.0K
amp5.0K
opencode5.0K
kimi-cli5.0K
48,100 周安装
| Deliberate camera shake |
| Urgency, documentary feel, chaos |
| Static | Camera doesn't move | Stability, observation, tension |