3D road-follow route video
The project from the reel: a 90-second camera that follows a real 30 km mountain road in 3D, with the route line, named chapter pins, town and area labels, and the destination area already loaded. 2,700 frames at 30 fps.
Commented “3d” on our reel? Here are the project files. The AI wrote every camera keyframe from real route and terrain data. You import the file into Google Earth Studio and hit render.
Google Earth Studio is Google's free, browser-based tool for animating Google Earth's 3D imagery. Automating it means an AI agent writes the project file, with every camera position, angle and landmark, from real route and terrain data. You don't hand-place keyframes on a timeline. Doing a smooth map animation by hand means hundreds of keyframes and fixing every bend where the camera jerks or dips into a hill. With AI automation the whole camera is computed in one run, and your job shrinks to import, render and post.
Each .esb is a complete Earth Studio project: camera, route and pins.
The project from the reel: a 90-second camera that follows a real 30 km mountain road in 3D, with the route line, named chapter pins, town and area labels, and the destination area already loaded. 2,700 frames at 30 fps.
A 2 min 45 s tour that slowly circles 7 stops and glides between them, ending on a wide reveal, with every spot and town named on the map. Use it as a template for any “places to visit” video. 4,938 frames at 30 fps.
Unzip the render, then run this in that folder (match the file names Studio gave you):
ffmpeg -framerate 30 -i footage_%04d.jpeg -c:v libx264 -crf 17 -pix_fmt yuv420p route.mp4
Posting as a vertical reel? Change the project dimensions to 1080×1920 in Earth Studio before rendering, or render 16:9 and reframe in your editor.
The script asks an open routing API (OSRM, on OpenStreetMap data) for the actual driving route between two points. You get a road-accurate line instead of one you click by hand.
Elevation for every 100 m of road and every camera position comes from the Copernicus DEM. That way the camera never clips into a hillside on a mountain road.
Each chapter pin (start, junctions, viewpoints, destination) is snapped to the nearest point on the route, with its distance and elevation written into the label.
The look-at point rides the road ahead of the car, and the camera follows behind it on a smoothed rail. It slows on hairpins and speeds up on straights, with a wide opening shot and a pull-up at the end.
Hundreds of keyframes (one every 5–6 frames) are written into an .esp file and bundled with the KML overlays as one .esb you can import.
Import the .esb into Google Earth Studio, click Render and stitch the frames into an MP4. The AI handles the keyframing, so all you do is press render.
The reason the reel looks smooth and not jerky is that the camera was computed from data, not dragged by hand.
| Task | Manual in Earth Studio | AI automation |
|---|---|---|
| Drawing the route | Click points along the road by hand | Pulled from a routing API, road-accurate |
| Camera height on hills | Guess, then fix clipping into terrain | Real DEM heights keep it 90 m+ above ground |
| Smooth turns on bends | Hand-tune dozens of keyframes and easing | Smoothed look direction, about 11°/s average turn |
| Landmark labels | Type and position each pin | Pins snapped to the route with km and elevation |
| Pacing | Re-time keyframes by eye | Slows on bends and near pins, eases in and out |
| Time for a 90-second map animation | Several hours of keyframing | One script run, then render |
Paste this into Claude Code (Anthropic's coding agent) and fill in your start, end and landmarks. It writes and runs the script and hands you an .esb to import.
Build a Google Earth Studio project (.esb) for a 3D road-follow travel video. Start: <place or lat,lng> End: <place or lat,lng> - Fetch the driving route from OSRM and the terrain heights from Open-Meteo elevation. - Snap these landmarks to the route as chapter pins with km + elevation: <list>. - Chase camera: look-at point on the road ~300 m ahead, camera ~550 m behind on a smoothed rail, at least 9° below the horizon, 90–220 m above terrain, slower on bends. - 90 s at 30 fps, wide opening shot, pull-up reveal at the end. - Bundle the .esp + KML overlays into one .esb and print the chapter times.
We build AI automations that turn an idea into a ready-to-post reel. See prompt-to-video on Swayam AI Labs, or the full AI automation hub.