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

World and time

Looks

presetlook
clayClay (light)
studioStudio grey
nightNight
desertDesert
snowSnow
colorColour 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).

#colourhex
1red#e0302b
2blue#2563eb
3yellow#f5c400
4green#1fb345
5magenta#d62fd0
6orange#f26b0f
7cyan#14c2d1
8purple#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.

typedefault
extreme_wide18mm default
wide24mm default
full35mm default
medium50mm default
medium_closeup50mm default
closeup85mm default
extreme_closeup100mm default
low_angle24mm default
high_angle35mm default
top_down28mm default
over_shoulder50mm default, over the shoulder
pov24mm default, from the eyes
dutch35mm default, 15° roll
profile50mm default

Camera feel

Layered on top of any move. Subtle by default, lens-aware, with amount 0–3.

stylefeel
tripodLocked tripod
gimbalSmooth gimbal
droneDrone
handheldLight handheld
heavy_handheldHeavy handheld
shoulderShoulder rig
fpvFPV 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

  1. Attach the MP4 as the video reference (motion, layout, camera).
  2. Paste the shot list and colour legend from the storyboard, then describe the real cast, wardrobe, location and look.
  3. Tell the model the reference is a grey blockout and the colours are only identifiers.
  4. 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

toolwhat it does
guideThe full reference (conventions, catalog, every op, a worked example). Claude reads it once per session. Also at /docs/llms.txt.
get_sceneCompact text summary of objects, cameras, keys, shots and colours, or the full JSON.
apply_opsBuilds and animates the scene from a batch of ops, applied in order. Each op returns a result line; errors do not stop the batch.
screenshotOne frame at a story time, through the shot camera, a named camera or an overview.
storyboardContact sheet of every shot (1–3 frames each) plus the shot list and colour legend.
render_videoRenders 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.

opfields
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

kindwhat it isparamsactions
humanArticulated 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
childSmaller 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
elephant3.2m tall, 5.5m long, trunk, tusks, ears.idle, walk, run, charge, rear
horse1.7m at head. seat for a rider at y=1.45.idle, walk, run, charge, rear
dogMedium dog.idle, walk, run, charge, rear
lionLion/tiger sized quadruped with mane.idle, walk, run, charge, rear
dinosaurT-rex style biped, 4.5m tall.idle, walk, run, roar
birdBird with flapping wings. Use for eagles/flocks (scale up for dragons).{"wingspan":1}fly, glide, idle

Vehicles

kindwhat it isparamsactions
motorbikeSport bike, 2.1m long. Mount a rider with {op:"mount"}.
bicycleBicycle.
carCar, 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}
suvTall off-roader with see-through cabin.{"dashGlow":false}
truckBox truck, 9m long.
busCity bus.
helicopterRotor spins always.
jetFighter jet.
boatSpeedboat. Pair with a water plane.
trainLocomotive + params.cars wagons.{"cars":1}
tankTank with turret.
spaceshipSci-fi ship.

Environment

kindwhat it isparamsactions
groundFlat slab, adds a different surface.{"width":20,"depth":20}
roadStraight 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}
buildingBox building with window insets.{"width":10,"depth":10,"height":20,"windows":true}
houseHouse with pitched roof.{"width":8,"depth":8,"height":6}
towerTall round tower/skyscraper.{"height":60,"radius":3}
treeLeafy tree.{"height":5}
pineConifer.{"height":7}
palmPalm tree.{"height":7}
bushLow bush.
rockFaceted boulder.{"size":2}
cliffRocky plateau. Flat top at y=height, its front edge (drop) is at z = +depth/2. Origin bottom centre.{"width":30,"height":25,"depth":20}
mountainBackground mountain.{"radius":60,"height":60}
hillGentle mound.{"radius":20,"height":8}
rampWedge rising toward +Z. Top edge at z=+length/2, y=height.{"width":4,"height":1.5,"length":6}
stairsStairs rising toward +Z.{"width":3,"height":3,"length":5,"steps":12}
wallWall along X.{"width":10,"height":3,"thickness":0.3}
fencePicket fence along X.{"length":10}
bridgeDeck bridge along Z, deck top at y=height.{"length":40,"width":8,"height":6}
corridorInterior hallway/tunnel along Z, open at both ends.{"width":4,"height":4,"length":30,"arched":true}
roomInterior room: floor + 3 walls (open toward +Z for camera).{"width":10,"height":3.5,"depth":10}
meadowInstanced grass with white flowers (flowers 0-1 share). Great for fields.{"width":60,"depth":60,"density":2,"flowers":0.35}
waterFlat water surface, slightly blue.{"width":100,"depth":100}
streetlightLamp post; arm reaches toward +X. lit:true adds a real warm light (use at night, ~10-16 lamps max).{"height":6,"lit":false}
poleUtility pole.{"height":8}
signBillboard on legs.{"width":6,"height":3}
archArch gateway.{"width":6,"height":6}
pillarColumn.{"height":6,"radius":0.5}

Props

kindwhat it isparamsactions
planeFlat plane (thin).{"width":4,"depth":4}
crate1m crate.
barrelOil barrel.
coneTraffic cone.
tableTable, top at 0.75.
chairChair facing +Z, seat at y=0.45.
sofaSofa facing +Z, seat at y=0.45.
bedBed, headboard at -Z.
doorDoor in frame.
screenFlat screen.{"width":1.6,"height":0.9}
swordSword, blade up.
ballFootball-size ball.{"radius":0.11}
boxPrimitive box, origin bottom centre.{"width":1,"height":1,"depth":1}
spherePrimitive sphere, origin at bottom.{"radius":0.5}
cylinderPrimitive cylinder, origin bottom.{"radius":0.5,"height":1}
cone_shapePrimitive cone.{"radius":0.5,"height":1}
capsulePrimitive capsule.{"radius":0.3,"height":1.8}
torusRing standing up, facing +Z.{"radius":1,"tube":0.2}

Effects

kindwhat it isparamsactions
explosionFireball blobs that burst at params.at (seconds) and fade. Invisible before.{"at":0,"duration":1.6,"size":8}
smokeBillowing smoke stack.{"height":15}
debrisChunks flying out from origin at params.at.{"at":0,"count":14,"size":6}
dustGround 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.