blackdark
Applied AI

Claude turns a photo of your house into a LEGO set: prompt, instructions and BrickLink parts list

Give Claude a photo of your house’s front and it returns a LEGO model on a 32×32 baseplate, layer-by-layer instructions, the parts list and the XML to buy every piece at once on BrickLink. The exact prompt, how to upload the list and what to check before you pay.

By Updated on 6 min read
Jump straight to the prompt

What if your house were a LEGO set? Not a lookalike: yours, with its front door, its windows and the plant pots by the entrance.

You can ask Claude for it. Give it a photo of the front of your house and it returns the model design, layer-by-layer instructions, the parts list and a file to buy every piece at once on BrickLink.

The reel where I showed it

From a photo to a set you can build

  1. Send the photo

    The front of your house, straight on and in good light.

  2. Claude analyzes it

    It picks out the 5 details that make it recognizable, and their colors.

  3. It redesigns it in LEGO

    On a single 32×32 stud baseplate, using parts that actually exist.

  4. Instructions and parts

    Layer-by-layer steps, a parts table and XML for BrickLink.

  5. Buy and build

    Upload the XML to BrickLink, order the pieces and build it.

What Claude gives you

The prompt asks for six things, in this order:

  1. Analysis of the front of the house: the 5 details that make it recognizable (windows, door, lamp, plants, roof…) with their colors.
  2. Design on a 32×32 stud baseplate (BrickLink part 3811), using only common parts and real LEGO colors.
  3. Layer-by-layer instructions, bottom to top, with which parts go where and how many (stud coordinates).
  4. Parts list as a table: BrickLink part number, name, color and quantity, plus total pieces, lots and colors.
  5. BrickLink XML: a Wanted List ready to upload.
  6. PDF with one page per step, if Claude can create files.

Note

Three LEGO terms. A stud is each little “bump” on a brick: a 32×32 baseplate is 32 studs per side (about 25 cm, or 10 inches). A lot is one part + color combination (for example, “white 2×4 brick”). A MOC is a custom design, not an official set.

What we got in our test

We tested it for real with a photo of a Mediterranean-style house and this exact prompt. The result:

ItemResult
Details detected5 (clay tile roof, door with steps, shutters, wall lamp, plant pots)
Build steps22
Lots (part + color)23
Colors9
Total pieces176
XMLValid, and it adds up to the same as the table (176 = 176)

This is how its instructions started (excerpt from the real answer):

LAYER 1 — Green baseplate (garden)
Step 1 — Grass base
- 1× Baseplate 32×32 (3811) — Bright Green — covers everything
- Coordinates: (1,1) to (32,32)

LAYER 2 — Interior floor + path (height: 1 plate)
Step 2 — House floor
- Plate 2×4 (3020) — Tan — house interior fill (5,5)→(28,20)

And this is the XML for BrickLink:

<INVENTORY>
  <ITEM>
    <ITEMTYPE>P</ITEMTYPE>
    <ITEMID>3811</ITEMID>
    <COLOR>36</COLOR>
    <MINQTY>1</MINQTY>
  </ITEM>
  ...
</INVENTORY>

Heads up

Be critical of the result. In our test, a few quantities came out as “approximate” (that is why the prompt below demands exact quantities). The model is Claude’s proposal: a part might not exist in that color, or something might not fit on the first try. Review it before you buy.

The exact prompt

Open Claude (claude.ai or the app), attach a photo of the front of your house, taken straight on in good light, and paste this as is:

Your house in LEGO
Here is a photo of my house. I want to turn it into a real LEGO set I can build at home. Do it like this:

1. ANALYSIS: describe the front of the house and list the 5 details that make it recognizable (windows, door, lamp, plants, steps, roof…), with their colors.

2. DESIGN: redesign it as a LEGO model on ONE 32×32 stud baseplate (BrickLink 3811). Use only common parts that actually exist on BrickLink (bricks, plates, tiles, slopes, windows, doors, plants) and real LEGO colors. Keep the details from point 1 to scale.

3. LAYER-BY-LAYER INSTRUCTIONS: split the build into numbered steps from bottom to top (layer 1 = base). For each step, say which parts go on, how many and where (stud coordinates from the front left corner). Exact quantities, no "approximately".

4. PARTS LIST: a table with the BrickLink Part ID, name, color (BrickLink color name and ID) and quantity. At the end, total pieces, number of lots and number of colors.

5. BRICKLINK XML: generate the Wanted List in BrickLink's XML upload format, in a single code block, like this:
<INVENTORY>
<ITEM>
  <ITEMTYPE>P</ITEMTYPE>
  <ITEMID>3001</ITEMID>
  <COLOR>1</COLOR>
  <MINQTY>4</MINQTY>
</ITEM>
</INVENTORY>
One <ITEM> per lot (part + color), with no repeated combinations. Check that the XML quantities add up to exactly the same as the table.

6. If you can create files, also generate the instructions as a PDF (one page per step).

Be precise: if a measurement or color in the photo is hard to see, tell me what you assumed. If a part doesn't exist in that color, suggest the closest alternative and let me know.

Tip

A trick before you buy. When it finishes, ask: “Review the list and confirm that every part exists in that color on BrickLink.” It forces Claude to check its own work and usually catches a couple of odd colors.

List review
Review the parts list and the XML: confirm that every part exists in that color on BrickLink, that there are no duplicate lots and that the XML total matches the table. If you change anything, give me the full corrected XML.
  1. Copy the XML block and save it in a text file named list.xml.
  2. Log in to BrickLink with your account (it is free).
  3. Go to Want › Upload, choose the BrickLink XML format and upload the file (or paste the text).
  4. Pick an existing Wanted List or create a new one.
  5. From the Wanted List, use the buy option to see which stores have the parts and add them to your cart.

The official XML format is in the BrickLink help pages. When you upload it, BrickLink shows you any lot with no sellers: that is where you swap the color or the part.

Note

You see the price at the end. Every BrickLink store charges its own shipping, so it pays to group as many lots as possible into a few stores. Check the cart total before you pay.

Tips for better results

  • The photo is everything. Straight on, at door height, in daylight and with nothing in front. If your house has two floors, say so in the message.
  • Ask for changes. If you don’t like the roof or the windows, just ask: “make the roof with 33° slopes and give me the list and the XML again.”
  • One thing at a time. If the answer gets cut off, ask it to continue from where it stopped.
  • Want the PDF? On claude.ai, turn on the file creation feature. If you don’t have it, Claude can give you a script to generate it yourself.

What it doesn’t do

  • It isn’t an official set. The design is Claude’s and nobody at LEGO has tested it. Some parts may not fit on the first try.
  • It doesn’t guarantee everything exists. Some part and color combinations may not exist or may have no sellers. Check on BrickLink.
  • It isn’t a 3D render. Claude gives you the instructions as text and tables, not an image of the model.
  • It doesn’t buy for you. Uploading the XML, choosing stores and paying is up to you.

Is it worth it?

If you like LEGO, it is one of the most fun uses of Claude we have tried. In a short while you have a design of your own house with its shopping list. And even if you have to tweak a couple of parts, building it makes a really original gift for whoever lives there.

FAQ

Not for the design: the prompt works on claude.ai or in the app with a photo attached. To also get a PDF of the instructions, you need the file creation feature turned on.

No. It is a custom design (what fans call a MOC) that Claude builds out of regular LEGO parts. The pieces you buy on BrickLink are genuine LEGO, but the design has not been reviewed by LEGO.

It is the largest marketplace for individual LEGO parts (owned by the LEGO Group). Every part has a number and every color has an ID. A Wanted List is a list of what you are looking for, and BrickLink shows you which stores have it.

It depends on the parts, colors and stores you pick, plus each store’s shipping. A house of around 170 common pieces usually costs a lot less than a big set, but check the total on BrickLink before paying.

The prompt asks Claude to flag it and suggest the closest alternative. Even so, ask it to review the list and double-check on BrickLink yourself: when you upload the Wanted List you will see which lots have no sellers.

It works best with a straight-on photo of the front, in good light, with no cars or trees blocking it. If something is hard to see, Claude will tell you what it assumed.

Share
Newsletter

Get the next guides in your inbox

AI and marketing ideas and resources, no filler. What works and how to apply it.

Ideas and resources, no spam. Unsubscribe anytime.

Finding this guide useful?

Subscribe