This project converts any image into AI-generated instrumental music using Google Cloud’s Vertex AI platform. Perfect for creators, photographers, and anyone who wants visuals to have their own soundtrack.
I can imagine a street photographer using this as a mobile app capturing images of objects while the app automatically generates background music for each shot. Later, when assembling the final album, the music is already perfectly aligned with the photos.
📸 → 🧠 Gemini analyzes the image (mood, tempo, dynamics, instruments)
📝 → 🎵 Lyria converts that description into a high-quality WAV soundtrack
- ⚡ Launch the app
- 📤 Upload an image and get a matching music description
- 🎧 Play the generated WAV file or download it
- 🔄 Generated items remain visible even after refresh
# Clone the repository
git clone https://github.com/Ashot72/Image-to-Music
# Navigate into the project directory
cd Image-to-Music
# Copy the example `.env` file and add your project ID
cp env.example .env
# Place your `service-account-key.json` file in the project root directory.
# Install dependencies
npm install
# Start the development server
npm start
# The app will be available at http://localhost:3000📺 Video: Watch on YouTube