Docs · v0.1.0
Blendout docs
Blendout is a small 3D previs studio that runs in your browser and that Claude drives over MCP. You describe a shot, Claude blocks it out (set, actors, motion, cameras, cuts), and you export an MP4 to use as the motion and layout reference for an AI video model.
Install
You need Node.js 18+ and ffmpeg (for MP4 export; on a Mac: brew install ffmpeg).
curl -L -o blendout.zip https://blendout.pages.dev/download/blendout.zip
unzip blendout.zip && cd blendout
npm install
npm start # opens http://localhost:5177
The app keeps the current scene in scenes/current.json and writes videos to renders/.
Connect Claude (MCP)
Claude Code
claude mcp add blendout -- node "/full/path/to/blendout/server/mcp.js"
Or just open the blendout folder in Claude Code. Its .mcp.json registers the server for that project automatically.
Claude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit config), then restart Claude Desktop:
{
"mcpServers": {
"blendout": { "command": "node", "args": ["/full/path/to/blendout/server/mcp.js"] }
}
}
The MCP server starts the Blendout app for you if it is not running, and opens it in your browser. Screenshots, storyboards and renders are drawn by that browser tab, so keep it open.
The prompt bar inside the app
The bar at the bottom of the viewport runs Claude Code headlessly with only the Blendout tools. It needs the Claude Code CLI signed in once: run claude in a terminal and type /login.
Your first scene
Ask Claude in plain English. Timestamps, lenses and camera feel all help:
Using blendout: a rider in full gear on a red Ducati launches off a truck ramp in
New York. Two bikes chase him. A car explodes behind the truck and throws the
chasers. Low front angle in slow motion while he's in the air, then from behind
as he rides away. Smooth camera, no shake.
Claude reads the guide, builds everything in one or two apply_ops batches, checks itself with storyboard and screenshot, and gives you a shot list. Say “render it” to get the MP4.
Vague brief? Claude asks a few quick questions first (camera feel, lens look, aspect, length), the same way a DP would.
The editor
- Free / Camera (Tab): orbit the set, or look through the shot camera that the edit uses at the playhead.
- Tools: V select, G move, R rotate, S scale, A add, F focus, Shift+D duplicate, Del delete, ⌘Z undo.
- Timeline: story time ruler, shot strip, slow-mo ranges and keyframes. Drag keys to retime them. Space plays the real video timing.
- Auto-key (K): moving things records keyframes at the playhead. With it off, moving an animated object shifts its whole path.
- Camera panel: feel, one-click framing presets around a subject, and a moves palette (push in, dolly zoom, pan, crane, orbit, whip pan…) applied from the playhead.
- Storyboard: one frame per shot plus a copyable shot list and colour legend.
World and time
- Metres, Y up, ground at y = 0. Every prefab faces
+Z. A person is 1.8 m tall. - Rotation is
[pitch, yaw, roll]in degrees. Yaw 90 faces +X. Roll spins around the object's own forward axis (a barrel roll). autoOrient: "yaw"faces the direction of travel;"full"also pitches along slopes and arcs. Extra rotation keys stack on top.- All keys, shots and ranges are in story seconds.
slowmostretches a range, so the exported video gets longer. - Wheels, rotors and walk cycles animate on their own from how far things travel. Vehicles and characters never sink below the ground.
Looks
| preset | look |
|---|---|
clay | Clay (light) |
studio | Studio grey |
night | Night |
desert | Desert |
snow | Snow |
color | Colour ID |
Subject colours
The world stays grey and every subject group gets a loud colour, so the video model can tell your cast apart. People and animals get diagonal stripes so rotation and pose read clearly, and characters get eyes so facing is unambiguous. Copies made with array share one colour, and so do objects with the same colorGroup (for example a car and its driver).
| # | colour | hex |
|---|---|---|
| 1 | red | #e0302b |
| 2 | blue | #2563eb |
| 3 | yellow | #f5c400 |
| 4 | green | #1fb345 |
| 5 | magenta | #d62fd0 |
| 6 | orange | #f26b0f |
| 7 | cyan | #14c2d1 |
| 8 | purple | #7c3aed |
Override per object with subject: true | false, color, pattern: "solid" | "stripes" | "checker" and colorGroup.
Cameras
Add a camera with {op:"add", kind:"camera", id, position, target | lookAt, lens}. The lens is in millimetres on a full-frame sensor: 14–24 wide, 35 natural, 50–85 portrait, 135+ telephoto.
Framing presets (shot op)
Placed from the subject's position and facing at a given time, with distance computed from the lens and the aspect ratio. If the subject is moving, the camera rides along.
| type | default |
|---|---|
extreme_wide | 18mm default |
wide | 24mm default |
full | 35mm default |
medium | 50mm default |
medium_closeup | 50mm default |
closeup | 85mm default |
extreme_closeup | 100mm default |
low_angle | 24mm default |
high_angle | 35mm default |
top_down | 28mm default |
over_shoulder | 50mm default, over the shoulder |
pov | 24mm default, from the eyes |
dutch | 35mm default, 15° roll |
profile | 50mm default |
Camera feel
Layered on top of any move. Subtle by default, lens-aware, with amount 0–3.
| style | feel |
|---|---|
tripod | Locked tripod |
gimbal | Smooth gimbal |
drone | Drone |
handheld | Light handheld |
heavy_handheld | Heavy handheld |
shoulder | Shoulder rig |
fpv | FPV drone |
Following a vehicle
follow attaches a camera to an object. Key its offset and lookOffset channels to fly around, under or through a moving car. That's how the under-chassis FPV dive in the demo works.
Export
Export MP4 renders every frame offline (all shots, slow motion and motion blur applied) and encodes H.264 yuv420p with +faststart, so every video model accepts it. Pick 480p for quick tests, 720p for most models, 1080p for finals. Aspects: 16:9, 9:16, 1:1, 4:5, 4:3 and 2.39:1.
Using the render with a video model
- Attach the MP4 as the video reference (motion, layout, camera).
- Paste the shot list and colour legend from the storyboard, then describe the real cast, wardrobe, location and look.
- Tell the model the reference is a grey blockout and the colours are only identifiers.
- Iterate at 480p and render the final at 720p or 1080p. If one section drifts, regenerate just that section.
Reference-guided models (Seedance 2.x, Kling) reinterpret the blockout into a real scene. Restyle models (Runway Aleph, Luma Modify) copy the geometry more literally.
MCP tools
| tool | what it does |
|---|---|
guide | The full reference (conventions, catalog, every op, a worked example). Claude reads it once per session. Also at /docs/llms.txt. |
get_scene | Compact text summary of objects, cameras, keys, shots and colours, or the full JSON. |
apply_ops | Builds and animates the scene from a batch of ops, applied in order. Each op returns a result line; errors do not stop the batch. |
screenshot | One frame at a story time, through the shot camera, a named camera or an overview. |
storyboard | Contact sheet of every shot (1–3 frames each) plus the shot list and colour legend. |
render_video | Renders the full edit to MP4 and returns the file path. |
Ops
Send these inside apply_ops. Positions are [x, y, z] or an object id.
| op | fields |
|---|---|
new_scene | {op:"new_scene", name, duration=8, fps=24, aspect="16:9"|"9:16"|"1:1"|"4:5"|"2.39:1", environment:{preset}} clears everything |
scene | {op:"scene", name?, duration?, fps?, aspect?, notes?} edit scene settings |
environment | {op:"environment", preset:"clay"|"studio"|"night"|"desert"|"snow"|"color", sky?, ground?, fog?, sun:{elevation,azimuth,intensity}?, groundSize?, hideGround?} |
add | {op:"add", id, kind, position?, rotation?(deg [pitch,yaw,roll]), scale?, color?, params?, action?, actionSpeed?, parent?, autoOrient?:"yaw"|"full"} kind:"camera" adds a camera: {id, position, target|lookAt, lens(mm), follow?} |
update | {op:"update", id, ...any fields to change; params merge; newId renames} |
delete | {op:"delete", id} |
key | {op:"key", id, channel:"position"|"rotation"|"scale"|"visible"|"action"|"target"|"lens"|"roll"|"shake", t, v, ease?:"linear"|"in"|"out"|"inOut"|"smooth", interp?:"smooth"|"linear"|"step"} |
keys | {op:"keys", id, channel, keys:[{t,v,ease?}], replace?:true} |
clear_keys | {op:"clear_keys", id, channel?, from?, to?} |
move | {op:"move", id, to:[x,y,z]|"objId", from?, start, end, ease?="inOut"} |
path | {op:"path", id, points:[[x,y,z],...], start, end, ease?, autoOrient?:true|"full"|false} constant-speed smooth path; object auto-faces travel direction |
jump | {op:"jump", id, from?, to, start, end, height=3} ballistic arc; apex = higher endpoint + height |
spin | {op:"spin", id, axis:"roll"|"pitch"|"yaw", turns=1, start, end, ease?, pivot?} barrel roll = roll, backflip = pitch -1; tumbles around the object middle (sets pivot); end at 0.25/0.5 extra turn to land on its side/roof |
rotate | {op:"rotate", id, to:[p,y,r], start, end, ease?} |
orbit | {op:"orbit", id, center:[x,y,z]|"objId", radius, height, startAngle, endAngle, start, end} (cameras auto-aim at center) |
action | {op:"action", id, action, at=0} switch animation clip at time (e.g. run -> jump -> fall) |
show | {op:"show", id, at} / {op:"hide", id, at} |
array | {op:"array", id, count, offset:[dx,dy,dz], jitter?, stagger?(s), scaleJitter?} duplicate incl. animation (herds, crowds, rows of buildings) |
mount | {op:"mount", rider, vehicle, seat?} parent a person onto a vehicle/horse in a ride/drive pose |
cut | {op:"cut", camera, at, name?, note?} switch the active camera at story time; name/note describe the shot for the storyboard and the video-model prompt |
shots | {op:"shots", shots:[{camera,start}]} replace the whole edit |
slowmo | {op:"slowmo", start, end, speed=0.25} slow motion (story-time range); speed>1 = speed ramp |
timewarp | {op:"timewarp", segments:[{start,end,speed}]} replace all slow-mo |
motion_blur | {op:"motion_blur", start, end, amount=0.5 (0-1 = shutter, 1 = very heavy streaks)} real motion blur in the exported MP4 (slower to render) |
zoom | {op:"zoom", camera, to(mm lens), from?, start, end, ease?} optical zoom |
dolly | {op:"dolly", camera, factor?(0.5 = halve distance to target)|distance?|to?, start, end, ease?} push in / pull out |
shake | {op:"shake", camera, to(0-1), from?, start, end} handheld/impact shake |
look_at | {op:"look_at", camera, target:"objId"|[x,y,z], offset?:[0,1,0]} aim camera (object = tracks it every frame) |
follow | {op:"follow", camera, object, offset:[x,y,z], space:"local"|"world"} chase cam that rides along with an object (local offset rotates with it). Animate it with {op:"keys", id:cam, channel:"offset", keys:[{t,v}]} and aim with channel "lookOffset" (offset from the object, world axes) to fly around/under/through a moving vehicle |
shot | {op:"shot", camera, subject, type:"extreme_wide"|"wide"|"full"|"medium"|"medium_closeup"|"closeup"|"extreme_closeup"|"low_angle"|"high_angle"|"top_down"|"over_shoulder"|"pov"|"dutch"|"profile", side?:"front"|"front_left"|"left"|"back_left"|"back"|"back_right"|"right"|"front_right", lens?, at?, key?, towards?(for over_shoulder)} places + aims a camera with proper framing relative to the subject (uses the subject facing at time at). key:true keyframes it (chain several for a designed move). If the subject is moving at that time the camera rides along (tracking shot); force with follow:true/false |
camera_style | {op:"camera_style", camera, amount?(0-3, default 1), style:"tripod"|"gimbal"|"drone"|"handheld"|"heavy_handheld"|"shoulder"|"fpv"} camera feel (procedural motion layered on the move) |
dolly_zoom | {op:"dolly_zoom", camera, to(lens mm), from?, start, end} vertigo effect: subject size fixed, background warps |
pan | {op:"pan", camera, degrees(+ = right), start, end, ease?} rotate on the tripod |
tilt | {op:"tilt", camera, degrees(+ = up), start, end} |
truck | {op:"truck", camera, distance(+ = right, m), start, end, keepAim?} slide sideways |
crane | {op:"crane", camera, height(+ up / - down, m), start, end, keepAim=true} pedestal/crane up or down |
crash_zoom | {op:"crash_zoom", camera, to(mm), start, end} very fast punch-in zoom |
whip_pan | {op:"whip_pan", camera, degrees=90, start, end(~0.3s later)} fast blurred pan, good as a transition |
fpv | {op:"fpv", camera, points:[[x,y,z],...], start, end, bank=25, lookAhead=0.35} drone fly-through that banks into turns |
undo | {op:"undo"} / {op:"redo"} |
Catalog (69 kinds)
Characters
| kind | what it is | params | actions |
|---|---|---|---|
human | Articulated mannequin, 1.8m. params.helmet:true = full-face helmet (riders, pilots, soldiers). Origin at the feet. For sit/ride/drive the origin is the pelvis: put it on the seat. | {"height":1.8,"helmet":false} | idle, walk, run, sprint, jump, ride, sit, wave, cheer, crouch, fall, punch, point, dance, drive, drive_look_left, drive_look_right, look_left, look_right, lie |
child | Smaller mannequin, 1.2m. | {"height":1.2} | idle, walk, run, sprint, jump, ride, sit, wave, cheer, crouch, fall, punch, point, dance, drive, drive_look_left, drive_look_right, look_left, look_right, lie |
elephant | 3.2m tall, 5.5m long, trunk, tusks, ears. | idle, walk, run, charge, rear | |
horse | 1.7m at head. seat for a rider at y=1.45. | idle, walk, run, charge, rear | |
dog | Medium dog. | idle, walk, run, charge, rear | |
lion | Lion/tiger sized quadruped with mane. | idle, walk, run, charge, rear | |
dinosaur | T-rex style biped, 4.5m tall. | idle, walk, run, roar | |
bird | Bird with flapping wings. Use for eagles/flocks (scale up for dragons). | {"wingspan":1} | fly, glide, idle |
Vehicles
| kind | what it is | params | actions |
|---|---|---|---|
motorbike | Sport bike, 2.1m long. Mount a rider with {op:"mount"}. | ||
bicycle | Bicycle. | ||
car | Car, 4.5m long, see-through cabin with seats, dashboard, steering wheel and side mirrors. params.style "sedan"|"sports" (low coupe, e.g. Porsche/Supra). Driver seat (left-hand drive, +X side) via mount. Left mirror ~[1.05, 1.0, 0.7] in car space, right mirror x=-1.05. dashGlow:true lights the dash. Ground clearance 0.3m (a camera can pass underneath). | {"style":"sedan","dashGlow":false} | |
suv | Tall off-roader with see-through cabin. | {"dashGlow":false} | |
truck | Box truck, 9m long. | ||
bus | City bus. | ||
helicopter | Rotor spins always. | ||
jet | Fighter jet. | ||
boat | Speedboat. Pair with a water plane. | ||
train | Locomotive + params.cars wagons. | {"cars":1} | |
tank | Tank with turret. | ||
spaceship | Sci-fi ship. |
Environment
| kind | what it is | params | actions |
|---|---|---|---|
ground | Flat slab, adds a different surface. | {"width":20,"depth":20} | |
road | Straight road along Z with lane dashes, centred on origin, surface at y=0. wet:true = glossy rain-soaked asphalt. | {"length":60,"width":8,"lanes":2,"sidewalk":true,"wet":false} | |
building | Box building with window insets. | {"width":10,"depth":10,"height":20,"windows":true} | |
house | House with pitched roof. | {"width":8,"depth":8,"height":6} | |
tower | Tall round tower/skyscraper. | {"height":60,"radius":3} | |
tree | Leafy tree. | {"height":5} | |
pine | Conifer. | {"height":7} | |
palm | Palm tree. | {"height":7} | |
bush | Low bush. | ||
rock | Faceted boulder. | {"size":2} | |
cliff | Rocky plateau. Flat top at y=height, its front edge (drop) is at z = +depth/2. Origin bottom centre. | {"width":30,"height":25,"depth":20} | |
mountain | Background mountain. | {"radius":60,"height":60} | |
hill | Gentle mound. | {"radius":20,"height":8} | |
ramp | Wedge rising toward +Z. Top edge at z=+length/2, y=height. | {"width":4,"height":1.5,"length":6} | |
stairs | Stairs rising toward +Z. | {"width":3,"height":3,"length":5,"steps":12} | |
wall | Wall along X. | {"width":10,"height":3,"thickness":0.3} | |
fence | Picket fence along X. | {"length":10} | |
bridge | Deck bridge along Z, deck top at y=height. | {"length":40,"width":8,"height":6} | |
corridor | Interior hallway/tunnel along Z, open at both ends. | {"width":4,"height":4,"length":30,"arched":true} | |
room | Interior room: floor + 3 walls (open toward +Z for camera). | {"width":10,"height":3.5,"depth":10} | |
meadow | Instanced grass with white flowers (flowers 0-1 share). Great for fields. | {"width":60,"depth":60,"density":2,"flowers":0.35} | |
water | Flat water surface, slightly blue. | {"width":100,"depth":100} | |
streetlight | Lamp post; arm reaches toward +X. lit:true adds a real warm light (use at night, ~10-16 lamps max). | {"height":6,"lit":false} | |
pole | Utility pole. | {"height":8} | |
sign | Billboard on legs. | {"width":6,"height":3} | |
arch | Arch gateway. | {"width":6,"height":6} | |
pillar | Column. | {"height":6,"radius":0.5} |
Props
| kind | what it is | params | actions |
|---|---|---|---|
plane | Flat plane (thin). | {"width":4,"depth":4} | |
crate | 1m crate. | ||
barrel | Oil barrel. | ||
cone | Traffic cone. | ||
table | Table, top at 0.75. | ||
chair | Chair facing +Z, seat at y=0.45. | ||
sofa | Sofa facing +Z, seat at y=0.45. | ||
bed | Bed, headboard at -Z. | ||
door | Door in frame. | ||
screen | Flat screen. | {"width":1.6,"height":0.9} | |
sword | Sword, blade up. | ||
ball | Football-size ball. | {"radius":0.11} | |
box | Primitive box, origin bottom centre. | {"width":1,"height":1,"depth":1} | |
sphere | Primitive sphere, origin at bottom. | {"radius":0.5} | |
cylinder | Primitive cylinder, origin bottom. | {"radius":0.5,"height":1} | |
cone_shape | Primitive cone. | {"radius":0.5,"height":1} | |
capsule | Primitive capsule. | {"radius":0.3,"height":1.8} | |
torus | Ring standing up, facing +Z. | {"radius":1,"tube":0.2} |
Effects
| kind | what it is | params | actions |
|---|---|---|---|
explosion | Fireball blobs that burst at params.at (seconds) and fade. Invisible before. | {"at":0,"duration":1.6,"size":8} | |
smoke | Billowing smoke stack. | {"height":15} | |
debris | Chunks flying out from origin at params.at. | {"at":0,"count":14,"size":6} | |
dust | Ground dust puff (hooves, landing, skid). | {"at":0,"duration":2,"size":4} |
Troubleshooting
Screenshots or renders say no tab is open
Open http://localhost:5177. The browser tab does the drawing. If several tabs are open, the most recently focused one is used.
Export fails with “ffmpeg not found”
Install ffmpeg (brew install ffmpeg) or set FFMPEG_PATH.
The in-app prompt bar says not signed in
Run claude in a terminal and type /login once. Driving Blendout from Claude Desktop or Claude Code over MCP does not need this.
Port 5177 is busy
Blendout is probably already running there. To use another port, set BLENDOUT_PORT for both the app and the MCP server.