This new AI model can make your dream Lego set - here's how you can try LegoGPT for free

LegoGPT
(Image credit: LegoGPT)

  • LegoGPT is a new AI model that turns text prompts into Lego designs you can actually build
  • LegoGPT uses AI models and physics simulations to generate brick-by-brick instructions
  • Carnegie Mellon researchers built LegoGPT as open-source and free to try

If you’ve ever stared at a pile of Lego bricks and despaired at making them match the vision in your head, you may be in luck thanks to a new, free AI tool that turns text prompts into real, buildable Lego designs. Describe what you want to build and the aptly named LegoGPT will produce a step-by-step plan using a limited palette of real Lego bricks, with a handy list of which bricks to use and how many you'll need..

To function in the real world, LegoGPT is notably cautious in its approach. While many AI image generators can comfortably spit out wild 3D shapes with zero regard for the laws of physics, LegoGPT runs every design through a literal physics simulator. It checks for weak points. It identifies problem bricks. And if it finds something unstable, it starts all over, reworks the layout, and tries again. It's like how most AI chatbots are a kind of auto-complete for words, hunting for the right one to add to a sentence. Except LegoGPT is predicting the next brick to auto-build a (digital) Lego model.

With LegoGPT's answers, you can learn how to turn that colorful plastic pile into brick art. You don’t need a PhD in structural engineering or a childhood spent mastering Technic sets, or even the Lego-building robot shown off in a video made by the Carnegie Mellon University researchers behind the new tool.

Brick AI

The magic behind LegoGPT comes from a very large dataset called StableText2Lego. The researchers made the dataset by building more than 47,000 stable Lego structures and pairing them with text captions describing their appearance. Rather than spend months or years on that tedious chore, the researchers roped in OpenAI’s GPT-4o AI model to analyze rendered images of the Lego structures from 24 different angles and come up with a detailed description they could use.

LegoGPT’s code, data, and demos are all publicly available on the researchers’ website and GitHub. There are some caveats. LegoGPT currently only builds with eight standard brick types, all rectangular, and operates inside a 20-brick cubed space. So you’re not getting intricate curved architecture or sprawling castles just yet. Think more early-70s Lego catalog than 4,000-piece Millennium Falcon. Still, the results are fun and very sturdy.

LegoGPT

(Image credit: LegoGPT)

The broader implication for generating real-world objects with AI from casual language makes LegoGPT exciting beyond the novelty of making toy blueprints from text descriptions. It promises designs that aren’t just possible, but verified to be physically buildable. This could become a cornerstone of prototyping, architectural modeling, and, of course, a weekend activity for Lego hobbyists. But don't dwell too much on the details. You don’t need to understand the underlying math to enjoy it.

The limitations in size, scope, and brick variety ensure LegoGPT will not replace Lego’s in-house designers anytime soon, but it is a leap toward making design more accessible, playful, and connected to the real world. Also, right now, the system doesn’t care about color, unless you ask it to. The default focus is purely structural. However, the researchers have already added an optional appearance prompt feature that lets you layer on color schemes. So if you want your electric guitar built in metallic purple, go for it.

LegoGPT

(Image credit: LegoGPT)

You might also like

Eric Hal Schwartz
Contributor

Eric Hal Schwartz is a freelance writer for TechRadar with more than 15 years of experience covering the intersection of the world and technology. For the last five years, he served as head writer for Voicebot.ai and was on the leading edge of reporting on generative AI and large language models. He's since become an expert on the products of generative AI models, such as OpenAI’s ChatGPT, Anthropic’s Claude, Google Gemini, and every other synthetic media tool. His experience runs the gamut of media, including print, digital, broadcast, and live events. Now, he's continuing to tell the stories people want and need to hear about the rapidly evolving AI space and its impact on their lives. Eric is based in New York City.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.