photo_flythrough
Generate a cinematic 2.5D fly-through video from a single photo, with camera-path clamping and probe-frame QA to avoid seams, edge exposure, smears, and blank frames.
Instructions
One-call photo -> cinematic 2.5D fly-through with built-in QA. Two layers of protection: (1) PREVENTION -
the safe camera envelope of the scene is computed from the depth budget and geometry, and every move in
moves (same shape as the camera_move tool: to_location [x,y,z] in metres, optional from_location,
to_rotation_deg [tilt, pan, roll] in degrees, start_frame/end_frame, easing) is clamped into it before
rendering, so the margin fold and scene edge stay out of frame by construction; the envelope is returned
so you can plan inside it. (2) SELF-CHECK - probe frames along the path are rendered and analyzed for
seams, edge exposure, smears and blank frames; failing poses are pulled back and re-probed up to
max_adjust_rounds. The mp4 is rendered only when probes are clean (unless render_anyway), then spot-checked
from the encoded file. depth_path: reuse an estimate_depth result; empty = estimate here. shake: e.g.
{"strength": 0.012, "speed": 3} for a gentle handheld float. Returns {video, clean, envelope, clamps,
attempts, unresolved, mp4_spot_check}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>",
"moves": "<moves>"
},
"name": "photo_flythrough"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| out | No | flythrough.mp4 | |
| grid | No | ||
| lens | No | ||
| moves | Yes | ||
| shake | No | ||
| width | No | ||
| height | No | ||
| margin | No | ||
| samples | No | ||
| frame_end | No | ||
| depth_path | No | ||
| image_path | Yes | ||
| depth_scale | No | ||
| frame_start | No | ||
| probe_scale | No | ||
| plane_height | No | ||
| probe_frames | No | ||
| render_anyway | No | ||
| max_adjust_rounds | No |