r/buildingblocks • u/CadenGamacheAi • 18h ago
I used Gemini to vibe-code a text-to-LEGO builder (also powered by Gemini) that turns prompts into real PDF & 3D instructions

Hey everyone! I'm a self-taught dev, and over the last few months I've been building AI Brick Architect.
Most AI brick tools I've seen are either super limited in what shapes/colors they allow or spit out floating blocks you couldn't actually build in real life. My goal was to build a tool where you can describe anything in plain English, watch it rasterize and pack into real interlocking bricks in seconds (even a 5,000-piece dragon solves in \~5 seconds), and refine it with follow-up prompts when it does something goofy—like when my Construction T-Rex decided to grow a second olive-green tail on its back.
A few things built specifically for actual builders:
* LDraw (.ldr) export: Open any model straight in BrickLink Studio to tweak or polish it manually.
* Instructions that don't fall apart: After the first two layers, every model is evaluated so you can physically pick it up while building, with minimized flip-over steps, printable PDFs, and a QR code that opens an interactive 3D manual on any phone/tablet.
* Inventory Matcher: Upload your BrickLink XML, Rebrickable CSV, or .ldr inventory and filter the gallery by exact match, close color match, or shape-only match.
* Cost Optimizer: Swaps hidden interior bricks and expensive rare pieces to drastically lower BrickLink sourcing costs.
I'm very aware some models still have real-world center-of-mass quirks (like heavy tails wanting to tip back without a baseplate), so I'm looking for honest feedback. The T-Rex mascot and all its manuals/files are 100% free, and you get 5 free credits to test your own prompts.
I put together a full walkthrough video showing how it all works here: https://youtu.be/pE31ue7aKnA
You can try it out here: https://aibrickarchitect.com