Today was all about the magic of generative AI and prompt engineering. We asked ChatGPT to whip up some food-related themes like ‘Meat Lovers’, ‘Healthy and Light’, ‘Vegan’ and more.
Next, we created a side bar widget in the Contentful headless CMS. This enabled us to generate content directly within the CMS fields. We applied this to the list of ingredients first, enriching the existing data with generated information like usage patterns, cultural context, and alternatives.
But of course, a feast is not complete without visuals. We whipped up image assets of the raw ingredients and, to our surprise, Dall-E's generated images worked like culinary wonders.
Next on the menu were the recipes. With our tool, you could simply select three base ingredients and a specific theme like "Healthy and Light" and a delicious recipe will be generated on the spot.
But there is more. To add some personalization, you could also choose the number of people the recipe has to serve and explore optional topics like cooking time, kid-friendly alternatives, total cost, and matching drinks.