AI-powered app that generates personalized recipes from ingredients, dietary restrictions, or meal photos using Gemini 1.5 Pro.

An AI-driven recipe assistant that generates and explains cooking recipes from ingredients, dietary preferences, or meal photos using Gemini 1.5 Pro.
/recommend-dishes — generate recipe suggestions based on ingredients and allergies./download-ingredient-list — return a downloadable text file of ingredients./cook-photo — image upload and recognition for recipe generation./chat — AI chat support for recipe questions.multipart/form-data (used for image uploads).User
└──> React Frontend
├── POST /recommend-dishes (ingredients, allergies)
├── POST /cook-photo (image)
├── POST /chat (message + recipe context)
└── POST /download-ingredient-list
Express Backend
├──> Gemini 1.5 Pro (recipe + chat generation)
├──> Clarifai (image processing)
├──> Cloudinary (image upload and access)
└──> Socket.IO (real-time progress)
| Route | Method | Description |
|---|---|---|
/recommend-dishes | POST | Generate recipes from ingredients input |
/cook-photo | POST | Upload food image for recipe suggestions |
/chat | POST | Ask contextual questions about a recipe |
/download-ingredient-list | POST | Generate a downloadable ingredient list |
