Transform your ingredients into culinary masterpieces with AI-powered recipe generation and nutritional analysis
A modern, interactive web application that takes your available ingredients and creates personalized recipes with detailed nutritional breakdowns. Perfect for home cooks, meal planners, and anyone looking to make the most of their kitchen ingredients.
Ever stared at your fridge wondering "What can I cook with this?" This AI-powered app solves that problem by:
- Analyzing your ingredients and creating 3 unique, creative recipes
- Providing detailed nutritional analysis for each recipe
- Optimizing recipes to meet your specific dietary goals
- Beautiful, modern interface that's a joy to use
- Smart ingredient parsing - Just list what you have in your kitchen
- 3 unique recipes generated from the same ingredients with different cooking styles
- Creative recipe names and detailed step-by-step instructions
- Quantity optimization - Makes the most of your available ingredients
- Complete breakdown - Calories, protein, carbs, fat, vitamins, and minerals
- Interactive charts - Visual comparison of nutritional values across recipes
- Ingredient tracking - See exactly what quantities were assumed for calculations
- Health insights - Vitamin and mineral highlights for each recipe
- Custom targets - Set goals like "Max 400 kcal", "Min 70g protein", or "Low carb under 20g"
- Smart optimization - AI modifies recipes to meet your specific dietary needs
- Goal feasibility - Clear feedback on whether your target was achieved
- Flexible goals - Perfect for weight loss, muscle building, or balanced nutrition
- Modern design - Clean, professional interface with Font Awesome icons
- Responsive layout - Works perfectly on desktop, tablet, and mobile devices
- Interactive elements - Smooth animations and intuitive navigation
- Easy workflow - Simple flow from ingredients → recipes → analysis → optimization
- Python 3.8 or higher
- Google Gemini API key (Get one here)
- Clone the repository:
git clone https://github.com/yourusername/ai-recipe-maker.git
cd ai-recipe-maker- Install dependencies:
pip install -r requirements.txt- Set up your API key:
# Create a .env file and add your Gemini API key
echo "GEMINI_API_KEY=your_api_key_here" > .env- Run the app:
streamlit run app.py- Open your browser and go to
http://localhost:8502
- Enter Ingredients - List what you have in your kitchen with quantities
- Generate Recipes - AI creates 3 unique recipes using your ingredients
- Analyze Nutrition - Get detailed nutritional breakdowns and comparisons
- Optimize Goals - Set dietary targets and get optimized recipe versions
- Frontend: Streamlit with custom CSS and Font Awesome icons
- AI Engine: Google Gemini 2.5 Flash for recipe generation and optimization
- Data Visualization: Plotly for interactive charts
- Backend: Python with pandas for data processing
- Styling: Custom CSS with modern design principles
Made with ❤️ for home cooks everywhere