Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Latest commit

 

History

History
100 lines (74 loc) · 5.56 KB

README.md

File metadata and controls

100 lines (74 loc) · 5.56 KB

All Contributors

Through the eyes of AI

An OpenAI-based prototype that uses the Dall-E 2 API to create parametrically personalized image of it's users. We use a face/human recognition library to analyze faces and get basic interpretation of the image. Currently we use emotions, age, gender and gaze directions. We also extract the dominant colors from the image. This is then used to generate a text that is used to generate an image with Dall-E 2.

Prerequisites

You'll need an OpenAI API Key. and a supabase.com project and a render.com account.

Installation

Run npm ci

Development

Copy the .env.example to .env and fill in the values for your OpenAI API Key. Then variables related to supabase are already filled in with the values for the supabase project we use for development.

To start your local supabase project run supabase start Then run npm run dev

Deployment

We currently use render.com to deploy the docker image for the Next.js application. You can find the Dockerfile in the root of this repository. On your supabase project you to run the same migrations as on your local project.

supabase link --project-ref <PROJECT_ID>
supabase db push

Also you will need to prepare your database with the statements you can find in supabase/seed.sql

Contributors

Thanks goes to these wonderful people (emoji key):

Raphael.A
Raphael.A

💻 🤔
anna
anna

🎨 🤔
Julia Zet
Julia Zet

🎨 💻 🤔
Fabian Morón Zirfas
Fabian Morón Zirfas

🎨 💻 🤔 🚇
Jonas Jaszkowic
Jonas Jaszkowic

💻
Dennis Ostendorf
Dennis Ostendorf

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

Content Licensing

Texts and content available as CC BY.

Credits

Made by

A project by

Supported by