Use GPT-4 to analyze screenshots, generate HTML and Tailwind CSS, and Dall-E to generate similar images
Project Address:
https://github.com/abi/screenshot-to-code
You can test it yourself, you need an API key that supports GPT-4:
https://picoapps.xyz/free-tools/screenshot-to-code