eric zakariasson· @ericzakariasson · X·· 2 小时前AI 评分49
AI 导读
3. 截图转 React 组件 丢入一张截图,grok 会写出一个 tailwind 组件。然后页面会对结果截图,将两者的轮廓叠加,再发回去,让 grok 修正对不上的地方。这次运行中,它从 60% 提升到了 77%。 https://github.com/xai-org/xai-cookbook/tree/main/examples/screenshot-to-component
正文
3. screenshot to react component
drop in a screenshot and grok writes a tailwind component. then the page screenshots the result, overlays the outlines of both, and sends that back so grok can fix what doesn't line up. in this run it went from 60% to 77%.
https://github.com/xai-org/xai-cookbook/tree/main/examples/screenshot-to-component
来源:eric zakariasson · x.com