Decompile: turn reality into executable physics AI can describe a video. Decompile recovers the physics that produced it, as code you can run, test and rewrite. Upload a phone video of a bouncing ball: 1. Meta SAM 3.1 (Meta Model API) segments and tracks the object in every frame. 2. Decompile measures it. A sub-pixel outline fit gives each frame's centre, apparent size and uncertainty. Frames it can't measure honestly are flagged, never invented. 3. A perspective-aware physics fit recovers gravity, the bounce time and the coefficient of restitution. It's checked by model comparison and an adequacy gate. 4. The result is decompiled into a runnable Python program that reproduces the motion exactly. 5. It predicts. Fitted on the first bounce only, the program predicted frames it never saw to within 6–8 px, and called the next bounce within 33 ms (one frame). On a second video, the error was 7 ms. A third clip that didn't fit the physics was refused, not faked. 6. Meta Muse Spark reviews every fit like a physicist: it explains the numbers, sanity-checks the implied 6.9 cm ball, and critiques weak evidence. It also turns plain-English questions ("What if this happened on the Moon?", "no floor", "throw it twice as hard") into program edits. A deterministic simulator plays out each alternate reality beside the real footage, as a code diff. Muse Spark honestly refuses what the program can't represent, like wind. Real result from a 2.5 s phone video, with a live SAM call costing $0.015: bounciness 0.68, fit error 0.73 px, next bounce predicted within one frame. Built with: Meta SAM 3.1, Meta Muse Spark, Python (NumPy, SciPy, OpenCV, FFmpeg), FastAPI, React/TypeScript. Paid API calls show their cost and need confirmation, and the project has 1,100+ offline tests.
More from Meta Global AI Developer Hackathon
Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…
