Blender Claymationのロゴ

Blender Claymation

コミュニティ
angrypenguinpng
blender-claymation

Make stop-motion claymation videos in Blender from a one-line idea. Builds a miniature clay set and puppet in Python, animates it "on twos" at 12 fps with hand-made boil, renders with Cycles, encodes an mp4, and presents it in a video player. Use when the user asks for a claymation, stop-motion, plasticine or clay animation, a clay character or short film made in Blender, or "an animation that looks like a real studio made it".

概要

公開者angrypenguinpng
リポジトリblender-claymation-skill
スキル名blender-claymation
スター
32
フォーク
9
同梱ファイル
11
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 11個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/angrypenguinpng/blender-claymation-skill/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/angrypenguinpng/blender-claymation-skill.git \
  .claude/skills/blender-claymation
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Blender claymation

Turn a short idea ("a penguin who lives in an igloo") into a ~20 second stop-motion clay film: a tabletop miniature built in real-world metres, a puppet made of lumpy clay primitives, a locked-off camera with shallow depth of field, and animation that moves in held steps like a real animator nudging clay between shots.

Everything is scripted: one Python scene file per film, rendered headless. Nothing needs the Blender UI.

Files in this skill

  • scripts/claylib.py: clay material, lumpy primitives, lights, camera, easing, Boil jitter, constant-interpolation keys, CLI (cli()) and render entry point (run()).
  • examples/igloo.py: character film. A penguin peeks out of an igloo, waddles out, catches a snowflake and waves.
  • examples/clay_spark.py: desk-set film. A sleeping clay ball wakes, sprouts rays and hops onto books.
  • scripts/blender.sh: finds Blender and runs a scene headless.
  • scripts/encode.sh: 12 fps PNGs to a 24 fps mp4 with grain and vignette.
  • scripts/contact_sheet.sh: tiles frames so you can review the story in one image.
  • assets/player.html: video player page for an Artifact (autoplay, muted, loops).
  • references/look-guide.md: what makes it read as clay, with numbers. Read it before building.
  • references/recording-demo.md: optional OBS screen recording of the finished result.

Paths below are relative to this skill's directory ($SKILL). Work inside the user's project folder: put scene scripts in scenes/, frames in renders/<name>/, and finished videos in out/.

Workflow

Keep the user in the loop the way a small studio would, with short, warm updates: a one-line plan, a still when the set looks right, a note when the character moves, then the film.

1. Check tools

$SKILL/scripts/blender.sh finds Blender and fails with install hints if it's missing. You need Blender 4.2+ (tested on 5.2) and ffmpeg. Install as needed:

  • macOS: brew install --cask blender
  • Linux: sudo snap install blender --classic
  • Windows: winget install BlenderFoundation.Blender

Cycles picks the GPU automatically (Metal, OptiX, CUDA, HIP, oneAPI) and falls back to CPU. On CPU, halve the resolution and samples.

2. Plan the short before writing code

20 s = 240 frames at 12 fps. Write a beat sheet in frame numbers: establishing hold (about 30 frames), character reveal, two or three story beats, and a button ending (happy pose, blink, hold). Give every beat anticipation, action and settle. Hold key poses 4–8 frames.

Stage it like a real set: one locked-off camera, a tabletop miniature in metres (character 5–10 cm tall, camera 0.5–0.9 m away, 50 mm lens), and a backdrop close behind.

3. Write the scene script

Copy the closest example into scenes/<name>.py and rewrite it for the new idea. Keep its structure:

  1. OPTS = cli('<name>'), reset(), sc = setup_render(res=OPTS['res'], samples=OPTS['samples']), world(...)
  2. Set: materials via clay(name, color, ...), geometry via sphere / rounded_box / cylinder with lumpy= displacement. Nothing perfectly smooth or perfectly straight.
  3. Puppet: primitives parented under empties. Root at the feet, then body pivot, then head pivot; limbs hang off pivot empties so poses are just rotations. Eyes are glossy black beads. Blinks and expressions are replacement parts swapped by scale (1e-4 hides one), like real stop-motion faces.
  4. Lights and camera: key, fill and rim area_lights, plus a practical (lamp glow, window, fairy-light bokeh from small emissive spheres). camera(loc, target, lens, fstop, focus).
  5. Animation: for f in range(1, 241): compute the pose with seg / ease / ease_out_back, key() every animated property on every frame, add Boil jitter to puppets, flicker the key light ±1.2%. Then call constant_interp() and finally run(sc, OPTS).

The sprout, the hops and the snowflake landing on the beak in the examples show squash-and-stretch, arcs and props that follow a moving part.

4. Look-dev with cheap stills

bash
$SKILL/scripts/blender.sh scenes/<name>.py --still 1 --res 960 540 --samples 32 --out renders/<name>_test

Render 4–6 frames that cover the story beats (a few seconds each on a recent GPU), then look at them. Tile them with ffmpeg hstack or vstack if that helps. Check these before any full render:

  • Exposure. Clay washing out to pastel means too bright. Lower light energy or sc.view_settings.exposure.
  • Contact. Feet, rays and limbs touch the ground rather than float or sink.
  • Eyes. They read at thumbnail size.
  • Composition. Horizon placement and lead room are right.
  • Bokeh. Background practicals show as soft discs. A longer lens or lower f-stop gives bigger bokeh.

5. Render the full shot in the background

bash
nohup $SKILL/scripts/blender.sh scenes/<name>.py --res 1600 900 --samples 80 --out renders/<name> > renders/<name>.log 2>&1 &
ls renders/<name> | wc -l   # progress

An Apple M4 Pro does about 6–7 s per frame at 1600×900 (240 frames ≈ 25–30 min). Run one render per GPU at a time, since two in parallel are slower than two in a row. When waiting on a render, match pgrep -x Blender (blender on Linux), not pgrep -f, which also matches your own watcher's command line. --range A B re-renders a slice after a fix.

6. Encode and review

bash
$SKILL/scripts/encode.sh renders/<name> out/<name>.mp4
$SKILL/scripts/contact_sheet.sh renders/<name> out/<name>_sheet.jpg 20

Look at the contact sheet. Every beat should read, with no popping, floating or intersecting parts. Fix it and re-render only the affected range.

7. Present it

If the Artifact tool is available, copy assets/player.html to out/index.html, set its <title> and reel buttons, and publish it with the videos as supporting files (for example files: {"<name>.mp4": "out/<name>.mp4"}). In the desktop app, open it beside the chat (show_pane → artifact). Otherwise give the user the mp4 path.

8. Optional: record a demo

To make a screen recording of the finished film playing in the app, follow references/recording-demo.md. Record only the final playback, not the build.

同梱ファイル

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

よくある質問

AIスキル「Blender Claymation」では何ができますか?

Make stop-motion claymation videos in Blender from a one-line idea. Builds a miniature clay set and puppet in Python, animates it "on twos" at 12 fps with hand-made boil, renders with Cycles, encodes an mp4, and presents it in a video player. Use when the user asks for a claymation, stop-motion, plasticine or clay animation, a clay character or short film made in Blender, or "an animation that looks like a real studio made it".

TypingMindでBlender Claymationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Blender Claymationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBlender Claymationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/angrypenguinpng/blender-claymation-skill/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Blender Claymationを使えるAIモデルはどれですか?

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

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

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

AIスキル「Blender Claymation」は無料ですか?

はい。angrypenguinpngがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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