A web application that analyzes images and generates music playlists based on the mood and content of the image using Claude AI.
- Upload any image to analyze
- Get a custom playlist based on the mood and content of your image
- View embedded YouTube videos for each song
- Open songs directly in Spotify
- Node.js backend handles Claude API requests
- Node.js (v14+)
- Claude API key from Anthropic
-
Clone the repository:
git clone https://github.com/yourusername/image-to-playlist.git cd image-to-playlist -
Install dependencies:
npm install -
Start the server:
npm start -
Open your browser and navigate to:
http://localhost:3000
- Enter your Claude API key in the field provided
- Upload an image by clicking "Choose an image"
- Click "Generate Playlist"
- Wait for Claude to analyze your image and generate a playlist
- Enjoy your custom playlist with embedded YouTube videos and Spotify links
image-to-playlist/
├── public/ # Static assets
│ ├── css/ # Stylesheets
│ ├── js/ # Client-side JavaScript
│ └── images/ # Images and icons
├── views/ # EJS templates
│ └── index.ejs # Main page template
├── server.js # Express server and API endpoints
├── package.json # Project dependencies
└── README.md # Project documentation
MIT