# BinBuild

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Jai Adithya Nayani](https://cerebralvalley.ai/u/jai_nayani)
- **GitHub:** https://github.com/jai-nayani/BinBuild
- **Demo video:** https://youtu.be/QNDKJtHPC88
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4979

BinBuild lets you construct new things using only what's in your bin of LEGO. You take 5 photos of your bin (top and 4 sides, all in a single flat layer) - we do some sanity checks to make sure the photos are good (not blurry, not too dark, not duplicates, taken with a camera, etc.), and then we use Muse (Spark 1.3) to find and name all the pieces in the photos and SAM (3.1) to cut them out. We check each close-up with Spark to make sure we've labeled everything correctly. Then, you get to look over the pieces we found, make any changes, and confirm what's in your bin. Next, we use Muse (Wonder) to invent 3 builds that use only the pieces you have. We have a custom validator that checks that the builds only use parts you have, that all the pieces are connected through their studs (no floating pieces or overlapping pieces), and if they don't pass, we send them back to Muse to fix. Finally, we use the shapes of the actual LEGO® parts from LDraw to create a booklet showing you how to build your new creation step by step, with the steps described in words by Spark. Try it yourself at https://adi-nayani1427--binbuild.us-east.modal.run ! For the judges: feel free to try it out using the sample bin, which is free. The rest of the steps require a key, which we understand since this is a competition, but we thought it might be fun for you to play with if you have the time!

## More from Meta Global AI Developer Hackathon

- [Sfaxo](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4976)
- [JARVIS Mobile AI Assistant](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4977)
- [3lbGames](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4978)
- [Buhrnt](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4980)
- [Raisket](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4981)
- [Haris](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4982)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4979. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
