Shots
An ordered shot list with hard cuts, camera flights through waypoints, and follow cams.
shots is an edit: an ordered list of shots, each with its own camera, joined by hard cuts. It's how we rebuild multi-shot reference videos.

{
"canvas": { "fps": 30 },
"lighting": { "rig": "golden_hour" },
"environment": { "background": { "sky": {} } },
"materials": {
"floor": { "preset": "gravel" },
"paint": { "preset": "glossy_plastic", "color": "#d23a33" }
},
"paths": {
"lap": {
"polyline": {
"points": [[-12, 0, 8], [12, 0, 8], [12, 0, -8], [-12, 0, -8]],
"closed": true,
"corner_radius": 4
}
}
},
"nodes": {
"floor": {
"mesh": {
"geometry": { "plane": { "size": [80, 80] } },
"material": "floor"
},
"transform": { "rotation": [-90, 0, 0] }
},
"car": {
"follow": { "path": "lap", "speed": 8 },
"mesh": {
"geometry": { "box": { "size": [1.8, 0.8, 4] } },
"material": "paint"
},
"transform": { "position": [0, 0.4, 0] }
}
},
"shots": [
{
"name": "wide",
"duration": 2,
"camera": { "position": [0, 18, 26], "target": [0, 0, 0], "fov": 40 },
"to": { "position": [6, 14, 22] },
"easing": "ease_in_out_sine"
},
{
"name": "chase",
"duration": 2,
"follow": "car",
"camera": {
"position": [0, 2.5, 7],
"target": [0, 0.5, -4],
"focal_length": 35
}
},
{
"name": "flyby",
"duration": 2,
"camera": { "position": [-14, 3, 14], "target": [0, 0, 0] },
"via": [{ "position": [0, 4, 16] }, { "position": [14, 3, 14] }]
}
],
"timeline": { "duration": 6, "loop": "loop" }
}apps/docs/examples/shots.json · render it with motion-sdk render apps/docs/examples/shots.json -t 1 -o shots.pngA Shot
durationin seconds. Make cuts land on frames:duration * fpsshould be whole. The validator checks it.camera:position,target, andfovorfocal_lengthin mm, andprojection.to: an end pose. The camera moves fromcameratotowitheasing.via: waypoints. The camera flies one smooth curve through each at an even speed.follow: a node id.positionandtargetbecome offsets from it, for chase cams.move: a camera move preset for this shot.name: for your own reference.transition: how the cut into this shot looks: a flash, fade, wipe or whip pan. It's an authoring feature (see Shot Transitions).motion_blur:{"samples": 12, "shutter": 0.5}blurs exported frames inside this shot and overrides the export's setting. Previews draw sharp.
The shots' total should match the timeline's duration: later shots are never seen, and the validator warns.
Coming soon:Per-shot post settings (grade, bloom) are on the roadmap.
Per-Shot Look
stylise and rays on a shot replace post.stylise and post.rays while it plays (see Stylise).
API Reference
Shot
One camera setup in the edit.
| Property | Type | Default | Description |
|---|---|---|---|
| camera | ShotCamera | {} | Camera at the start of the shot. |
| duration* | number | required | Seconds. The next shot starts with a hard cut. |
| easing | Easing | "linear" | Easing of the start→end move. |
| follow | string | — | Track this node: position and target are offsets from its world position. |
| motion_blur | MotionBlur | — | Motion blur for exported frames inside this shot (overrides the export's; previews draw sharp). Authoring builds. |
| move | CameraMove | — | Cinematic preset layered on the shot (start is relative to the shot; duration defaults to the shot's). |
| name | string | — | Label for humans and error messages. |
| rays | Rays | — | Light shafts for this shot (replaces post.rays while it plays). |
| stylise | Stylise | — | Stylise look for this shot (replaces post.stylise while it plays). |
| to | ShotCamera | — | Camera at the end of the shot (unset fields stay as at the start). |
| transition | ShotTransition | — | How the cut into this shot looks (default: a hard cut). Centred on the cut, half before it and half after. Authoring builds. |
| via | ShotCamera[] | — | Waypoints between camera and to: the camera flies one smooth curve through each in order at an even speed (easing shapes the whole flight). Unset fields carry over from the point before. Without to, the last waypoint is the end. |
ShotCamera
Camera settings for a shot. Anything omitted comes from the scene camera.
| Property | Type | Default | Description |
|---|---|---|---|
| focal_length | number | — | Lens focal length in mm (full-frame); overrides fov. |
| fov | number | — | Vertical field of view, degrees. |
| ortho_height | number | — | Visible height for an orthographic shot. |
| position | [x, y, z] | — | Camera position for the shot. |
| projection | Projection | — | perspective or orthographic for this shot. |
| target | [x, y, z] | — | Point the camera looks at. |