Storyboard To Video 标志

Storyboard To Video

社区
0xSero
storyboard-to-video

使用此代码库,根据书面故事制作风格统一的插画解说静帧和无声视频(故事规格 JSON → Codex 图像模型生成静帧 → 重绘风格 → 在 WanGP GPU 节点上使用 MiniMax H3 生成首尾帧片段 → 拼接视频)。适用于新场景、新风格或重新渲染。不适用于单张一次性图片,也不适用于没有经批准静帧的文本生成视频。

Add to TypingMind

概览

发布者0xSero
代码仓库storyboard-to-video-system
技能名称storyboard-to-video
星标数
58
复刻数
3
附带文件
14
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 14 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 0xSero 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Storyboard To Video AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/0xSero/storyboard-to-video-system/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/0xSero/storyboard-to-video-system.git \
  .claude/skills/storyboard-to-video
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Storyboard To Video,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Storyboard To Video。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Storyboard To Video 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

storyboard-to-video: agent procedure

You drive python -m storyboard from the control machine. The GPU nodes run worker/qworker.sh. Read the "How the consistency is achieved" section of README.md once before writing prompts. Those rules are the product.

Inputs you need

  • A story: who, where, what goes wrong. Start by copying examples/starter/story.json to a new directory and replacing its content; the spec owns every prompt and creative decision.
  • config.json with reachable nodes. Run python -m storyboard status to confirm. If it fails, the task is blocked on access: report which node and what error. Do not invent hosts.
  • Codex CLI signed in with image_generation enabled (codex features list | grep image_generation).

Procedure

  1. Spec. Write or extend the story spec. Set export STORYBOARD_SPEC=... STORYBOARD_CONFIG=config.json, then run python -m storyboard check until it prints OK.
    • bible: the room layout with every prop's fixed position, each character's exact look, the style, and "no text, no captions, no extra people or characters".
    • Each frame action: one moment, written as a state, not a motion. Name where every moving thing is (on the floor at the table's right edge…). Spell out object states, such as "the container is EMPTY: its inside is clean bare metal". Repeat facts that must persist ("the lid is back on the tin").
    • Frame parent: the previous story frame. New scenarios should branch from shared frames so shared segments are reused.
    • Each segment path: the continuous motion from still A to still B in one paragraph, in order, with the same position words as the actions. frames must be on the 17k+5 grid. Prefer 124–175; 243 is the practical maximum.
    • A style look: one sentence of rendering terms (lines, shading, grain, palette, light), plus a reference image in ref.
  2. Master stills. Run python -m storyboard stills --styles <master>, then python -m storyboard sheet <master> and open the sheet image.
    • Check every frame against the bible and against its neighbours: same camera, props in place, characters on model, object states right, nobody teleporting.
    • Bad frame: rewrite its action, then reject <master> <frame> and run stills again. Rejecting a master frame cascades to its repaints and child frames.
  3. Style stills. Generate one style's anchor first (stills --styles <style> --only <anchor_frame>) and compare it with the master and the reference.
    • If it is only a recolour, strengthen the look and redo the anchor.
    • Then run stills --styles <style> and review its sheet the same way. Zoom into state-critical props (container interiors, doors, lids) with a crop. Thumbnails hide them.
  4. Video. Start the loop as a background job that survives your turn (python -m storyboard run --every 300, or tmux). Do not poll it in the foreground. Check back every 20–30 minutes and read work/<story>/STATUS.txt plus the tail of the loop's output.
  5. Review each finished video. Run python -m storyboard qa <style>. It scores every clip against its two stills and writes 0.5 s grids per video to work/<story>/<style>/qa/. Investigate every FLAG (zoom, cut and invented content score above 2), then look through every grid anyway; <scenario>_strip.png (8 frames per segment) is only an overview and misses events shorter than a second, like a quick press.
    • If a moment looks wrong, extract it at full resolution with ffmpeg -ss <sec> -i <video> -frames:v 1 x.png and look.
    • A clip-only artifact (in the clip but in neither still) gets redo <style> <from>__<to>.
    • A still-level problem gets reject plus stills.
    • Keep a ledger row per video: seeds, verdict (KEEP / REDO / REJECT) and the reason.
  6. Publish only reviewed videos: python -m storyboard publish <style>/<scenario>,.... This rebuilds overview_<story>.png, and also runs rclone copy if config.publish.rclone is set. Several stories can publish into one folder.
  7. Stopping. Run python -m storyboard stop. It persists a pause flag that every pump obeys, including the one inside a running run loop, and it pulls back all unstarted tasks. Then confirm with python -m storyboard status: it shows a PAUSED since … line and no queued segments.
    • Tasks that are already running finish, and the loop still collects and stitches their clips.
    • To shut the loop down as well, end the run job, then run stop once more: that pulls back anything a cycle was queueing at the moment you stopped it.
    • To abort a running task immediately, kill that task's gen.py process on its node, and only that process.
    • python -m storyboard resume starts queueing again.

Rules

  • Never queue video work for stills you have not reviewed. A bad still wastes 10–25 GPU-minutes per segment that uses it.
  • One locked camera inside a scenario. For a different camera angle, make a separate shot with its own scene text, or a separate production whose spec covers that shot.
  • Keep the H3 settings from storyboard/spec.py unless you are measuring a change. multi_prompts_gen_type: "FG" and config: "gguf_q4_k_m" are required.
  • H3 renders what its prompt names, and it completes actions the stills set up. Before you queue anything, check:
    • No blank or near-empty start frames: H3 ignores them and invents content.
    • The h3.scene must match the segment's stills. If a segment has a different camera, or someone is absent, give it its own scene and say what is there; negations ("no hands") prime the thing they forbid.
    • Diagram prompts name no characters and mention no text unless the stills show it, or H3 writes words.
    • A hand that must not touch something stays far from it in BOTH stills, and the path gives the hand a trajectory that never names the object ("lifts her hand straight up off the tabletop and holds it there"). "Ready to slam it", "reaching toward the switch" or "does not touch the switch" all produced touches. Add a qa_watch box around the object.
    • Describe a prop that must stay inert as what it is ("a plain painted object with no light in it"), in every scene text including a segment's own scene; H3 lit a dark indicator by itself. Never describe its state with light words ("dark", "unlit"): naming the light summoned a glow.
    • When H3 keeps inventing the same in-between state (a "stuck" door that swings open on every seed, a switch that flips itself), stop rerolling and pin the middle: add stills of the correct in-between moments and inject them into the segment. One keyframe holds only its own instant, so keep the gaps between pinned frames (endpoints included) at about 18 frames or less wherever the defect appeared. Where something moves through a gap, inject a mid-motion still rather than repeating an endpoint.
    • Diagram changes read best as a slide build ("fades in from transparent"). "An arrow grows" summons a drawing hand.
  • Review every master video before the repaint styles render the same segments. They share the prompt, so a prompt bug repeats in every style. render_order: "style" gives you that window; if you find a bug, stop, fix it, redo the master segment and re-queue the others.
  • Editing a path or scene while the loop runs: run re-reads the spec every cycle, but tasks already queued keep the prompt they were queued with. Run stop then resume: the unstarted tasks are pulled back and re-queued with the new prompt and the same seed. Use redo for segments already rendered with the old prompt.
  • Never reuse a seed number for different stills. reject/drop keep each segment's seed counter for exactly this reason (an old render with the same name would be taken as the new one); don't hand-edit state.json to reset seeds.
  • Deliverables are silent, with no burned-in text unless the user asks for it.
  • Do not touch GPU clocks or power limits. Use bounded timeouts on every ssh/rsync call; the code already sets them.
  • Never print or commit credentials. config.json and work/ are gitignored.

Before you say "done"

  • python -m storyboard status shows every requested scenario × style as VIDEO.
  • Each published video has a reviewed strip and a ledger verdict.
  • You looked at real frames (sheet, strip, full-res grabs) and did not rely only on file existence.
  • The publish dir or remote lists the files: rclone lsf <remote> if one is used.

Failure guide

symptomcausefix
every task fails within secondsstills missing on the node (No such file … .png in <root>/logs/<task>.log)pump syncs first and only queues on nodes holding both stills; check the node's stills/<story>/<style>/
WanGP splits one prompt into many requestsmulti_prompts_gen_type not FGuse the defaults
node stops answering after hoursunified-memory exhaustionone task per process (qworker) + MIN_AVAIL_MB watchdog; power-cycle if wedged
repaint changed an object's staterepaint prompt lacked the actionthe code passes the action; make the action explicit and reject the frame
style collapses toward the master inside a clipweak look textnext seed; then sharpen the look
Codex returns no filetransientcodex_image retries once; rerun stills (it only makes missing files)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Storyboard To Video AI 技能有什么作用?

使用此代码库,根据书面故事制作风格统一的插画解说静帧和无声视频(故事规格 JSON → Codex 图像模型生成静帧 → 重绘风格 → 在 WanGP GPU 节点上使用 MiniMax H3 生成首尾帧片段 → 拼接视频)。适用于新场景、新风格或重新渲染。不适用于单张一次性图片,也不适用于没有经批准静帧的文本生成视频。

为什么在 TypingMind 中使用 Storyboard To Video?

因为您只需安装一次,就能搭配任何模型使用。Storyboard To Video 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Storyboard To Video?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/0xSero/storyboard-to-video-system/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Storyboard To Video?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Storyboard To Video 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Storyboard To Video 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Storyboard To Video AI 技能免费吗?

0xSero 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇