Logo Blender Claymation

Blender Claymation

Cộng đồng
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".

Tổng quan

Nhà phát hànhangrypenguinpng
Kho mãblender-claymation-skill
Tên kỹ năngblender-claymation
Sao
32
Bản fork
9
Tệp đi kèm
11
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được angrypenguinpng công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Blender Claymation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/angrypenguinpng/blender-claymation-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/angrypenguinpng/blender-claymation-skill.git \
  .claude/skills/blender-claymation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Blender Claymation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Blender Claymation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Blender Claymation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Blender Claymation làm được gì?

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".

Vì sao nên dùng Blender Claymation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Blender Claymation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Blender Claymation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/angrypenguinpng/blender-claymation-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Blender Claymation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Blender Claymation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Blender Claymation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Blender Claymation có miễn phí không?

Có. Kỹ năng này được angrypenguinpng phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇