{"id":28047909,"url":"https://github.com/chocomeow/sonify","last_synced_at":"2025-08-28T02:49:05.744Z","repository":{"id":291925700,"uuid":"930353725","full_name":"ChocoMeow/Sonify","owner":"ChocoMeow","description":"Sonify is an AI-powered music generator that allows users to create music by providing lyrics or selecting a style of music.","archived":false,"fork":false,"pushed_at":"2025-05-07T07:57:08.000Z","size":1050,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T21:55:48.628Z","etag":null,"topics":["chatgpt-api","flask","javascript","python","riffusion","sonify","stable-diffusion","suno-ai","vite","vue","yue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChocoMeow.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-10T13:57:26.000Z","updated_at":"2025-05-07T07:57:11.000Z","dependencies_parsed_at":"2025-05-11T21:55:47.379Z","dependency_job_id":null,"html_url":"https://github.com/ChocoMeow/Sonify","commit_stats":null,"previous_names":["chocomeow/sonify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChocoMeow/Sonify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FSonify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FSonify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FSonify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FSonify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChocoMeow","download_url":"https://codeload.github.com/ChocoMeow/Sonify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FSonify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272424906,"owners_count":24932895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt-api","flask","javascript","python","riffusion","sonify","stable-diffusion","suno-ai","vite","vue","yue"],"created_at":"2025-05-11T21:55:42.581Z","updated_at":"2025-08-28T02:49:05.727Z","avatar_url":"https://github.com/ChocoMeow.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sonify\n\n\u003cimg align=\"right\" src=\"https://github.com/user-attachments/assets/db05b4a7-a182-47f2-9a16-b762a1cc77bd\" width=130 alt=\"Lavalink logo\"\u003e\n\nSonify is an AI-powered music generator that allows users to create music by providing lyrics or selecting a style of music. The project leverages cutting-edge AI models for generating music, lyrics, and even custom thumbnails for each song. The system is inspired by projects like Suno and Riffusion.\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Screenshot](#screenshot)\n- [Tech Stack](#tech-stack)\n- [Architecture](#architecture)\n- [Features](#features)\n- [Setup and Installation](#setup-and-installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nSonify allows users to input lyrics or select a desired musical style, and in return, it generates a complete song. The system integrates several AI technologies:\n\n- **[YuE](https://github.com/multimodal-art-projection/YuE)** for generating the music\n- **[Ollama](https://ollama.com)** for generating lyrics\n- **[Stable Diffusion](https://github.com/CompVis/stable-diffusion)** for generating an eye-catching song thumbnail\n\nThis integration provides a seamless experience where musical creativity is just a few inputs away.\n\n## Screenshot\n\u003cimg width=\"1920\" alt=\"Thumbnail 3\" src=\"https://github.com/user-attachments/assets/c4a360c9-5059-413c-8905-77cae0377b56\" /\u003e\n\n## Tech Stack\n\n- **Frontend:** [Vite + Vue.js](https://github.com/multimodal-art-projection/YuE)\n- **Backend:** [Flask (Python)](https://flask.palletsprojects.com/en/stable/)\n\n## Architecture\n\nThe project is structured as a single repository with both frontend and backend components:\n\n- **Frontend:**  \n  The user interface built with Vue.js using Vite for fast development and optimized builds. It serves as the primary interaction platform where users can enter lyrics or pick a style.\n\n- **Backend:**  \n  A Python Flask API that handles the core functionalities:\n  - Music generation using the YuE model.\n  - Lyrics generation with ChatGPT.\n  - Thumbnail generation with Stable Diffusion.\n\nThe components communicate seamlessly to deliver a smooth end-to-end experience.\n\n## Features\n\n- **AI Music Generation:**  \n  Generate custom music tracks based on user inputs.\n\n- **Custom Lyrics Generation:**  \n  Use ChatGPT to create lyrics or complement user-provided lyrics.\n\n- **Thumbnail Generation:**  \n  Automatically generate attractive thumbnails for your song using Stable Diffusion.\n\n- **User Inputs:**  \n  Support for both lyric-based and style-based music generation.\n\n- **Modern UI:**  \n  A sleek and user-friendly interface built with Vue.js for a smooth interaction experience.\n\n## Setup and Installation\n\n### Prerequisites\n\n- **Node.js 22 or later** and **npm/yarn** (for the frontend)\n- **Python 3.8+** (for the backend)\n- Ensure you have the necessary libraries and environment setups for AI model integrations (check documentation from YuE, ChatGPT API, and Stable Diffusion).\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/ChocoMeow/sonify.git\ncd sonify\n```\n\n### Frontend Setup\n\n1. Navigate to the frontend directory.\n2. Install dependencies:\n\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n3. Run the development server:\n\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n### Backend Setup\n\n1. Navigate to the backend directory.\n2. Create a virtual environment and activate it (optional but recommended):\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows, use: venv\\Scripts\\activate\n   ```\n\n3. Install the required Python packages:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Rename `settings Example.json` to `settings.json` and customize your settings.\n\n5. Run the Flask application:\n\n   ```bash\n   flask run\n   ```\n\n## Usage\n\n1. Open your browser and navigate to [http://localhost:5173](http://localhost:5173) (or your configured port).\n2. Use the interface to either:\n   - Enter your lyrics\n   - Select a musical style\n3. Click the **Generate** button to create your music. Your song will be generated using the backend APIs integrating YuE, ChatGPT, and Stable Diffusion.\n4. Enjoy your custom AI-generated track and thumbnail!\n\n## Contributing\n\nContributions are welcome! If you have suggestions for improvements or features, feel free to submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocomeow%2Fsonify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocomeow%2Fsonify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocomeow%2Fsonify/lists"}