Skip to content

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.

License

Notifications You must be signed in to change notification settings

zhao-stanley/chroma-ai

Repository files navigation

image

Chroma AI - Generate gradients based on your mood using AI | Product Hunt

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.

Credits

About

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.

Topics

Resources

License

Stars

Watchers

Forks