WebAI Studio
Back to Demos

Screenshot → UI Code

Image Input

Drop a UI screenshot and the multimodal model rebuilds it as HTML — rendered live next to the original.

Why On-Device?

Design mockups and internal screenshots are sensitive by default. On-device vision turns them into code without uploading a single pixel.

Interactive Demo

Prompt API (image): Loading...
Original Screenshot
Upload a UI screenshot, or use the sample mockup.
Rebuilt as HTML
The generated markup streams in here, then renders in a sandboxed iframe.

Implementation Code

demo.js