chroma-ai
chroma-ai copied to clipboard
Write about your current mood, the lyrics of your favorite song, or even a random thought that popped into your head — AI will do the rest.
trafficstars

Getting Started
You will need a OPENAI_API_KEY in your .env file to run this locally.
You can then start a development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 to access the application.
How does it work?
This app uses OpenAI's gpt-3.5-turbo model and Vercel Edge functions with streaming. The model is instructed to analyze the sentiment of the provided text and identify the emotions present in the text. Using those emotions, the model generates a list of 4 colors commonly associated with those emotions to create a gradient.