This is a repo that uses tldraw and the gpt-4-vision api to generate UIs based on an image you draw.
This is an app that uses tldraw and the gpt-4-vision api to generate html based on a wireframe you draw.

> Disclaimer: This is a proof of concept and is not intended for production use. It doesn't have any auth so you will go broke if you deploy it.
This works by just taking the current canvas SVG, converting it to a PNG, and sending that png to gpt-4-vision with instructions to return a single html file with tailwind.
> Disclaimer: This is a demo and is not intended for production use. It doesn't have any auth so you will go broke if you deploy it.