Skip to content

phoebelh/CulinAI

 
 

Repository files navigation

CulinAI - Spring 2024 Tech Treks

Leia Yun, Phoebe Huang, Ann Lee, Ryan Kawahara (Tutor)

Overview

Purpose

CulinAI is an AI-powered site that allows users to generate recipes by uploading a photo of their fridge or food items.

Users

CulinAI is for those who:

  • Want to try new recipes
  • Want to reduce food waste -Don’t know what they can cook using the groceries that they already have

Why?

We wanted to explore the idea of “cooking with nothing.” CulinAI answers “What should I eat today?” without wasting or buying food.

User Workflow

  • Users upload ingredient photos via an easy-to-use homepage interface
  • Uploaded images are analyzed by the LLaVa model to detect ingredients
  • LLaVa uses detected ingredients to create and display recipes with Stable Diffusion-generated visuals

Demo

Culinai_demo.mp4

Noteworthy files

We used this Next.js template project that's preconfigured to work with Replicate's API.

Usage

Install dependencies:

npm install

Add your Replicate API token to .env.local:

REPLICATE_API_TOKEN=<your-token-here>

Run the development server:

npm run dev

Open http://localhost:3000 with your browser.

For detailed instructions on how to create and use this template, see replicate.com/docs/get-started/nextjs

iguana

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 83.6%
  • CSS 16.4%