Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

blockout-3d

БесплатноБез исполняемых скриптовНе проверен

Stage a shot in 3D before generating it: build a grey set at real scale, film it with a free camera and camera move presets on a timeline 3D clip, review the…

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

Об этом скилле

Block out a shot in 3D

A blockout is a grey set filmed by a timeline model3d clip. The clip's render is a reference video. A video model that takes reference video follows its layout and camera, and paints every surface itself.

Use a blockout when the prompt alone cannot hold the shot: who stands where, what the lens sees, how the camera moves. Skip it for a single static framing that a first-frame image already fixes.

The 3D model is edited with edit_model3d (nodetool-3d-scene has every verb). The camera lives on the timeline clip and is edited with edit_timeline. Nothing here needs an open editor.

Steps

  1. Build the set. create_model3d, then one edit_model3d call. The scene is +Y up, in meters, ground at y = 0. Use real sizes: a door is 2 m tall, a table top is at 0.75 m, a seat at 0.45 m, a car is about 4.5 m long. A plane is the floor, box objects are walls and furniture. A real prop or location from the library goes in with add_model {model, position, height}: it stands on the ground at position, scaled to height meters.
  2. Place the cast. add_object {kind: "figure"} per character, with body, pose and position. Set entityId and label on every figure. They tie the mannequin to the cast entity the prompt names.
  3. Add the clip in free mode. add_model3d_clip with style.camera.mode: "free", a position and a target in meters, and a lens.
  4. Frame the first shot. set_model3d_style with keyAtMs: 0 keys the pose at the clip's start.
  5. Apply moves. apply_model3d_camera_move per move. Each starts from the camera as it stands at startMs, so moves chain.
  6. Review in clay. preview_timeline_frame with pass: "clay" and one timecode per beat. Fix the set or the camera and look again.
  7. Render the reference. render_model3d_reference stores a grey video on the clip and returns its asset id and a one-sentence cameraMove.
  8. Generate. Send the reference to a model that takes reference video, or put cameraMove in the prompt for one that does not.

The set and the camera

{"ops": [
  {"op": "add_object", "kind": "plane", "name": "floor"},
  {"op": "set_transform", "target": "floor", "scale": [6, 6, 1]},
  {"op": "add_object", "kind": "box", "name": "counter", "position": [0, 0.45, -1]},
  {"op": "set_transform", "target": "counter", "scale": [2, 0.9, 0.6]},
  {"op": "add_object", "kind": "figure", "name": "ana", "body": "female",
   "pose": "stand", "position": [0, 0, 0], "entityId": "<entity id>", "label": "Ana"}
]}

Then on the timeline, in one edit_timeline call:

{"timeline_id": "<id>", "ops": [
  {"op": "add_model3d_clip", "assetId": "<model asset id>", "durationMs": 4000,
   "style": {"camera": {"mode": "free", "position": [0, 1.6, 4],
             "target": [0, 1.4, 0], "focalLengthMm": 35}}},
  {"op": "apply_model3d_camera_move", "target": "<clip id>", "move": "pushIn",
   "amount": 0.4, "startMs": 0, "durationMs": 2500, "easing": "easeInOut"},
  {"op": "apply_model3d_camera_move", "target": "<clip id>", "move": "orbit",
   "amount": 30, "startMs": 2500, "durationMs": 1500}
]}

The first op's result carries the clip id. Split the call there when the id is not known yet.

A free camera is position (the eye), target (the point it looks at), rollDeg, and a lens given once as focalLengthMm or fovDeg. The lens is on a full-frame sensor, so fovDeg is the vertical angle: 24 mm is 53 degrees, 35 mm is 38, 50 mm is 27, 85 mm is 16. Passing both lens fields is refused.

set_model3d_style without keyAtMs changes the base pose under every key. With keyAtMs (milliseconds from the clip's start) it writes keyframes at that time and leaves the base alone. keyEasing eases the segment that ends at the key. The result lists cameraKeyTimesMs.

{"op": "set_model3d_style", "target": "<clip id>", "keyAtMs": 0,
 "patch": {"camera": {"position": [0, 1.6, 4], "target": [0, 1.4, 0]}}}

Camera moves

amount is in the move's own unit and a negative amount reverses the move. Distances are a fraction of the eye-to-target distance at the start of the move, so a push of 0.5 from 4 m away ends 2 m away.

move Unit Default Positive amount
pan degrees 30 Turns right, the eye stays put
tilt degrees 15 Turns up, the eye stays put
orbit degrees 45 The eye circles to its right around the target
dutch degrees 15 The horizon turns clockwise
pushIn fraction of distance 0.3 The eye moves toward the target, at most 0.95
truck fraction of distance 0.25 Eye and target slide right
crane fraction of distance 0.25 The eye rises and keeps its target
pedestal fraction of distance 0.25 Eye and target rise together
dollyZoom fraction of distance 0.4 The eye moves in while the lens widens, at most 0.95
zoom focal leng
Полный SKILL.md на GitHub

Установить blockout-3d в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл blockout-3d?

Stage a shot in 3D before generating it: build a grey set at real scale, film it with a free camera and camera move presets on a timeline 3D clip, review the frames in clay, and render the reference video a video model follows. Use when a shot needs a specific layout, framing or camera move. For editing the 3D model itself use nodetool-3d-scene.

Как установить скилл blockout-3d?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл blockout-3d запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить blockout-3d с