Guide · AI automation · Google Earth Studio

Automate Google Earth Studio with AI: 3D travel map animation (free project files)

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.

Answer capsule

What does it mean to automate Google Earth Studio?

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.

Free downloads

Project files from the reel

Each .esb is a complete Earth Studio project: camera, route and pins.

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.

dehradun-mussoorie-earth-studio.esb

Multi-stop aerial orbit tour

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.

mussoorie-town-aerial-tour.esb

Google Earth Studio tutorial

Render the project in 5 steps

  1. Open Google Earth Studio. Go to earth.google.com/studio in Chrome on a laptop or desktop and sign in with a Google account. It's free and browser-based, so there's nothing to download.
  2. Import the .esb. Use File → Import, or drag and drop the file. The camera, route line, pins and area overlay load together.
  3. Preview. Press Play. The preview can stutter while map tiles load; the render doesn't.
  4. Render. Click Render → Advanced, choose 1920×1080 at 30 fps, and render the full frame range. Earth Studio downloads a ZIP of JPEG frames.
  5. Stitch to MP4. Drop the frames into CapCut, Premiere or DaVinci Resolve, or run the ffmpeg command below.

Turn the rendered frames into an MP4

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.

How the automation works

From two map points to a finished Earth Studio project

01

Fetch the real route

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.

02

Add real terrain heights

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.

03

Snap landmarks to the 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.

04

Compute a smooth camera

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.

05

Write the Earth Studio project

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.

06

Import, render, post

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.

Manual vs. automated

Hand-keyframing vs. an AI-generated camera

The reason the reel looks smooth and not jerky is that the camera was computed from data, not dragged by hand.

Building a travel map animation manually vs. with AI automation
TaskManual in Earth StudioAI automation
Drawing the routeClick points along the road by handPulled from a routing API, road-accurate
Camera height on hillsGuess, then fix clipping into terrainReal DEM heights keep it 90 m+ above ground
Smooth turns on bendsHand-tune dozens of keyframes and easingSmoothed look direction, about 11°/s average turn
Landmark labelsType and position each pinPins snapped to the route with km and elevation
PacingRe-time keyframes by eyeSlows on bends and near pins, eases in and out
Time for a 90-second map animationSeveral hours of keyframingOne script run, then render
Do it for your route

The prompt we give Claude Code

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.
FAQ

Google Earth Studio automation questions

Is Google Earth Studio free?
Yes. Google Earth Studio is a free, browser-based animation tool from Google. You sign in with a Google account at earth.google.com/studio in Chrome, and there's no download or paid plan. Renders must keep Google's on-screen attribution visible.
Can AI automate Google Earth Studio?
Earth Studio doesn't have an AI button, but its project files (.esp/.esb) are plain JSON keyframes. An AI coding agent like Claude Code can generate them from real route and terrain data. You then import the file and render as normal.
How do I open a .esb file?
Open Google Earth Studio, then use File → Import (or drag and drop the .esb onto the page). An .esb bundles the camera animation with its KML overlays, like the route line, pins and area polygon.
Why does my Google Earth Studio route animation look jerky?
Usually the camera is aimed at each short piece of road in turn, so it snaps on every bend. Smooth the look direction over a few seconds, keep the look-at point a few hundred metres ahead, and sample keyframes evenly in time. The included projects do all three.
How is this different from an animated trip map app?
Most travel map animation apps draw a 2D line over a flat map. Earth Studio flies a real 3D camera over Google Earth's 3D terrain and cities, which makes it much better for mountain roads, coastlines and city fly-throughs.
Can I use this for my own route?
Yes. Paste the prompt on this page into Claude Code with your own start, end and landmarks, then import the .esb it produces. If you'd rather not set it up yourself, DM us on Instagram.

Want AI video editing and automation without the setup?

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.