YouMind
Sign in

Building a 2K Manhattan in Blender with AI: A Step-by-Step Tutorial

@servasyy_ai
SIMPLIFIED CHINESENov 25, 2026
150K
309
42
37
622

TL;DR

A creator used AI coding assistants and Blender to build a 2K interactive Manhattan city in four days. The article details the seven-step workflow, including map data integration, procedural generation, ray-traced rendering, and video compositing.

November 24, 2026

Watch the Final Video First

We wanted to build a city you could explore freely like GTA, then use it to shoot a short film. Without a game studio or art team, we let AI write the code to first construct Midtown Manhattan.

huangserva - inline image

The cover is taken from a frame of the final video.

The final video is 60 seconds long, 2K resolution, at 60 frames per second. The city contains 20,000 buildings, over 30,000 trees, and 45 landmarks. It starts with a dive from high altitude into the skyscrapers; after nightfall, the entire city lights up, and 580 drones arrange themselves into "MANHATTAN" in the sky.

The video below includes music and narration.

huangserva - inline image

How the buildings light up, where lasers point, and how drones arrange are all written in the code.

We worked for four days; on day one, we opened an empty folder. All ordinary buildings in the blocks were built procedurally—none were modeled by hand.

What You Can Do With This City

GTA is a game developed by thousands of people over many years, featuring storylines, missions, and characters. What we made is a city you can walk through, drive in, and switch between day and night in a browser, plus a short film shot using it.

• Street and building positions come from real map data.

• There are cars and pedestrians in the browser; you can walk or get in a car and drive.

• The final video uses ray-traced rendering common in animated films, making glass reflections, ground textures, and shadows clearer.

When viewed up close, building details are still lacking, and characters and cars are simple. No missions or other gameplay were added. But reaching this stage was enough for us to set up camera angles and finish shooting this film.

Nine Tools Used Across Seven Steps

City building, modeling, and camera placement were done on our own computers. In step four, scenes were sent to our RTX 4090 server to run Blender. Voice synthesis also used this machine; other work was completed on local computers.

huangserva - inline image

Most of the nine tools are free.

• Claude Code. An AI coding assistant that writes code and runs commands; it wrote all the code.

• Codex. Another AI coding assistant that batch-generated models via web interface and created covers.

• OpenStreetMap. Free public world map data providing building footprints, heights, and road directions.

• Three.js. A JavaScript library for drawing 3D in browsers, turning map data into an explorable city.

• Tripo. An AI website generating 3D models from text or images; used for landmark buildings, cars, and pedestrians.

• Blender. Free 3D creation and rendering software; rendered the final video frames.

• Our Own RTX 4090 Server. A remote Linux machine connected via SSH, running Blender rendering and voice synthesis.

• CosyVoice. Open-source AI voice synthesis model; synthesized English narration.

• ffmpeg. Free video processing tool; combined visuals, audio, and subtitles.

We specified requirements, reviewed visuals, and pointed out flaws. AI wrote code, ran programs, and produced comparison images. We never hand-wrote any code throughout the process.

Step One: Build the City Using Map Data

OpenStreetMap data can be downloaded for free, including building footprints, approximate heights, and road directions.

huangserva - inline image

Map © OpenStreetMap contributors.

huangserva - inline image

Orange shows the Empire State Building's footprint. The 102 floors and 443.2 meters on the left are the data we used.

We asked Claude Code to download Midtown Manhattan data and build a 3D city in the browser. It wrote scripts to fetch data, extruded flat footprints into 3D based on height, and ultimately constructed 20,077 buildings and 14,730 road segments.

huangserva - inline image

Darker colors indicate taller buildings. The blank area above is Central Park.

Initially, the extruded buildings looked like boxes. We then asked it to add four things:

• Six facade types, such as glass curtain walls, stone, brick, assigned by building height and location.

• Windows and rooms, with recessed windows; some rooms light up at night.

• High-rise shapes, automatically adding setbacks, podiums, and crowns.

• Traffic, pedestrians, and day/night switching, with cars moving along real roads and people walking on sidewalks.

huangserva - inline image

All 20,000 buildings share the same construction method.

huangserva - inline image

Top-left shows 20,077 buildings, 14,730 roads, and 32,407 trees. Bottom shows controls for flying, walking, and entering cars.

After building, we opened the browser to view. If buildings looked too boxy, we adjusted their shapes first. If windows were too flat, we fixed them in the next round. Changing one thing at a time makes it easier to see what changed.

Step Two: Create Landmarks, Cars, and People

Landmarks like the Empire State Building and Chrysler Building cannot be shaped just by extruding map footprints. We gave Tripo descriptions or reference images to generate 3D models. We created 45 landmark buildings, plus vehicles and pedestrians.

huangserva - inline image

Viewing this batch of landmark models in Tripo's list.

huangserva - inline image

This single Empire State Building model has 1.94 million faces. When placed in the city, face count must be controlled.

On Tripo, we had to click generate, wait, and download individually. We let Codex handle these web operations while Claude Code continued writing code simultaneously.

After retrieving models, we did two things:

  1. Position alignment: Scale and rotate models to align with building footprints on the map.
  1. Face count limitation: Too many faces slow down the browser; limits were set during generation.
huangserva - inline image

Each red block is an aligned model, sized and oriented according to map footprints.

Over 30,000 trees were placed procedurally along streets and parks. Trees don't need individual placement, but landmarks do. Start with the most prominent 3-5, place them back in the city, and zoom in to check. AI errors are easier to spot when viewed closely.

Step Three: Set Up Cameras in the Browser

Claude Code added a camera panel to the city. We flew to desired positions, recorded a camera angle, then moved to the next. The program connects these angles into smooth flight paths.

huangserva - inline image

Panel is top-left. Press K to record angle, P to preview, Z to record video.

The full film has 11 shots and a title card, divided into daytime, dusk, and light show sections.

• 0–5 sec · Dive into City. From high altitude diving into skyscrapers, establishing scale.

• 5–9.5 sec · Empire State Building. Swinging around the spire.

• 9.5–15.5 sec · Avenue Flythrough. Flying low along streets, showing traffic and glass facades.

• 15.5–19.5 sec · Central Park. Flying between two buildings, revealing the entire park.

• 19.5–23.5 sec · Bridge. Flying along riverbank toward bridge, with water reflections.

• 22.7–26.7 sec · Night Skyline. Cross-fading to night, building lights turn on.

• 26.7–31.7 sec · Times Square. Low flight between billboards.

• 31.7–35.7 sec · Night Streets. Skimming pavement, showing headlights and streetlights.

• 35.7–42.7 sec · Light Show Activation. Building lights across the city turn on sequentially.

• 42.7–46.7 sec · Canyon Between Buildings. Passing through color-changing clusters.

• 46.7–56.7 sec · Finale. Lasers and drones form text, Empire State enters frame.

• 56.7–60.7 sec · Title Card. Text appears on black background.

huangserva - inline image

Frames arranged by appearance order in the final cut.

huangserva - inline image

Numbers indicate appearance order. Shot 1 (dive) and Shot 11 (finale) travel the farthest.

Flying slowly at high altitude feels sluggish; flying fast near ground causes dizziness. For each path, we recorded longer clips and kept the most stable 4-10 seconds during editing.

First, we recorded browser footage, watched the rough cut, finalized cameras and pacing, then rendered.

Step Four: Run Blender on Our Own 4090 Server

Browsers calculate dozens of frames per second, so lighting can only be approximated. Ray tracing calculates multiple light bounces in the scene, taking over ten seconds per frame, accurately rendering glass reflections and shadows.

huangserva - inline image

Top diagram shows light bouncing; bottom compares same-camera views.

huangserva - inline image

Two images from same moment; compare glass, pavement, and shadows.

We had Claude Code write an export script sending city, camera positions, and per-frame car/pedestrian positions into Blender. Blender is free; its built-in renderer is Cycles.

Initial test renders on local computer froze immediately. Regular PCs can't handle this rendering load, so we offloaded work to our RTX 4090 server.

huangserva - inline image

Local setup and editing; server runs Blender and synthesizes narration.

• Full film: 3,642 frames, ~3,450 requiring render, resolution 2560×1440.

• Each frame takes 16-21 seconds; full render ~17 hours. Including tests and re-renders, actual time was 2-3x longer.

• Rendering uses >10GB VRAM; 24GB is sufficient.

Server runs Linux with command-line only. We had AI assistants connect via SSH, transfer files, queue renders, retrieve frames, and check for flickering/black spots.

A 5-second shot took over an hour to render. After each change, we rendered one frame first, comparing old/new versions side-by-side. Only after single frame passed did we render full sequences.

Step Five: Write Light Show Timeline

Light show was entirely coded; no manual animation frames were made.

• Building Lights. Entire city changes color using unified palette: cyan first, then pink, occasionally gold accents.

• Lasers. Eight tall buildings project fan-shaped beams from rooftops.

• Drones. 580 light points scatter then form ranks, spelling "MANHATTAN" above southern Central Park.

huangserva - inline image

Camera flies through buildings first; drones assemble afterward.

We specified when lights turn on, colors change, and drones form patterns. Both browser and Blender read the same timeline.

huangserva - inline image

Diagram drawn from program values. At 1.8s lasers lower; at 4.3s when drones spell text, beams have cleared.

First version had each building changing independently, looking like a rainbow mess. Later we enforced unified city-wide palette. Laser lowering was adjusted after viewing output. Our requests were simply "too colorful," "lasers blocking text," letting AI adjust timelines accordingly.

Step Six: Music, Narration, and Subtitles

None of these three required recording equipment.

• Music. Selected track from free library, starting at 18th second to sync beats with cuts.

• Narration. Seven English sentences synthesized using open-source CosyVoice model, also running on our RTX 4090 server.

• Subtitles. Bilingual Chinese-English subtitle file burned into video.

• This is Midtown Manhattan. / 这里是曼哈顿中城

• Twenty thousand buildings, drawn from real map data. / 两万栋建筑,全部来自真实地图数据

• Every street, every tower, built in code by an AI. / 每条街、每座塔,都由 AI 用代码搭建

• Thirty thousand trees. Forty-five landmarks, modelled one by one. / 三万棵树,四十五座地标逐一建模

• And when night falls… / 当夜幕降临……

• …the city puts on a show. / ……整座城市为你亮灯

• Manhattan. Open in your browser. / 曼哈顿,在浏览器里等你

huangserva - inline image

Subtitles at bottom: English on top, Chinese below.

Audio was revised twice. Built-in TTS sounded thin; switched to CosyVoice. First music track was too light against visuals; replaced with another. Before public release, verify music licensing scope.

Step Seven: Composite Using Edit List, Create Cover

We had Claude Code write an edit list specifying which segment of each of 11 shots to use, crossfade points, and title duration. ffmpeg, a free command-line tool, assembled visuals, audio, and subtitles according to this list.

If one shot needed re-rendering, we placed new frames back in position and reran. New full version ready in ten minutes without adjusting audio or pacing.

We gave Codex 12 final video frames, asking it to create layouts using only those images. It produced three cover options. We chose the daytime Empire State Building image, placing it as video's first frame for platform default thumbnail capture.

huangserva - inline image

Three options: daytime Empire State, street depth perspective, light show. We chose the first.

Five Most-Revised Items During Four Days

First 2K version came out; we watched and said only a few words: "grayish, fake, plastic-like." Revisions focused on five areas:

  1. Wet Ground Looked Like Mirror

We wanted rain-slicked street reflections, setting pavement to wet. Rendered result made entire street mirror-bright. Switched back to dry ground; tile and asphalt textures became visible.

huangserva - inline image

Old version: reflective pavement, billboard color blocks. New version: dry ground, posters on billboards.

  1. Buildings Looked Plastic at First Glance

Walls too clean, window reflections identical. We slightly rotated each glass pane, weathered walls, added rooftop equipment, adjusted distant fog to match sky color.

huangserva - inline image

Look at windows on building beside park. Glass now has varied reflections; walls have layered detail.

  1. Empire State Spire Revealed Flaws Up Close

Empire State is the film's star. AI model's top looked okay from distance but painted-on when flown close. We had Claude Code rebuild using real dimensions, constructing setbacks, window walls, mast, and antenna layer-by-layer in code.

huangserva - inline image

Two versions of spire close-up. New version rebuilt with code using real dimensions.

  1. Times Square Lighting Revised Six Times

Billboards, brickwork, windows got more detailed each version, but lighting flattened out—entire street equally bright. Finally kept Version 6 content but applied Version 3 lighting contrast, dimming ambient sky light and street lamps so bright areas stood out.

  1. Created Posters for Times Square Billboards

Billboards needed content but couldn't use real brands. We had AI invent fictional brand names, then programmatically batch-layout posters. Comparison image on ground shows finished poster placements.

Later revisions always required same-frame comparisons: old version on top, new below. "Too fake here," "too bright," "give me another comparison" were our most frequent phrases.

Want to Try? Start With a Few Blocks

  1. Install an AI coding assistant (Claude Code or Codex). Create empty folder.
  1. Pick small familiar urban area; ask it to build in browser using OpenStreetMap data. A few blocks suffice.
  1. Request one change at a time. Add windows first, then trees/cars/night scenes. Review visuals before proceeding.
  1. Use AI model generator site to create 3-5 landmarks; place in city to inspect.
  1. Set up 3-4 camera angles; directly record browser footage; add music for rough cut.
  1. If you have suitable GPU, import scene to Blender. Render single frame first; proceed to full sequence only when satisfied.
  1. Add narration and subtitles; composite; create cover.
Remix in YouMind

Turn one viral article into a full content workflow

Collect the source, decode the pattern, create assets, draft the story, and distribute from one AI workspace.

Explore YouMind
For creators

Turn your Markdown into a clean 𝕏 article

When you publish your own long-form writing, images, tables, and code blocks make 𝕏 formatting painful. YouMind turns a full Markdown draft into a clean, ready-to-post 𝕏 article.

Try Markdown to 𝕏

More patterns to decode

Recent viral articles

Explore more viral articles