Storyboard To Videoのロゴ

Storyboard To Video

コミュニティ
0xSero
storyboard-to-video

Produce consistent illustrated explainer stills and silent videos from a written story with this repo (story spec JSON → Codex image model stills → style repaints → MiniMax H3 first/last-frame clips on WanGP GPU nodes → stitched videos). Use for new scenarios, new styles, or re-renders. Not for single one-off images or text-to-video without approved stills.

Add to TypingMind

概要

公開者0xSero
リポジトリstoryboard-to-video-system
スキル名storyboard-to-video
スター
58
フォーク
3
同梱ファイル
14
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    0xSeroがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Storyboard To Video」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にStoryboard To Videoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Storyboard To Videoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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)

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Storyboard To Video」では何ができますか?

Produce consistent illustrated explainer stills and silent videos from a written story with this repo (story spec JSON → Codex image model stills → style repaints → MiniMax H3 first/last-frame clips on WanGP GPU nodes → stitched videos). Use for new scenarios, new styles, or re-renders. Not for single one-off images or text-to-video without approved stills.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Storyboard To Videoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Storyboard To Videoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStoryboard To Videoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Storyboard To Video」は無料ですか?

0xSeroがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇