Lyria AI is a premium, desktop-first web application designed for studio-quality AI music generation. Built with a focus on high-end aesthetics and real-time feedback, Lyria allows creators to transform text, images, and lyrics into immersive audio experiences using Google Cloud Vertex AI (Lyria 3).
- Multi-Modal Generation: Generate music from text prompts, visual inspiration (images), or structured lyrics.
- Studio Quality: High-fidelity 44.1kHz audio output with optimized generation for short clips and professional tracks.
- Dynamic Visualizer: Real-time audio visualization using the Web Audio API with a premium "glassmorphism" interface.
- Intelligent Quota System: Built-in rate limiting with a dedicated bypass for testing via mentor credentials.
- Desktop-First Experience: Optimized for professional studio workflows on desktop browsers.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Vanilla CSS (Premium Glassmorphism Design System)
- AI Backend: Google Cloud Vertex AI (Lyria 3 Preview)
- Auth: Google Auth Library (OAuth 2.0 with Service Account support)
- Node.js 18+
- Google Cloud CLI (
gcloud) - A Google Cloud Project with the Vertex AI API enabled.
-
Clone the repository:
git clone https://github.com/PrakharDoneria/LyriaApp.git cd LyriaApp -
Install dependencies:
npm install
-
Configure Environment: Create a
.envfile in the root directory:PROJECT_ID=your-google-cloud-project-id
-
Authenticate: Set up Application Default Credentials (ADC) for local development:
gcloud auth application-default login
-
Run the development server:
npm run dev
Open http://localhost:3000 to see the result.
Lyria AI is optimized for deployment on Google Cloud Run with minimum cost infrastructure.
gcloud run deploy music-maker-ai \
--source . \
--region us-central1 \
--allow-unauthenticated \
--min-instances 0 \
--max-instances 1 \
--memory 512Mi \
--cpu 1 \
--set-env-vars "PROJECT_ID=your-project-id"Created by Prakhar Doneria. Mentored by Harshvardhan Sir. Support the project on GitHub Sponsors or PayPal.