技巧

用 Lovable 一段提示词做菜单识别 App,接入 Claude Opus 5.5

精选理由

Lovable 给了一段现成提示词,拍照菜单就能生成可视化风味图,靠 Claude Opus 5.5 做识别,直接复制就能玩。

Lovable 官方分享了一个可直接使用的提示词模板:拍摄菜单后生成奶油纸底色配群青墨线的风味四象限图,为每款酒和菜配线稿图标。坐标轴会根据菜单和菜品类型变化,比如厚重/清爽、清淡/浓郁。图像识别和推理部分通过连接 Claude Opus 5.5 实现。整条推文内容就是这个提示词本身,复制进 Lovable 即可开始搭建。

原文 · Lovable

Make it yourself by starting with this prompt in Lovable: Create an app where you photograph a menu to get a taste quadrant in cream paper and ultramarine ink, with line-art glyphs for every wine, cocktail and plate. The axes change per menu and item type (for example: weighty/refreshing, light/rich). Connect to Claude Opus 5.5 to power the image recognition and reasoning. 💬 0 🔄 0 ❤️ 3 👀 747 📊 1 ⚡