🎶 song generator API using markov chains
- Clone repo
$ git clone https://github.com/moritzmitterdorfer/markov-song-generator-api.git
- Install NPM packages
$ npm install
- Start server
$ npm start
If you want to use custom lyrics, place a file (lyrics.txt
) in ./data
Sends html body back, which contains generated lyrics (with 2nd order ngram)
length - length of output (number of letters:2)
Sends html body back, which contains generated lyrics (full words)
length - number of words