generate-storyboard
ArcReel/ArcReel · Agent Skill
為劇本生成故事板,確保角色和場景的視覺連續性。用於建立新幀或替換現有幀。
前往安裝 ↓總覽
| 發布者 | |
|---|---|
| 儲存庫 | ArcReel/ArcReel ↗ |
| 技能資料夾 | generate-storyboard |
| 星 | 4,380 |
| 附帶檔案 | 1 |
| 授權 | AGPL-3.0 |
| 最近更新 | 2026年9月6日 |
| 連結 | 技能原始碼 ↗ · 儲存庫 ↗ |
Mozgi 檢查
我們在技能檔案中發現的內容。詳細資訊需訂閱。
安裝
技能就是一個含 SKILL.md 的資料夾。選擇你的代理,在專案根目錄的終端機(macOS、Linux 或 Windows 的 Git Bash)執行指令。
把提示貼到 Claude、Codex 或其他助理:它會自行檢查並安裝技能。
Install the “generate-storyboard” skill from mozgi.io (https://mozgi.io/skills/generate-storyboard/) for me. 1. Download the archive: https://mozgi.io/skills/generate-storyboard/download If it fails, take the skill folder from the source: https://github.com/ArcReel/ArcReel/tree/main/agent_runtime_profile/.claude/skills/generate-storyboard 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “generate-storyboard” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/generate-storyboard/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/ArcReel/ArcReel.git /tmp/ArcReel mkdir -p .claude/skills cp -r /tmp/ArcReel/agent_runtime_profile/.claude/skills/generate-storyboard .claude/skills/generate-storyboard
重新啟動 Claude Code — 技能就會出現在清單中,手動呼叫:/generate-storyboard。要套用到所有專案,請放在 ~/.claude/skills。
git clone --depth 1 --branch main https://github.com/ArcReel/ArcReel.git /tmp/ArcReel mkdir -p .agents/skills cp -r /tmp/ArcReel/agent_runtime_profile/.claude/skills/generate-storyboard .agents/skills/generate-storyboard
Codex 會從目前資料夾往上到儲存庫根目錄,在 .agents/skills 中尋找技能;用 /skills 或 $generate-storyboard 呼叫。所有專案:~/.agents/skills。
git clone --depth 1 --branch main https://github.com/ArcReel/ArcReel.git /tmp/ArcReel mkdir -p .cursor/skills cp -r /tmp/ArcReel/agent_runtime_profile/.claude/skills/generate-storyboard .cursor/skills/generate-storyboard
Cursor 啟動時會載入技能;在 Agent 聊天輸入「/」呼叫。Cursor 也會讀取 .claude/skills 與 .agents/skills。所有專案:~/.cursor/skills。
git clone --depth 1 --branch main https://github.com/ArcReel/ArcReel.git /tmp/ArcReel mkdir -p .gemini/skills cp -r /tmp/ArcReel/agent_runtime_profile/.claude/skills/generate-storyboard .gemini/skills/generate-storyboard
任務符合時,Gemini CLI 會提議啟用技能,由你確認。所有專案:~/.gemini/skills。
安裝前請先檢視 SKILL.md 與相關檔案。點擊檔案即可預覽。
SKILL.md 內容
作者原文 · 唯讀生成分镜图
通过生成队列创建分镜图,画面比例根据 content_mode 自动设置。
> 生成模式规格详见 .claude/references/generation-modes.md。
工具调用
**重要:生成分镜图必须调用下列 MCP 工具入队。此 skill 不提供任何 Python/Shell 脚本,不得用 BASH 调 python .../scripts/*.py。**
通过 MCP 工具入队:
| 操作 | 工具 |
|------|------|
| 提交所有缺失分镜图 | mcp__arcreel__generate_storyboards({"script": "episode_1.json"}) |
| 重新生成指定 ID | mcp__arcreel__generate_storyboards({"script": "episode_1.json", "segment_ids": ["E1S05"]}) |
| 重新生成多个 ID | mcp__arcreel__generate_storyboards({"script": "episode_1.json", "segment_ids": ["E1S01", "E1S02"]}) |
> 选择规则:segment_ids 兼容 narration 的 segment_id 与 drama 的 scene_id;未传则提交所有缺失项。
>
> 依赖:generation worker 必须在线(图像/视频两条独立通道),worker 负责实际生成与速率控制。
工作流程
1. 加载项目和剧本 — 确认所有角色都有 character_sheet 图像
2. 生成分镜图 — MCP 工具自动检测 content_mode,按相邻关系串联依赖任务
3. 审核检查点 — 展示每张分镜图,用户可批准、要求重新生成,或要求编辑
4. 更新剧本 — 更新 storyboard_image 路径和场景状态
审核检查点:编辑 vs 重新生成
- 只想改局部(如某个分镜的手部畸形、背景杂物、光线偏差),且构图/角色一致性满意 →
用 mcp__arcreel__edit_images({"resource_type": "storyboard", "script_file": "episode_1.json", "edits": [{"id": "E1S05", "instruction": "去掉背景里多余的路人"}]})
保底图微调,不影响 image_prompt,一次可批量下发多个分镜
- 想推翻构图或角色/参考图关系,或
image_prompt本身要改 → 用
patch_episode_script 改 image_prompt 后,紧接着调 generate_storyboards 重新生成
- 编辑不会更新
image_prompt——编辑后再触发generate_storyboards仍按原image_prompt
重画,编辑效果只能从版本历史找回
角色一致性机制
MCP 工具自动处理以下参考图传入,无需手动指定:
- character_sheet:场景中出场角色的资产图,保持外貌一致
- scene_sheet / prop_sheet:场景中出现的场景 / 道具资产图
- 商品参考(广告/短片项目):分镜
products_in_shot非空时自动注入商品参考并排在所有参考之前(有 product sheet 时 sheet + 原图,无 sheet 时原图直注);声明行把这些序位标为商品参考图并要求画面中的商品与之完全一致——image_prompt 无需复述商品外观 - 上一张分镜图:相邻片段默认引用,排在参考图列表最后,只参考构图与色调
- 当片段标记
segment_break=true时,跳过上一张分镜图参考
参考图对模型只是一个按顺序排列的图数组,prompt 用「图N」指认它们(N = 参考图在数组中的位置,商品在前,
然后是角色 / 场景 / 道具资产图,上一张分镜图最后):
- 生成端在
Style与Scene之间插一行Reference_Images类型声明,例如
图1、图2为角色参考图;图3为场景参考图;图4为上一分镜图,只参考构图与色调。;商品分镜为
图1为商品参考图,画面中的商品须与之完全一致;……
image_prompt.scene里用@[登记名]指认资产(衍生形态写@[角色/衍生]),生成端按上述编号把它换成对应的「图N」;
该名字须同时写进条目的引用字段(characters_in_* / scenes / props / products_in_shot),参考图只由引用字段决定,@[] 不会额外带图
- 未登记或不在引用字段里的
@[名称]按名字原样发送;generate_episode_script/patch_episode_script的回执warnings会列出这类引用,按提示补登记或补引用字段后重新生成
Prompt 模板
生成端按项目 style、参考图列表与条目 image_prompt 渲染最终 prompt(get_prompt_preview 可查看逐字文本):
Style: [项目 style]
Reference_Images: 图1、图2为角色参考图;图3为场景参考图;图4为上一分镜图,只参考构图与色调。
Scene: [image_prompt.scene,其中 @[登记名] 已换成对应的图N]
Composition:
shot_type: [image_prompt.composition.shot_type]
lighting: [image_prompt.composition.lighting]
ambiance: [image_prompt.composition.ambiance]
Avoid: 水印、多余文字、Logo
> 画面比例通过 API 参数设置,不写入 prompt。
生成前检查
- [ ] 所有角色都有已批准的 character_sheet 图像
- [ ] 场景视觉描述完整
- [ ] 角色动作已指定
错误处理
结果结构与逐 ID 问题码见 .claude/references/generation-results.md。
- 单场景失败不影响批次,工具返回
requested / succeeded / failed / blocked的逐 ID 结果 - 按每一项自带的
problem.code与problem.action决定重试还是先改输入,不要读文本猜 - 不传
segment_ids即只补缺;已失效但可用的旧分镜图会被复用,不自动重生 - 可重试的场景用
mcp__arcreel__generate_storyboards({"script": "...", "segment_ids": [...]})点名重做
常見問題
generate-storyboard 技能有什麼用途?
為劇本生成故事板,確保角色和場景的視覺連續性。用於建立新幀或替換現有幀。
如何安裝 generate-storyboard?
打開本頁的「安裝」區塊並選擇你的代理 — Claude Code、Codex、Cursor 或 Gemini CLI:那裡有把技能資料夾複製到正確位置的現成指令。也可以複製「透過助理」分頁中的提示,讓助理自行檢查並安裝技能。
generate-storyboard 適用哪些 AI 模型?
技能是純 Markdown 指示(Agent Skills 格式),因此 generate-storyboard 適用任何讀取 SKILL.md 的代理:Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot、OpenCode 等。只有在任務符合技能描述時,模型才會載入指示。
generate-storyboard 是免費的嗎?
此技能由 ArcReel 公開發布,採用 AGPL-3.0 授權。技能本身免費 — 你只需向 AI 供應商支付實際使用的 token 費用。
安裝技能安全嗎?
技能是代理會遵循的指示,安裝前請閱讀 SKILL.md 及相關檔案。技能資料夾中的腳本只有在代理執行時才會運行 — 留意它的動作,不要授予多餘權限。
技能和 MCP 伺服器或外掛有何不同?
MCP 伺服器或外掛為模型提供新工具 — 會執行並回傳結果的程式碼。技能提供的是知識與流程:如何處理任務、要遵循哪些步驟、好的成果長什麼樣子。它不需要伺服器或 API 金鑰。