Cook Genie is a web application that leverages generative AI to assist users with generating images, answering questions and generating custom recipes. Powered by advanced AI models, Cook Genie aims to inspire creativity through texts, images and make cooking more accessible and fun.
- Recipe Generation: Get custom AI-generated recipes based on ingredients, cuisine preferences & dietary restrictions.
- QnA Chat Bot: Ask questions and receive instant intelligent responses.
- Image Generation: Produce visuals from text prompts with various customization options.
- User-Friendly Interface: Modern, responsive UI for seamless user experience.
- Backend: Spring Boot (Java)
- Frontend: React.js
- AI Providers:
- OpenRouter for conversation and recipe generation
- Stability AI for image generation
- Java 17+
- Node.js 16+
- npm (Node Package Manager)
- Navigate to the backend directory:
cd gen-ai-backend - Install dependencies and build the project:
./mvnw clean install
- Configure API keys for OpenRouter and Stability AI in
src/main/resources/application.properties:# OpenRouter Configuration spring.ai.openai.api-key=${OPEN_AI_API_KEY} # Stability AI configuration spring.ai.stabilityai.api-key=${STABILITY_AI_API_KEY}
- Run the backend server:
./mvnw spring-boot:run
- The server will be available at http://localhost:8080
- Open a new terminal and navigate to the frontend directory:
cd gen-ai-frontend - Install dependencies:
npm install
- Start the development server:
npm start
- The app will be available at http://localhost:3000
Cook Genie utilizes the powerful APIs provided by OpenRouter and Stability AI to deliver generative AI capabilities. I am grateful to these organizations for their innovative platforms.
This project is for educational and demonstration purposes.
Cook Genie – Your AI-powered cooking companion!