Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kjysmu authored Nov 28, 2023
1 parent acbb057 commit 0370d0c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,36 @@ We propose a novel AI-powered multimodal music generation framework called Video

![](framework.png)

## Quickstart Guide

Generate music from video:

```python
import IPython
from video2music import Video2music

input_video = "test.mp4"

input_primer = "C Am F G"
input_key = "C major"

video2music = Video2music()
output_filename = video2music.generate(input_video, input_primer, input_key)

IPython.display.Video(output_filename)
```

## Installation

```bash
apt-get update
apt-get install ffmpeg
apt-get install fluidsynth
git clone https://github.com/AMAAI-Lab/Video2Music
cd Video2Music
pip install -r requirements.txt
```

## Directory Structure

* `saved_models/`: saved model files
Expand Down

0 comments on commit 0370d0c

Please sign in to comment.