screenshot-to-code, GPT-4 Vision 和 DALL-E 3
screenshot-to-code, https://github.com/abi/screenshot-to-code,这个项目演示了,如何使用 GPT-4 Vision 和 DALL-E 3 将设计稿/网页截图转换成源码(HTML + Tailwind CSS),还原度非常高。
本来以为项目做了很多工程化的工作来优化生成结果,扒了下源码,没想到 Prompt 如此简单(如图二)。也就是说,使用 ChatGPT

